From 61e195cc071ae3e8c979e7c5e176b5a6ca63c367 Mon Sep 17 00:00:00 2001 From: Connie Date: Wed, 6 Mar 2019 16:37:39 -0800 Subject: [PATCH] Normalising lines --- .../resource-manager/v2015_07_01/pom.xml | 266 +- .../v2018_09_01_preview/pom.xml | 266 +- .../v2017_08_01_preview/pom.xml | 266 +- .../v2017_10_01_preview/pom.xml | 266 +- .../v2017_12_01_preview/pom.xml | 266 +- .../v2018_02_01_preview/pom.xml | 266 +- .../resource-manager/v2018_04_01/pom.xml | 266 +- .../resource-manager/v2018_10_01/pom.xml | 266 +- .../v2016_06_27_preview/pom.xml | 266 +- .../resource-manager/v2017_03_01/pom.xml | 266 +- .../v2017_06_01_preview/pom.xml | 266 +- .../resource-manager/v2017_10_01/pom.xml | 266 +- .../v2018_02_01_preview/pom.xml | 266 +- .../resource-manager/v2018_09_01/pom.xml | 266 +- cosmosdb/resource-manager/v2015_04_08/pom.xml | 266 +- .../v2016_11_01/DataLakeAnalyticsTest.java | 96 +- .../resources/session-records/firstTest.json | 284 +- .../v2016_11_01/DataLakeStoreTest.java | 94 +- .../resources/session-records/firstTest.json | 284 +- .../v2017_11_15_preview/pom.xml | 266 +- .../v2018_03_31_preview/pom.xml | 266 +- .../v2018_07_15_preview/pom.xml | 266 +- .../v2018_06_01_preview/pom.xml | 266 +- eventgrid/data-plane/pom.xml | 230 +- .../resource-manager/v2018_01_01/pom.xml | 266 +- .../v2018_05_01_preview/pom.xml | 266 +- .../v2018_09_15_preview/pom.xml | 266 +- .../resource-manager/v2019_01_01/pom.xml | 266 +- .../v2015_03_01_preview/pom.xml | 266 +- .../v2018_06_01_preview/pom.xml | 326 +- .../scenariotests/ApplicationTests.java | 116 +- .../scenariotests/ClusterTests.java | 828 +- .../scenariotests/ConfigurationTests.java | 220 +- .../scenariotests/ExtensionTests.java | 94 +- .../HDInsightManagementTestBase.java | 360 +- .../scenariotests/LocationTests.java | 76 +- .../scenariotests/ScriptActionTests.java | 286 +- .../HDInsightTestResourceManager.java | 576 +- .../utilities/Utilities.java | 506 +- .../testCreateHumboldtCluster.json | 2658 +- ...reateHumboldtClusterWithCustomVMSizes.json | 2398 +- ...tCreateHumboldtClusterWithPremiumTier.json | 2814 +- ...tCreateKafkaClusterWithDiskEncryption.json | 4176 +-- ...LinuxSparkClusterWithComponentVersion.json | 2190 +- .../testCreateMLServicesCluster.json | 3542 +- .../testCreateRServerCluster.json | 3282 +- .../session-records/testCreateWithADLSv2.json | 2972 +- ...estCreateWithAdditionalStorageAccount.json | 2920 +- ...testCreateWithEmptyExtendedParameters.json | 408 +- .../testGetConfigurations.json | 2928 +- .../session-records/testGetUsages.json | 60 +- .../session-records/testHttpExtended.json | 3130 +- .../testHueOnRunningCluster.json | 4802 +-- .../testOmsOnRunningCluster.json | 4326 +-- .../session-records/testResizeCluster.json | 3546 +- .../session-records/testResourceBundle.json | 6 +- .../testScriptActionsOnRunningCluster.json | 3704 +-- .../v2017_07_01_privatepreview/pom.xml | 266 +- .../resource-manager/v2018_09_01/pom.xml | 266 +- .../azure/keyvault/cryptography/EcKey.java | 800 +- .../cryptography/algorithms/Ecdsa.java | 132 +- .../cryptography/algorithms/Es256.java | 36 +- .../cryptography/algorithms/Es256k.java | 36 +- .../cryptography/algorithms/Es384.java | 36 +- .../cryptography/algorithms/Es512.java | 36 +- .../keyvault/cryptography/test/ECKeyTest.java | 680 +- .../keyvault/cryptography/test/PemFile.java | 58 +- ...Key_KeyVaultKeyResolverBCProviderTest.json | 488 +- ...eyVaultKeyResolverDefaultProviderTest.json | 434 +- ...e64_KeyVaultKeyResolverBCProviderTest.json | 488 +- ...eyVaultKeyResolverDefaultProviderTest.json | 488 +- ...e64_KeyVaultKeyResolverBCProviderTest.json | 488 +- ...eyVaultKeyResolverDefaultProviderTest.json | 488 +- ...e64_KeyVaultKeyResolverBCProviderTest.json | 542 +- ...eyVaultKeyResolverDefaultProviderTest.json | 488 +- .../webkey/test/EcHsmValidationTests.java | 100 +- .../webkey/test/EcValidationTests.java | 236 +- keyvault/data-plane/azure-keyvault/pom.xml | 326 +- .../azure/keyvault/CertificateIdentifier.java | 92 +- .../CertificateOperationIdentifier.java | 134 +- .../azure/keyvault/IssuerIdentifier.java | 200 +- .../azure/keyvault/KeyIdentifier.java | 92 +- .../azure/keyvault/KeyVaultClient.java | 68 +- .../azure/keyvault/KeyVaultClientBase.java | 12240 +++---- .../azure/keyvault/KeyVaultClientCustom.java | 2992 +- .../azure/keyvault/KeyVaultClientImpl.java | 13634 ++++---- .../azure/keyvault/ObjectIdentifier.java | 440 +- .../azure/keyvault/SecretIdentifier.java | 92 +- .../authentication/AuthenticationResult.java | 86 +- .../authentication/ChallengeCache.java | 146 +- .../authentication/KeyVaultCredentials.java | 838 +- .../keyvault/authentication/package-info.java | 16 +- .../KeyVaultClientBaseImpl.java | 26618 ++++++++-------- .../KeyVaultClientCustomImpl.java | 3876 +-- .../keyvault/implementation/package-info.java | 16 +- .../messagesecurity/HttpMessageSecurity.java | 834 +- .../keyvault/messagesecurity/JWEHeader.java | 262 +- .../keyvault/messagesecurity/JWEObject.java | 356 +- .../keyvault/messagesecurity/JWSHeader.java | 336 +- .../keyvault/messagesecurity/JWSObject.java | 294 +- .../MessageSecurityHelper.java | 266 +- .../messagesecurity/package-info.java | 16 +- .../azure/keyvault/models/Action.java | 80 +- .../azure/keyvault/models/ActionType.java | 98 +- .../keyvault/models/AdministratorDetails.java | 234 +- .../azure/keyvault/models/Attributes.java | 286 +- .../models/BackupCertificateResult.java | 64 +- .../keyvault/models/BackupKeyResult.java | 64 +- .../keyvault/models/BackupSecretResult.java | 64 +- .../keyvault/models/BackupStorageResult.java | 64 +- .../models/CertificateAttributes.java | 66 +- .../keyvault/models/CertificateBundle.java | 398 +- .../models/CertificateCreateParameters.java | 184 +- .../models/CertificateImportParameters.java | 292 +- .../models/CertificateIssuerItem.java | 130 +- .../CertificateIssuerSetParameters.java | 234 +- .../CertificateIssuerUpdateParameters.java | 234 +- .../keyvault/models/CertificateItem.java | 252 +- .../models/CertificateMergeParameters.java | 186 +- .../keyvault/models/CertificateOperation.java | 474 +- .../CertificateOperationUpdateParameter.java | 78 +- .../keyvault/models/CertificatePolicy.java | 372 +- .../models/CertificateRestoreParameters.java | 94 +- .../models/CertificateUpdateParameters.java | 184 +- .../azure/keyvault/models/Contact.java | 182 +- .../azure/keyvault/models/Contacts.java | 110 +- .../models/DeletedCertificateBundle.java | 158 +- .../models/DeletedCertificateItem.java | 158 +- .../keyvault/models/DeletedKeyBundle.java | 158 +- .../azure/keyvault/models/DeletedKeyItem.java | 158 +- .../models/DeletedSasDefinitionBundle.java | 158 +- .../models/DeletedSasDefinitionItem.java | 158 +- .../keyvault/models/DeletedSecretBundle.java | 158 +- .../keyvault/models/DeletedSecretItem.java | 156 +- .../models/DeletedStorageAccountItem.java | 158 +- .../keyvault/models/DeletedStorageBundle.java | 158 +- .../models/DeletionRecoveryLevel.java | 122 +- .../azure/keyvault/models/Error.java | 116 +- .../keyvault/models/IssuerAttributes.java | 154 +- .../azure/keyvault/models/IssuerBundle.java | 264 +- .../keyvault/models/IssuerCredentials.java | 130 +- .../keyvault/models/IssuerParameters.java | 186 +- .../keyvault/models/JsonWebKeyCurveName.java | 122 +- .../azure/keyvault/models/KeyAttributes.java | 66 +- .../azure/keyvault/models/KeyBundle.java | 218 +- .../keyvault/models/KeyCreateParameters.java | 350 +- .../keyvault/models/KeyImportParameters.java | 238 +- .../azure/keyvault/models/KeyItem.java | 216 +- .../keyvault/models/KeyOperationResult.java | 94 +- .../models/KeyOperationsParameters.java | 150 +- .../azure/keyvault/models/KeyProperties.java | 292 +- .../keyvault/models/KeyRestoreParameters.java | 94 +- .../keyvault/models/KeySignParameters.java | 154 +- .../keyvault/models/KeyUpdateParameters.java | 188 +- .../azure/keyvault/models/KeyUsageType.java | 152 +- .../azure/keyvault/models/KeyVaultError.java | 56 +- .../models/KeyVaultErrorException.java | 80 +- .../keyvault/models/KeyVerifyParameters.java | 220 +- .../keyvault/models/KeyVerifyResult.java | 56 +- .../azure/keyvault/models/LifetimeAction.java | 132 +- .../keyvault/models/OrganizationDetails.java | 132 +- .../azure/keyvault/models/PageImpl.java | 142 +- ...endingCertificateSigningRequestResult.java | 56 +- .../models/SasDefinitionAttributes.java | 196 +- .../keyvault/models/SasDefinitionBundle.java | 248 +- .../models/SasDefinitionCreateParameters.java | 296 +- .../keyvault/models/SasDefinitionItem.java | 148 +- .../models/SasDefinitionUpdateParameters.java | 296 +- .../azure/keyvault/models/SasTokenType.java | 110 +- .../keyvault/models/SecretAttributes.java | 66 +- .../azure/keyvault/models/SecretBundle.java | 352 +- .../azure/keyvault/models/SecretItem.java | 268 +- .../keyvault/models/SecretProperties.java | 78 +- .../models/SecretRestoreParameters.java | 94 +- .../keyvault/models/SecretSetParameters.java | 236 +- .../models/SecretUpdateParameters.java | 184 +- .../models/StorageAccountAttributes.java | 194 +- .../StorageAccountCreateParameters.java | 340 +- .../keyvault/models/StorageAccountItem.java | 148 +- .../StorageAccountRegenerteKeyParameters.java | 78 +- .../StorageAccountUpdateParameters.java | 288 +- .../azure/keyvault/models/StorageBundle.java | 240 +- .../models/StorageRestoreParameters.java | 94 +- .../models/SubjectAlternativeNames.java | 184 +- .../azure/keyvault/models/Trigger.java | 136 +- .../models/X509CertificateProperties.java | 288 +- .../keyvault/models/custom/package-info.java | 16 +- .../azure/keyvault/models/package-info.java | 18 +- .../azure/keyvault/package-info.java | 18 +- .../requests/CreateCertificateRequest.java | 400 +- .../keyvault/requests/CreateKeyRequest.java | 456 +- .../requests/ImportCertificateRequest.java | 472 +- .../keyvault/requests/ImportKeyRequest.java | 366 +- .../requests/MergeCertificateRequest.java | 292 +- .../requests/SetCertificateIssuerRequest.java | 336 +- .../keyvault/requests/SetSecretRequest.java | 334 +- .../UpdateCertificateIssuerRequest.java | 354 +- .../UpdateCertificateOperationRequest.java | 156 +- .../UpdateCertificatePolicyRequest.java | 272 +- .../requests/UpdateCertificateRequest.java | 444 +- .../keyvault/requests/UpdateKeyRequest.java | 400 +- .../requests/UpdateSecretRequest.java | 378 +- .../azure/keyvault/requests/package-info.java | 16 +- .../keyvault/test/EnhancedKeyVaultTest.java | 230 +- .../resources/MockUserTokenCredentials.java | 122 +- .../backupRestoreForKeyOperationsTest.json | 488 +- ...ertificateAsyncForAsyncOperationsTest.json | 976 +- ...cellationForCertificateOperationsTest.json | 544 +- ...teContactsAsyncForAsyncOperationsTest.json | 222 +- ...ateUpdateForCertificateOperationsTest.json | 542 +- ...perationsForCertificateOperationsTest.json | 276 +- ...ficatePemForCertificateOperationsTest.json | 814 +- ...atePkcs12ForCertificateOperationsTest.json | 760 +- ...createCsrForCertificateOperationsTest.json | 490 +- ...ficatePemForCertificateOperationsTest.json | 706 +- ...atePkcs12ForCertificateOperationsTest.json | 760 +- .../crudOperationsForKeyOperationsTest.json | 812 +- ...crudOperationsForSecretOperationsTest.json | 812 +- ...ExtraFieldTestForSecretOperationsTest.json | 6 +- ...abledSecretGetForSecretOperationsTest.json | 272 +- ...DecryptOperationsForKeyOperationsTest.json | 330 +- ...atePkcs12ForCertificateOperationsTest.json | 488 +- ...mportKeyOperationForKeyOperationsTest.json | 384 +- .../issuerAsyncForAsyncOperationsTest.json | 330 +- ...perationsForCertificateOperationsTest.json | 330 +- .../keyAsyncForAsyncOperationsTest.json | 1672 +- ...eVersionsForCertificateOperationsTest.json | 704 +- ...tificatesForCertificateOperationsTest.json | 1502 +- .../listKeyVersionsForKeyOperationsTest.json | 650 +- .../listKeysForKeyOperationsTest.json | 2416 +- ...SecretVersionsForSecretOperationsTest.json | 704 +- .../listSecretsForSecretOperationsTest.json | 2308 +- .../secretAsyncForAsyncOperationsTest.json | 1136 +- ...nVerifyOperationsForKeyOperationsTest.json | 330 +- ...OperationsForManagedStorageAccountKey.json | 880 +- ...DefinitionForManagedStorageAccountKey.json | 772 +- ...entAuthenticationForKeyOperationsTest.json | 222 +- ...AuthenticationForSecretOperationsTest.json | 222 +- ...pUnwrapOperationsForKeyOperationsTest.json | 330 +- .../v2018_09_07_preview/pom.xml | 266 +- .../resource-manager/v2018_10_15/pom.xml | 266 +- logic/resource-manager/v2016_06_01/pom.xml | 266 +- .../resource-manager/v2015_10_01/pom.xml | 266 +- network/resource-manager/v2017_10_01/pom.xml | 266 +- .../resource-manager/v2018_09_01/pom.xml | 266 +- sql/resource-manager/v2014_04_01/pom.xml | 266 +- .../v2017_10_01_preview/pom.xml | 266 +- storage/resource-manager/v2016_01_01/pom.xml | 266 +- storage/resource-manager/v2017_10_01/pom.xml | 266 +- storage/resource-manager/v2018_02_01/pom.xml | 266 +- .../v2018_03_01_preview/pom.xml | 266 +- storage/resource-manager/v2018_07_01/pom.xml | 266 +- 252 files changed, 89475 insertions(+), 89475 deletions(-) diff --git a/authorization/resource-manager/v2015_07_01/pom.xml b/authorization/resource-manager/v2015_07_01/pom.xml index bf4dc15a1915a..58d6998247384 100644 --- a/authorization/resource-manager/v2015_07_01/pom.xml +++ b/authorization/resource-manager/v2015_07_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.authorization.v2015_07_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-authorization - 1.0.0-beta - jar - Microsoft Azure SDK for Authorization Management - This package contains Microsoft Authorization Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.authorization.v2015_07_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-authorization + 1.0.0-beta + jar + Microsoft Azure SDK for Authorization Management + This package contains Microsoft Authorization Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/authorization/resource-manager/v2018_09_01_preview/pom.xml b/authorization/resource-manager/v2018_09_01_preview/pom.xml index 1e423e7fd8144..5eaac785ccca4 100644 --- a/authorization/resource-manager/v2018_09_01_preview/pom.xml +++ b/authorization/resource-manager/v2018_09_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.authorization.v2018_09_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-authorization - 1.0.0-beta - jar - Microsoft Azure SDK for Authorization Management - This package contains Microsoft Authorization Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.authorization.v2018_09_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-authorization + 1.0.0-beta + jar + Microsoft Azure SDK for Authorization Management + This package contains Microsoft Authorization Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerinstance/resource-manager/v2017_08_01_preview/pom.xml b/containerinstance/resource-manager/v2017_08_01_preview/pom.xml index 7294171fa4c29..a2d91180e3714 100644 --- a/containerinstance/resource-manager/v2017_08_01_preview/pom.xml +++ b/containerinstance/resource-manager/v2017_08_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerinstance.v2017_08_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerinstance - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerInstance Management - This package contains Microsoft ContainerInstance Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerinstance.v2017_08_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerinstance + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerInstance Management + This package contains Microsoft ContainerInstance Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerinstance/resource-manager/v2017_10_01_preview/pom.xml b/containerinstance/resource-manager/v2017_10_01_preview/pom.xml index 9a27a7181a70a..deacf8598e95b 100644 --- a/containerinstance/resource-manager/v2017_10_01_preview/pom.xml +++ b/containerinstance/resource-manager/v2017_10_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerinstance.v2017_10_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerinstance - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerInstance Management - This package contains Microsoft ContainerInstance Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerinstance.v2017_10_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerinstance + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerInstance Management + This package contains Microsoft ContainerInstance Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerinstance/resource-manager/v2017_12_01_preview/pom.xml b/containerinstance/resource-manager/v2017_12_01_preview/pom.xml index 0968f5d022cad..39962712976d2 100644 --- a/containerinstance/resource-manager/v2017_12_01_preview/pom.xml +++ b/containerinstance/resource-manager/v2017_12_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerinstance.v2017_12_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerinstance - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerInstance Management - This package contains Microsoft ContainerInstance Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerinstance.v2017_12_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerinstance + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerInstance Management + This package contains Microsoft ContainerInstance Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerinstance/resource-manager/v2018_02_01_preview/pom.xml b/containerinstance/resource-manager/v2018_02_01_preview/pom.xml index a6ee80dd183cd..72e4964aab3e3 100644 --- a/containerinstance/resource-manager/v2018_02_01_preview/pom.xml +++ b/containerinstance/resource-manager/v2018_02_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerinstance.v2018_02_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerinstance - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerInstance Management - This package contains Microsoft ContainerInstance Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerinstance.v2018_02_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerinstance + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerInstance Management + This package contains Microsoft ContainerInstance Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerinstance/resource-manager/v2018_04_01/pom.xml b/containerinstance/resource-manager/v2018_04_01/pom.xml index 6b9101a48fef2..da673df7e39cb 100644 --- a/containerinstance/resource-manager/v2018_04_01/pom.xml +++ b/containerinstance/resource-manager/v2018_04_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerinstance.v2018_04_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerinstance - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerInstance Management - This package contains Microsoft ContainerInstance Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerinstance.v2018_04_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerinstance + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerInstance Management + This package contains Microsoft ContainerInstance Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerinstance/resource-manager/v2018_10_01/pom.xml b/containerinstance/resource-manager/v2018_10_01/pom.xml index 8cddca03e9a9e..89e425dff041f 100644 --- a/containerinstance/resource-manager/v2018_10_01/pom.xml +++ b/containerinstance/resource-manager/v2018_10_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerinstance.v2018_10_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerinstance - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerInstance Management - This package contains Microsoft ContainerInstance Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerinstance.v2018_10_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerinstance + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerInstance Management + This package contains Microsoft ContainerInstance Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerregistry/resource-manager/v2016_06_27_preview/pom.xml b/containerregistry/resource-manager/v2016_06_27_preview/pom.xml index 5fd9e139284ee..9bac60d539a13 100644 --- a/containerregistry/resource-manager/v2016_06_27_preview/pom.xml +++ b/containerregistry/resource-manager/v2016_06_27_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerregistry.v2016_06_27_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerregistry - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerRegistry Management - This package contains Microsoft ContainerRegistry Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerregistry.v2016_06_27_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerregistry + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerRegistry Management + This package contains Microsoft ContainerRegistry Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerregistry/resource-manager/v2017_03_01/pom.xml b/containerregistry/resource-manager/v2017_03_01/pom.xml index 3722f05ddd0d4..145e98d12fad7 100644 --- a/containerregistry/resource-manager/v2017_03_01/pom.xml +++ b/containerregistry/resource-manager/v2017_03_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerregistry.v2017_03_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerregistry - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerRegistry Management - This package contains Microsoft ContainerRegistry Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerregistry.v2017_03_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerregistry + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerRegistry Management + This package contains Microsoft ContainerRegistry Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerregistry/resource-manager/v2017_06_01_preview/pom.xml b/containerregistry/resource-manager/v2017_06_01_preview/pom.xml index 9f353dda1ed75..ef6c8503d59c5 100644 --- a/containerregistry/resource-manager/v2017_06_01_preview/pom.xml +++ b/containerregistry/resource-manager/v2017_06_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerregistry.v2017_06_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerregistry - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerRegistry Management - This package contains Microsoft ContainerRegistry Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerregistry.v2017_06_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerregistry + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerRegistry Management + This package contains Microsoft ContainerRegistry Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerregistry/resource-manager/v2017_10_01/pom.xml b/containerregistry/resource-manager/v2017_10_01/pom.xml index 34cfec7f18732..aedc4db92ffb9 100644 --- a/containerregistry/resource-manager/v2017_10_01/pom.xml +++ b/containerregistry/resource-manager/v2017_10_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerregistry.v2017_10_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerregistry - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerRegistry Management - This package contains Microsoft ContainerRegistry Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerregistry.v2017_10_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerregistry + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerRegistry Management + This package contains Microsoft ContainerRegistry Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerregistry/resource-manager/v2018_02_01_preview/pom.xml b/containerregistry/resource-manager/v2018_02_01_preview/pom.xml index 07228eb7a1da8..7bc1414a6da8d 100644 --- a/containerregistry/resource-manager/v2018_02_01_preview/pom.xml +++ b/containerregistry/resource-manager/v2018_02_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerregistry.v2018_02_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerregistry - 1.0.0-beta - jar - Microsoft Azure SDK for ContainerRegistry Management - This package contains Microsoft ContainerRegistry Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerregistry.v2018_02_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerregistry + 1.0.0-beta + jar + Microsoft Azure SDK for ContainerRegistry Management + This package contains Microsoft ContainerRegistry Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/containerregistry/resource-manager/v2018_09_01/pom.xml b/containerregistry/resource-manager/v2018_09_01/pom.xml index f2a94d3d68d7d..f931be0453199 100644 --- a/containerregistry/resource-manager/v2018_09_01/pom.xml +++ b/containerregistry/resource-manager/v2018_09_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.containerregistry.v2018_09_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-containerregistry - 1.0.0-beta-1 - jar - Microsoft Azure SDK for ContainerRegistry Management - This package contains Microsoft ContainerRegistry Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.containerregistry.v2018_09_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-containerregistry + 1.0.0-beta-1 + jar + Microsoft Azure SDK for ContainerRegistry Management + This package contains Microsoft ContainerRegistry Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/cosmosdb/resource-manager/v2015_04_08/pom.xml b/cosmosdb/resource-manager/v2015_04_08/pom.xml index a21b7076daa25..c1f9a07fd2223 100644 --- a/cosmosdb/resource-manager/v2015_04_08/pom.xml +++ b/cosmosdb/resource-manager/v2015_04_08/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.cosmosdb.v2015_04_08 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-documentdb - 1.0.0-beta - jar - Microsoft Azure SDK for DocumentDB Management - This package contains Microsoft DocumentDB Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.cosmosdb.v2015_04_08 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-documentdb + 1.0.0-beta + jar + Microsoft Azure SDK for DocumentDB Management + This package contains Microsoft DocumentDB Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/datalakeanalytics/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakeanalytics/v2016_11_01/DataLakeAnalyticsTest.java b/datalakeanalytics/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakeanalytics/v2016_11_01/DataLakeAnalyticsTest.java index 2a4c8c76531eb..62ea8cba76e79 100644 --- a/datalakeanalytics/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakeanalytics/v2016_11_01/DataLakeAnalyticsTest.java +++ b/datalakeanalytics/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakeanalytics/v2016_11_01/DataLakeAnalyticsTest.java @@ -1,48 +1,48 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - */ - -package com.microsoft.azure.management.datalakeanalytics.v2016_11_01; -import com.microsoft.azure.arm.core.TestBase; -import com.microsoft.azure.management.datalakeanalytics.v2016_11_01.implementation.DataLakeAnalyticsManager; -import com.microsoft.azure.management.resources.implementation.ResourceManager; -import com.microsoft.rest.RestClient; -import com.microsoft.azure.arm.utils.SdkContext; -import org.junit.Test; -import org.junit.Assert; -import com.microsoft.azure.arm.resources.Region; -import com.microsoft.azure.management.resources.ResourceGroup; - -public class DataLakeAnalyticsTest extends TestBase { - protected static ResourceManager resourceManager; - protected static DataLakeAnalyticsManager dataLakeAnalyticsManager; - private static String rgName; - - @Override - protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { - resourceManager = ResourceManager - .authenticate(restClient) - .withSubscription(defaultSubscription); - dataLakeAnalyticsManager = DataLakeAnalyticsManager - .authenticate(restClient, defaultSubscription); - } - - @Override - protected void cleanUpResources() { - resourceManager.resourceGroups().deleteByName(rgName); - } - - @Test - public void firstTest() { - rgName = SdkContext.randomResourceName("rg", 20); - ResourceGroup group = resourceManager.resourceGroups() - .define(rgName) - .withRegion(Region.US_WEST.toString()) - .create(); - Assert.assertNotNull(group); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalakeanalytics.v2016_11_01; +import com.microsoft.azure.arm.core.TestBase; +import com.microsoft.azure.management.datalakeanalytics.v2016_11_01.implementation.DataLakeAnalyticsManager; +import com.microsoft.azure.management.resources.implementation.ResourceManager; +import com.microsoft.rest.RestClient; +import com.microsoft.azure.arm.utils.SdkContext; +import org.junit.Test; +import org.junit.Assert; +import com.microsoft.azure.arm.resources.Region; +import com.microsoft.azure.management.resources.ResourceGroup; + +public class DataLakeAnalyticsTest extends TestBase { + protected static ResourceManager resourceManager; + protected static DataLakeAnalyticsManager dataLakeAnalyticsManager; + private static String rgName; + + @Override + protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { + resourceManager = ResourceManager + .authenticate(restClient) + .withSubscription(defaultSubscription); + dataLakeAnalyticsManager = DataLakeAnalyticsManager + .authenticate(restClient, defaultSubscription); + } + + @Override + protected void cleanUpResources() { + resourceManager.resourceGroups().deleteByName(rgName); + } + + @Test + public void firstTest() { + rgName = SdkContext.randomResourceName("rg", 20); + ResourceGroup group = resourceManager.resourceGroups() + .define(rgName) + .withRegion(Region.US_WEST.toString()) + .create(); + Assert.assertNotNull(group); + } +} diff --git a/datalakeanalytics/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json b/datalakeanalytics/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json index 2619b603ef876..285bd8229cc79 100644 --- a/datalakeanalytics/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json +++ b/datalakeanalytics/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json @@ -1,143 +1,143 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg64f0485289a8e?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:52:26 GMT", - "content-length" : "183", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "64bfe462-c74c-47db-b974-bd49f14124a5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T015227Z:64bfe462-c74c-47db-b974-bd49f14124a5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "64bfe462-c74c-47db-b974-bd49f14124a5", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg64f0485289a8e\",\"name\":\"rg64f0485289a8e\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg64f0485289a8e?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:52:27 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9be3ece7-940a-416c-a0ed-3aaf14c0298d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T015227Z:9be3ece7-940a-416c-a0ed-3aaf14c0298d", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "9be3ece7-940a-416c-a0ed-3aaf14c0298d", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:52:27 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "288ccc06-f3a8-4ccc-9ead-96c8b1240790", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T015227Z:288ccc06-f3a8-4ccc-9ead-96c8b1240790", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "288ccc06-f3a8-4ccc-9ead-96c8b1240790", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:52:41 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1904983b-cbef-4010-8bef-ec13e93070ac", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T015242Z:1904983b-cbef-4010-8bef-ec13e93070ac", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "1904983b-cbef-4010-8bef-ec13e93070ac", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:52:57 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "068a6fa8-b16c-4aba-8e8d-f68fdccbd174", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T015257Z:068a6fa8-b16c-4aba-8e8d-f68fdccbd174", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "068a6fa8-b16c-4aba-8e8d-f68fdccbd174", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:53:12 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "59df9fef-858e-4b7e-a4e7-f6d7a4706bf2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T015312Z:59df9fef-858e-4b7e-a4e7-f6d7a4706bf2", - "cache-control" : "no-cache", - "x-ms-request-id" : "59df9fef-858e-4b7e-a4e7-f6d7a4706bf2", - "Body" : "" - } - } ], - "variables" : [ "rg64f0485289a8e" ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg64f0485289a8e?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:52:26 GMT", + "content-length" : "183", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "64bfe462-c74c-47db-b974-bd49f14124a5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T015227Z:64bfe462-c74c-47db-b974-bd49f14124a5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "64bfe462-c74c-47db-b974-bd49f14124a5", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg64f0485289a8e\",\"name\":\"rg64f0485289a8e\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg64f0485289a8e?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:52:27 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9be3ece7-940a-416c-a0ed-3aaf14c0298d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T015227Z:9be3ece7-940a-416c-a0ed-3aaf14c0298d", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "9be3ece7-940a-416c-a0ed-3aaf14c0298d", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:52:27 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "288ccc06-f3a8-4ccc-9ead-96c8b1240790", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T015227Z:288ccc06-f3a8-4ccc-9ead-96c8b1240790", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "288ccc06-f3a8-4ccc-9ead-96c8b1240790", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:52:41 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1904983b-cbef-4010-8bef-ec13e93070ac", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T015242Z:1904983b-cbef-4010-8bef-ec13e93070ac", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "1904983b-cbef-4010-8bef-ec13e93070ac", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:52:57 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "068a6fa8-b16c-4aba-8e8d-f68fdccbd174", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T015257Z:068a6fa8-b16c-4aba-8e8d-f68fdccbd174", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "068a6fa8-b16c-4aba-8e8d-f68fdccbd174", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY0RjA0ODUyODlBOEUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:53:12 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "59df9fef-858e-4b7e-a4e7-f6d7a4706bf2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T015312Z:59df9fef-858e-4b7e-a4e7-f6d7a4706bf2", + "cache-control" : "no-cache", + "x-ms-request-id" : "59df9fef-858e-4b7e-a4e7-f6d7a4706bf2", + "Body" : "" + } + } ], + "variables" : [ "rg64f0485289a8e" ] } \ No newline at end of file diff --git a/datalakestore/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakestore/v2016_11_01/DataLakeStoreTest.java b/datalakestore/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakestore/v2016_11_01/DataLakeStoreTest.java index bf2ca5adc265b..29016081c3138 100644 --- a/datalakestore/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakestore/v2016_11_01/DataLakeStoreTest.java +++ b/datalakestore/resource-manager/v2016_11_01/src/test/java/com/microsoft/azure/management/datalakestore/v2016_11_01/DataLakeStoreTest.java @@ -1,48 +1,48 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - */ - -package com.microsoft.azure.management.datalakestore.v2016_11_01; -import com.microsoft.azure.arm.core.TestBase; -import com.microsoft.azure.management.datalakestore.v2016_11_01.implementation.DataLakeStoreManager; -import com.microsoft.azure.management.resources.implementation.ResourceManager; -import com.microsoft.rest.RestClient; -import com.microsoft.azure.arm.utils.SdkContext; -import org.junit.Test; -import org.junit.Assert; -import com.microsoft.azure.arm.resources.Region; -import com.microsoft.azure.management.resources.ResourceGroup; - -public class DataLakeStoreTest extends TestBase { - protected static ResourceManager resourceManager; - protected static DataLakeStoreManager dataLakeStoreManager; - private static String rgName; - - @Override - protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { - resourceManager = ResourceManager - .authenticate(restClient) - .withSubscription(defaultSubscription); - dataLakeStoreManager = DataLakeStoreManager - .authenticate(restClient, defaultSubscription); - } - - @Override - protected void cleanUpResources() { - resourceManager.resourceGroups().deleteByName(rgName); - } - - @Test - public void firstTest() { - rgName = SdkContext.randomResourceName("rg", 20); - ResourceGroup group = resourceManager.resourceGroups() - .define(rgName) - .withRegion(Region.US_WEST.toString()) - .create(); - Assert.assertNotNull(group); - } +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datalakestore.v2016_11_01; +import com.microsoft.azure.arm.core.TestBase; +import com.microsoft.azure.management.datalakestore.v2016_11_01.implementation.DataLakeStoreManager; +import com.microsoft.azure.management.resources.implementation.ResourceManager; +import com.microsoft.rest.RestClient; +import com.microsoft.azure.arm.utils.SdkContext; +import org.junit.Test; +import org.junit.Assert; +import com.microsoft.azure.arm.resources.Region; +import com.microsoft.azure.management.resources.ResourceGroup; + +public class DataLakeStoreTest extends TestBase { + protected static ResourceManager resourceManager; + protected static DataLakeStoreManager dataLakeStoreManager; + private static String rgName; + + @Override + protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { + resourceManager = ResourceManager + .authenticate(restClient) + .withSubscription(defaultSubscription); + dataLakeStoreManager = DataLakeStoreManager + .authenticate(restClient, defaultSubscription); + } + + @Override + protected void cleanUpResources() { + resourceManager.resourceGroups().deleteByName(rgName); + } + + @Test + public void firstTest() { + rgName = SdkContext.randomResourceName("rg", 20); + ResourceGroup group = resourceManager.resourceGroups() + .define(rgName) + .withRegion(Region.US_WEST.toString()) + .create(); + Assert.assertNotNull(group); + } } \ No newline at end of file diff --git a/datalakestore/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json b/datalakestore/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json index 3eab1a73031da..cc5c229301070 100644 --- a/datalakestore/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json +++ b/datalakestore/resource-manager/v2016_11_01/src/test/resources/session-records/firstTest.json @@ -1,143 +1,143 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg65727771013f9?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:33:04 GMT", - "content-length" : "183", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f66d2091-7999-40b2-a491-07d1646a5c5b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T013304Z:f66d2091-7999-40b2-a491-07d1646a5c5b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f66d2091-7999-40b2-a491-07d1646a5c5b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg65727771013f9\",\"name\":\"rg65727771013f9\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg65727771013f9?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:33:04 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8232eb72-03e5-4eed-9283-8c1ef8794072", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T013304Z:8232eb72-03e5-4eed-9283-8c1ef8794072", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "8232eb72-03e5-4eed-9283-8c1ef8794072", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:33:04 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "00636dbb-fc8b-474d-a730-3ff7d91a238f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T013304Z:00636dbb-fc8b-474d-a730-3ff7d91a238f", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "00636dbb-fc8b-474d-a730-3ff7d91a238f", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:33:19 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b6abd9cd-6fe3-4535-b843-4b31a7d6a345", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T013319Z:b6abd9cd-6fe3-4535-b843-4b31a7d6a345", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "b6abd9cd-6fe3-4535-b843-4b31a7d6a345", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:33:34 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "228046c9-d151-48d9-a9b1-dfc3a640f4d9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T013334Z:228046c9-d151-48d9-a9b1-dfc3a640f4d9", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "228046c9-d151-48d9-a9b1-dfc3a640f4d9", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" - }, - "Response" : { - "date" : "Wed, 10 Oct 2018 01:33:49 GMT", - "content-length" : "0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "15bf35db-7969-49c9-89aa-6a4274c0e166", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20181010T013349Z:15bf35db-7969-49c9-89aa-6a4274c0e166", - "cache-control" : "no-cache", - "x-ms-request-id" : "15bf35db-7969-49c9-89aa-6a4274c0e166", - "Body" : "" - } - } ], - "variables" : [ "rg65727771013f9" ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg65727771013f9?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:33:04 GMT", + "content-length" : "183", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f66d2091-7999-40b2-a491-07d1646a5c5b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T013304Z:f66d2091-7999-40b2-a491-07d1646a5c5b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f66d2091-7999-40b2-a491-07d1646a5c5b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg65727771013f9\",\"name\":\"rg65727771013f9\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg65727771013f9?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:33:04 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8232eb72-03e5-4eed-9283-8c1ef8794072", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T013304Z:8232eb72-03e5-4eed-9283-8c1ef8794072", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "8232eb72-03e5-4eed-9283-8c1ef8794072", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:33:04 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "00636dbb-fc8b-474d-a730-3ff7d91a238f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T013304Z:00636dbb-fc8b-474d-a730-3ff7d91a238f", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "00636dbb-fc8b-474d-a730-3ff7d91a238f", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:33:19 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b6abd9cd-6fe3-4535-b843-4b31a7d6a345", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T013319Z:b6abd9cd-6fe3-4535-b843-4b31a7d6a345", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "b6abd9cd-6fe3-4535-b843-4b31a7d6a345", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:33:34 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "228046c9-d151-48d9-a9b1-dfc3a640f4d9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T013334Z:228046c9-d151-48d9-a9b1-dfc3a640f4d9", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "228046c9-d151-48d9-a9b1-dfc3a640f4d9", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SRzY1NzI3NzcxMDEzRjktV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:0371b9e37b1296dd4f18ab8d1d04ef835872ef528a05f8ea79f7b735a5603490 Java:1.8.0_181 (ResourceManagementClient, 2017-05-10)" + }, + "Response" : { + "date" : "Wed, 10 Oct 2018 01:33:49 GMT", + "content-length" : "0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "15bf35db-7969-49c9-89aa-6a4274c0e166", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20181010T013349Z:15bf35db-7969-49c9-89aa-6a4274c0e166", + "cache-control" : "no-cache", + "x-ms-request-id" : "15bf35db-7969-49c9-89aa-6a4274c0e166", + "Body" : "" + } + } ], + "variables" : [ "rg65727771013f9" ] } \ No newline at end of file diff --git a/datamigration/resource-manager/v2017_11_15_preview/pom.xml b/datamigration/resource-manager/v2017_11_15_preview/pom.xml index 5e1bea87c3ebf..f9d6e3508d824 100644 --- a/datamigration/resource-manager/v2017_11_15_preview/pom.xml +++ b/datamigration/resource-manager/v2017_11_15_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.datamigration.v2017_11_15_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-datamigration - 1.0.0-beta - jar - Microsoft Azure SDK for DataMigration Management - This package contains Microsoft DataMigration Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.datamigration.v2017_11_15_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-datamigration + 1.0.0-beta + jar + Microsoft Azure SDK for DataMigration Management + This package contains Microsoft DataMigration Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/datamigration/resource-manager/v2018_03_31_preview/pom.xml b/datamigration/resource-manager/v2018_03_31_preview/pom.xml index 7c9e6d79a2afa..f3d0ea875c7ec 100644 --- a/datamigration/resource-manager/v2018_03_31_preview/pom.xml +++ b/datamigration/resource-manager/v2018_03_31_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.datamigration.v2018_03_31_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-datamigration - 1.0.0-beta - jar - Microsoft Azure SDK for DataMigration Management - This package contains Microsoft DataMigration Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.datamigration.v2018_03_31_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-datamigration + 1.0.0-beta + jar + Microsoft Azure SDK for DataMigration Management + This package contains Microsoft DataMigration Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/datamigration/resource-manager/v2018_07_15_preview/pom.xml b/datamigration/resource-manager/v2018_07_15_preview/pom.xml index d91f7c8b8cc75..9673ac01fa2e4 100644 --- a/datamigration/resource-manager/v2018_07_15_preview/pom.xml +++ b/datamigration/resource-manager/v2018_07_15_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.datamigration.v2018_07_15_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-datamigration - 1.0.0-beta - jar - Microsoft Azure SDK for DataMigration Management - This package contains Microsoft DataMigration Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.datamigration.v2018_07_15_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-datamigration + 1.0.0-beta + jar + Microsoft Azure SDK for DataMigration Management + This package contains Microsoft DataMigration Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/devspaces/resource-manager/v2018_06_01_preview/pom.xml b/devspaces/resource-manager/v2018_06_01_preview/pom.xml index a02feee56afb5..e4c4b6b18c3b1 100644 --- a/devspaces/resource-manager/v2018_06_01_preview/pom.xml +++ b/devspaces/resource-manager/v2018_06_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.devspaces.v2018_06_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-devspaces - 1.0.0-beta - jar - Microsoft Azure SDK for DevSpaces Management - This package contains Microsoft DevSpaces Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.devspaces.v2018_06_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-devspaces + 1.0.0-beta + jar + Microsoft Azure SDK for DevSpaces Management + This package contains Microsoft DevSpaces Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/eventgrid/data-plane/pom.xml b/eventgrid/data-plane/pom.xml index fc657624260fc..60379d07aa620 100755 --- a/eventgrid/data-plane/pom.xml +++ b/eventgrid/data-plane/pom.xml @@ -1,115 +1,115 @@ - - - 4.0.0 - com.microsoft.azure - azure-eventgrid - 1.2.1 - jar - Microsoft Azure SDK for eventgrid - This package contains Microsoft Azure EventGrid SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - 1.5.0 - - - junit - junit - 4.12 - test - - - com.microsoft.azure - azure-client-authentication - 1.5.0 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure + azure-eventgrid + 1.2.1 + jar + Microsoft Azure SDK for eventgrid + This package contains Microsoft Azure EventGrid SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + 1.5.0 + + + junit + junit + 4.12 + test + + + com.microsoft.azure + azure-client-authentication + 1.5.0 + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/eventgrid/resource-manager/v2018_01_01/pom.xml b/eventgrid/resource-manager/v2018_01_01/pom.xml index ddadf52274dd5..68fbf173491bb 100644 --- a/eventgrid/resource-manager/v2018_01_01/pom.xml +++ b/eventgrid/resource-manager/v2018_01_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.eventgrid.v2018_01_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-eventgrid - 1.0.0-beta - jar - Microsoft Azure SDK for EventGrid Management - This package contains Microsoft EventGrid Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.eventgrid.v2018_01_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-eventgrid + 1.0.0-beta + jar + Microsoft Azure SDK for EventGrid Management + This package contains Microsoft EventGrid Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/eventgrid/resource-manager/v2018_05_01_preview/pom.xml b/eventgrid/resource-manager/v2018_05_01_preview/pom.xml index 2400b3b284b2f..1f86ced2e9c68 100644 --- a/eventgrid/resource-manager/v2018_05_01_preview/pom.xml +++ b/eventgrid/resource-manager/v2018_05_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.eventgrid.v2018_05_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-eventgrid - 1.0.0-beta - jar - Microsoft Azure SDK for EventGrid Management - This package contains Microsoft EventGrid Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.eventgrid.v2018_05_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-eventgrid + 1.0.0-beta + jar + Microsoft Azure SDK for EventGrid Management + This package contains Microsoft EventGrid Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/eventgrid/resource-manager/v2018_09_15_preview/pom.xml b/eventgrid/resource-manager/v2018_09_15_preview/pom.xml index c7ef08ec9dd52..547ff55383216 100644 --- a/eventgrid/resource-manager/v2018_09_15_preview/pom.xml +++ b/eventgrid/resource-manager/v2018_09_15_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.eventgrid.v2018_09_15_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-eventgrid - 1.0.0-beta - jar - Microsoft Azure SDK for EventGrid Management - This package contains Microsoft EventGrid Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.eventgrid.v2018_09_15_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-eventgrid + 1.0.0-beta + jar + Microsoft Azure SDK for EventGrid Management + This package contains Microsoft EventGrid Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/eventgrid/resource-manager/v2019_01_01/pom.xml b/eventgrid/resource-manager/v2019_01_01/pom.xml index 0f29a0998f823..2840bc413103c 100644 --- a/eventgrid/resource-manager/v2019_01_01/pom.xml +++ b/eventgrid/resource-manager/v2019_01_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.eventgrid.v2019_01_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-eventgrid - 1.0.0 - jar - Microsoft Azure SDK for EventGrid Management - This package contains Microsoft EventGrid Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.eventgrid.v2019_01_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-eventgrid + 1.0.0 + jar + Microsoft Azure SDK for EventGrid Management + This package contains Microsoft EventGrid Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/hdinsight/resource-manager/v2015_03_01_preview/pom.xml b/hdinsight/resource-manager/v2015_03_01_preview/pom.xml index b21c7e617e3b8..b9b902b376760 100644 --- a/hdinsight/resource-manager/v2015_03_01_preview/pom.xml +++ b/hdinsight/resource-manager/v2015_03_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.hdinsight.v2015_03_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-hdinsight - 1.0.0-beta - jar - Microsoft Azure SDK for HDInsight Management - This package contains Microsoft HDInsight Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.hdinsight.v2015_03_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-hdinsight + 1.0.0-beta + jar + Microsoft Azure SDK for HDInsight Management + This package contains Microsoft HDInsight Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/hdinsight/resource-manager/v2018_06_01_preview/pom.xml b/hdinsight/resource-manager/v2018_06_01_preview/pom.xml index 82b0e02a9fa05..725e2959046b8 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/pom.xml +++ b/hdinsight/resource-manager/v2018_06_01_preview/pom.xml @@ -1,163 +1,163 @@ - - - 4.0.0 - com.microsoft.azure.hdinsight.v2018_06_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-hdinsight - 1.0.0-beta - jar - Microsoft Azure SDK for HDInsight Management - This package contains Microsoft HDInsight Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - com.microsoft.azure - azure-mgmt-storage - 1.18.0 - test - - - com.microsoft.azure - azure-mgmt-msi - 1.18.0 - test - - - com.microsoft.azure - azure-mgmt-keyvault - 1.18.0 - test - - - com.microsoft.azure - azure-keyvault - 1.2.0 - test - - - org.assertj - assertj-core - 2.9.1 - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.hdinsight.v2018_06_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-hdinsight + 1.0.0-beta + jar + Microsoft Azure SDK for HDInsight Management + This package contains Microsoft HDInsight Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + com.microsoft.azure + azure-mgmt-storage + 1.18.0 + test + + + com.microsoft.azure + azure-mgmt-msi + 1.18.0 + test + + + com.microsoft.azure + azure-mgmt-keyvault + 1.18.0 + test + + + com.microsoft.azure + azure-keyvault + 1.2.0 + test + + + org.assertj + assertj-core + 2.9.1 + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ApplicationTests.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ApplicationTests.java index cfc9ae66658c6..dee16b88663ef 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ApplicationTests.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ApplicationTests.java @@ -1,58 +1,58 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.*; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ApplicationInner; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; -import org.junit.Test; - -import java.util.Collections; -import java.util.List; - -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; -import static org.assertj.core.api.Assertions.assertThat; - -public class ApplicationTests extends HDInsightManagementTestBase { - - @Test - public void testHueOnRunningCluster() { - String clusterName = generateRandomClusterName("hdisdk-applications-hue"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().withClusterVersion("3.6"); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - String applicationName = "MyApplication"; - ApplicationInner application = new ApplicationInner().withProperties(new ApplicationProperties() - .withInstallScriptActions(Collections.singletonList( - new RuntimeScriptAction().withName("InstallHue") - .withUri("https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh") - .withParameters("-version latest -port 20000") - .withRoles(Collections.singletonList("edgenode")) - )) - .withApplicationType("CustomApplication") - .withComputeProfile(new ComputeProfile() - .withRoles(Collections.singletonList( - new Role().withName("edgenode") - .withHardwareProfile(new HardwareProfile() - .withVmSize("Large")) - .withTargetInstanceCount(1) - )) - ) - ); - - hdInsightManager.applications().inner().create(resourceGroup.name(), clusterName, applicationName, application); - List applicationList = hdInsightManager.applications().inner().listByCluster(resourceGroup.name(), clusterName); - assertThat(applicationList).isNotEmpty().hasSize(1); - assertThat(applicationList.get(0).name()).isEqualToIgnoringCase(applicationName); - hdInsightManager.applications().inner().delete(resourceGroup.name(), clusterName, applicationName); - applicationList = hdInsightManager.applications().inner().listByCluster(resourceGroup.name(), clusterName); - assertThat(applicationList).isEmpty(); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.*; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ApplicationInner; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; +import org.junit.Test; + +import java.util.Collections; +import java.util.List; + +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; +import static org.assertj.core.api.Assertions.assertThat; + +public class ApplicationTests extends HDInsightManagementTestBase { + + @Test + public void testHueOnRunningCluster() { + String clusterName = generateRandomClusterName("hdisdk-applications-hue"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().withClusterVersion("3.6"); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + String applicationName = "MyApplication"; + ApplicationInner application = new ApplicationInner().withProperties(new ApplicationProperties() + .withInstallScriptActions(Collections.singletonList( + new RuntimeScriptAction().withName("InstallHue") + .withUri("https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh") + .withParameters("-version latest -port 20000") + .withRoles(Collections.singletonList("edgenode")) + )) + .withApplicationType("CustomApplication") + .withComputeProfile(new ComputeProfile() + .withRoles(Collections.singletonList( + new Role().withName("edgenode") + .withHardwareProfile(new HardwareProfile() + .withVmSize("Large")) + .withTargetInstanceCount(1) + )) + ) + ); + + hdInsightManager.applications().inner().create(resourceGroup.name(), clusterName, applicationName, application); + List applicationList = hdInsightManager.applications().inner().listByCluster(resourceGroup.name(), clusterName); + assertThat(applicationList).isNotEmpty().hasSize(1); + assertThat(applicationList.get(0).name()).isEqualToIgnoringCase(applicationName); + hdInsightManager.applications().inner().delete(resourceGroup.name(), clusterName, applicationName); + applicationList = hdInsightManager.applications().inner().listByCluster(resourceGroup.name(), clusterName); + assertThat(applicationList).isEmpty(); + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ClusterTests.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ClusterTests.java index 4e7911ed9bfe4..0385eb28efa24 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ClusterTests.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ClusterTests.java @@ -1,414 +1,414 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.google.common.collect.ImmutableMap; -import com.microsoft.azure.CloudException; -import com.microsoft.azure.PagedList; -import com.microsoft.azure.keyvault.KeyIdentifier; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.*; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; -import com.microsoft.azure.management.keyvault.KeyPermissions; -import com.microsoft.azure.management.keyvault.Permissions; -import com.microsoft.azure.management.keyvault.SecretPermissions; -import com.microsoft.azure.management.msi.implementation.IdentityInner; -import com.microsoft.azure.management.storage.Kind; -import org.assertj.core.api.Condition; -import org.assertj.core.api.ThrowableAssert; -import org.assertj.core.util.Lists; -import org.junit.Ignore; -import org.junit.Test; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; -import static org.assertj.core.api.Assertions.assertThat; -import static org.assertj.core.api.Assertions.assertThatThrownBy; - -public class ClusterTests extends HDInsightManagementTestBase { - - @Test - public void testCreateHumboldtCluster() { - String clusterName = generateRandomClusterName("hdisdk-humboldt"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateHumboldtClusterWithPremiumTier() { - String clusterName = generateRandomClusterName("hdisdk-premium"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().withTier(Tier.PREMIUM); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateWithEmptyExtendedParameters() { - assertThatThrownBy(new ThrowableAssert.ThrowingCallable() { - @Override - public void call() { - String clusterName = generateRandomClusterName("hdisdk-cluster"); - hdInsightManager.clusters() - .inner() - .create(resourceGroup.name(), clusterName, new ClusterCreateParametersExtended()); - } - }).isInstanceOf(CloudException.class).hasMessage("The location property is required for this definition."); - } - - @Test - public void testCreateHumboldtClusterWithCustomVMSizes() { - //Iterables.find - String clusterName = generateRandomClusterName("hdisdk-customvmsizes"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - Role headNode = findRoleByName(createParams, "headnode"); - headNode.hardwareProfile().withVmSize("ExtraLarge"); - Role zookeeperNode = findRoleByName(createParams, "zookeepernode"); - zookeeperNode.hardwareProfile().withVmSize("Medium"); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateLinuxSparkClusterWithComponentVersion() { - String clusterName = generateRandomClusterName("hdisdk-sparkcomponentversions"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties() - .clusterDefinition() - .withKind("Spark") - .withComponentVersion(ImmutableMap.of( - "Spark", "2.2" - )); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateKafkaClusterWithManagedDisks() { - String clusterName = generateRandomClusterName("hdisdk-kafka"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().clusterDefinition().withKind("Kafka"); - Role workerNode = findRoleByName(createParams, "workernode"); - workerNode.withDataDisksGroups(Collections.singletonList( - new DataDisksGroups().withDisksPerNode(8) - )); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateKafkaClusterWithDiskEncryption() { - - // This test cases requires Key Vault setup beforehand. - // Key Vault setup requires tenant id, client id provided. - // Skip this test if those info are not provided. - if (isPartialRecordMode()) { - return; - } - - // create key vault with soft delete enabled - vault = resourceManager.createVault( - resourceGroup.name(), // resource group name - true // enable soft delete - ); - - addTextReplacementRule(vault.properties().vaultUri() + "/", playbackUri + "/"); - - // create managed identities for Azure resources. - final IdentityInner msi = resourceManager.createManagedIdentity(resourceGroup.name()); - - // add managed identity to vault - Permissions requiredPermissions = new Permissions() - .withKeys(Arrays.asList(KeyPermissions.GET, KeyPermissions.WRAP_KEY, KeyPermissions.UNWRAP_KEY)) - .withSecrets(Arrays.asList(SecretPermissions.GET, SecretPermissions.SET, SecretPermissions.DELETE)); - vault = setPermissions(vault, msi.principalId(), requiredPermissions); - assertThat(vault).isNotNull(); - - // create key - KeyIdentifier keyIdentifier = resourceManager.generateVaultKey(vault, "hdijavakey1"); - - // create HDInsight cluster with Kafka disk encryption - String clusterName = generateRandomClusterName("hdisdk-kafka-byok"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().clusterDefinition().withKind("Kafka"); - Role workerNode = findRoleByName(createParams, "workernode"); - workerNode.withDataDisksGroups(Collections.singletonList( - new DataDisksGroups().withDisksPerNode(8) - )); - createParams.withIdentity(new ClusterIdentity() - .withType(ResourceIdentityType.USER_ASSIGNED) - .withUserAssignedIdentities(ImmutableMap.of( - msi.id(), new ClusterIdentityUserAssignedIdentitiesValue() - )) - ); - createParams.properties().withDiskEncryptionProperties(new DiskEncryptionProperties() - .withVaultUri(keyIdentifier.vault()) - .withKeyName(keyIdentifier.name()) - .withKeyVersion(keyIdentifier.version()) - .withMsiResourceId(msi.id()) - ); - - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - // check disk encryption properties - DiskEncryptionProperties diskEncryptionProperties = cluster.properties().diskEncryptionProperties(); - DiskEncryptionProperties diskEncryptionPropertyParams = createParams.properties().diskEncryptionProperties(); - assertThat(diskEncryptionProperties).isNotNull(); - assertThat(diskEncryptionProperties.vaultUri()).isEqualTo(diskEncryptionPropertyParams.vaultUri()); - assertThat(diskEncryptionProperties.keyName()).isEqualTo(diskEncryptionPropertyParams.keyName()); - assertThat(diskEncryptionProperties.msiResourceId()).isEqualToIgnoringCase(msi.id()); - - KeyIdentifier secondKeyIdentifier = resourceManager.generateVaultKey(vault, "hdijavakey2"); - - // rotate cluster key - ClusterDiskEncryptionParameters rotateParams = new ClusterDiskEncryptionParameters() - .withVaultUri(secondKeyIdentifier.vault()) - .withKeyName(secondKeyIdentifier.name()) - .withKeyVersion(secondKeyIdentifier.version()); - hdInsightManager.clusters().inner().rotateDiskEncryptionKey(resourceGroup.name(), clusterName, rotateParams); - cluster = hdInsightManager.clusters().inner().getByResourceGroup(resourceGroup.name(), clusterName); - diskEncryptionProperties = cluster.properties().diskEncryptionProperties(); - assertThat(diskEncryptionProperties).isNotNull(); - assertThat(diskEncryptionProperties.vaultUri()).isEqualTo(rotateParams.vaultUri()); - assertThat(diskEncryptionProperties.keyName()).isEqualTo(rotateParams.keyName()); - assertThat(diskEncryptionProperties.msiResourceId()).isEqualToIgnoringCase(msi.id()); - } - - @Test - public void testCreateWithADLSv1() { - - // This test case require ADLS gen1 storage account created beforehand - if (isPartialRecordMode()) { - return; - } - - String clusterName = generateRandomClusterName("hdisdk-adlgen1"); - ClusterCreateParametersExtended createParams = prepareClusterCreateParamsForADLSv1( - region, - tenantId, - clusterName); - - // Add additional storage account - String storageAccountKey = resourceManager.generateKey(storageAccount); - createParams.properties().storageProfile().storageaccounts().add(new StorageAccount() - .withName(storageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) - .withKey(storageAccountKey) - .withContainer(clusterName.toLowerCase()) - .withIsDefault(false) - ); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateWithADLSv2() { - com.microsoft.azure.management.storage.StorageAccount storageV2Account = resourceManager.createStorageAccount( - resourceGroup.name(), // resource group name - "hdijavaadlsv2", // name Prefix - Kind.STORAGE_V2 // storage account kind - ); - String clusterName = generateRandomClusterName("hdisdk-adlgen2"); - ClusterCreateParametersExtended createParams = prepareClusterCreateParamsForADLSv2( - region, - clusterName, - storageV2Account, - resourceManager.generateKey(storageV2Account) - ); - - // Add additional storage account - String storageAccountKey = resourceManager.generateKey(storageAccount); - createParams.properties().storageProfile().storageaccounts().add(new StorageAccount() - .withName(storageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) - .withKey(storageAccountKey) - .withContainer(clusterName.toLowerCase()) - .withIsDefault(false) - ); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateWithAdditionalStorageAccount() { - com.microsoft.azure.management.storage.StorageAccount secondaryStorageAccount = resourceManager - .createStorageAccount( - resourceGroup.name(), // resource group name - STORAGE_ACCOUNT_NAME_PREFIX + "2" // name Prefix - ); - String clusterName = generateRandomClusterName("hdisdk-additional"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().storageProfile().storageaccounts().add(new StorageAccount() - .withName(secondaryStorageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) - .withKey(resourceManager.generateKey(secondaryStorageAccount)) - .withContainer(clusterName.toLowerCase()) - .withIsDefault(false) - ); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateRServerCluster() { - String clusterName = generateRandomClusterName("hdisdk-rserver"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().clusterDefinition().withKind("RServer"); - createParams.properties().computeProfile().roles().add( - new Role().withName("edgenode") - .withTargetInstanceCount(1) - .withHardwareProfile(new HardwareProfile() - .withVmSize("Standard_D4_v2") - ) - .withOsProfile(new OsProfile() - .withLinuxOperatingSystemProfile( - new LinuxOperatingSystemProfile() - .withUsername(SSH_USERNAME) - .withPassword(SSH_PASSWORD) - ) - ) - ); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testCreateMLServicesCluster() { - String clusterName = generateRandomClusterName("hdisdk-mlservices"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().withClusterVersion("3.6"); - createParams.properties().clusterDefinition().withKind("MLServices"); - createParams.properties().computeProfile().roles().add( - new Role().withName("edgenode") - .withTargetInstanceCount(1) - .withHardwareProfile(new HardwareProfile() - .withVmSize("Standard_D4_v2") - ) - .withOsProfile(new OsProfile() - .withLinuxOperatingSystemProfile( - new LinuxOperatingSystemProfile() - .withUsername(SSH_USERNAME) - .withPassword(SSH_PASSWORD) - ) - ) - ); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - } - - @Test - public void testListClustersInResourceGroup() { - String clusterName = generateRandomClusterName("hdisdk-cluster-rg1"); - PagedList clusterPage = hdInsightManager.clusters().inner().listByResourceGroup(resourceGroup.name()); - List clusterList = Lists.newArrayList(clusterPage); - while (clusterPage.hasNextPage()) { - clusterPage = hdInsightManager.clusters().inner() - .listByResourceGroupNext(clusterPage.currentPage().nextPageLink()); - clusterList.addAll(clusterPage); - } - - ClusterNameMatchedCondition clusterNameMatchedCondition = new ClusterNameMatchedCondition(clusterName); - assertThat(clusterList).doesNotHave(clusterNameMatchedCondition); - - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - - clusterList.clear(); - clusterPage = hdInsightManager.clusters().inner().listByResourceGroup(resourceGroup.name()); - clusterList.addAll(clusterPage); - while (clusterPage.hasNextPage()) { - clusterPage = hdInsightManager.clusters().inner() - .listByResourceGroupNext(clusterPage.currentPage().nextPageLink()); - clusterList.addAll(clusterPage); - } - - assertThat(clusterList).has(clusterNameMatchedCondition); - } - - @Test - @Ignore("Test case will list all clusters under a subscription.") - public void testListClustersInSubscription() { - String clusterName = generateRandomClusterName("hdisdk-cluster-sub"); - PagedList clusterPage = hdInsightManager.clusters().inner().list(); - List clusterList = Lists.newArrayList(clusterPage); - while (clusterPage.hasNextPage()) { - clusterPage = hdInsightManager.clusters().inner() - .listByResourceGroupNext(clusterPage.currentPage().nextPageLink()); - clusterList.addAll(clusterPage); - } - - ClusterNameMatchedCondition clusterNameMatchedCondition = new ClusterNameMatchedCondition(clusterName); - assertThat(clusterList).doesNotHave(clusterNameMatchedCondition); - - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - - clusterList.clear(); - clusterPage = hdInsightManager.clusters().inner().list(); - clusterList.addAll(clusterPage); - while (clusterPage.hasNextPage()) { - clusterPage = hdInsightManager.clusters().inner() - .listNext(clusterPage.currentPage().nextPageLink()); - clusterList.addAll(clusterPage); - } - - assertThat(clusterList).has(clusterNameMatchedCondition); - } - - @Test - public void testResizeCluster() { - String clusterName = generateRandomClusterName("hdisdk-clusterresize"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - Role workerNodeParams = findRoleByName(createParams, "workernode"); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - cluster = hdInsightManager.clusters().inner().getByResourceGroup(resourceGroup.name(), clusterName); - Role workerNode = findRoleByName(cluster, "workernode"); - assertThat(workerNode.targetInstanceCount()).isEqualTo(workerNodeParams.targetInstanceCount()); - - hdInsightManager.clusters().inner().resize( - resourceGroup.name(), - clusterName, - workerNodeParams.targetInstanceCount() + 1); - cluster = hdInsightManager.clusters().inner().getByResourceGroup(resourceGroup.name(), clusterName); - workerNode = findRoleByName(cluster, "workernode"); - assertThat(workerNode.targetInstanceCount()).isEqualTo(workerNodeParams.targetInstanceCount() + 1); - } - - class ClusterNameMatchedCondition extends Condition> { - private final String clusterName; - - ClusterNameMatchedCondition(String clusterName) { - this.clusterName = clusterName; - } - - @Override - public boolean matches(List clusters) { - for (ClusterInner cluster : clusters) { - if (cluster.name().equals(clusterName)) { - return true; - } - } - - return false; - } - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.google.common.collect.ImmutableMap; +import com.microsoft.azure.CloudException; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.keyvault.KeyIdentifier; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.*; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; +import com.microsoft.azure.management.keyvault.KeyPermissions; +import com.microsoft.azure.management.keyvault.Permissions; +import com.microsoft.azure.management.keyvault.SecretPermissions; +import com.microsoft.azure.management.msi.implementation.IdentityInner; +import com.microsoft.azure.management.storage.Kind; +import org.assertj.core.api.Condition; +import org.assertj.core.api.ThrowableAssert; +import org.assertj.core.util.Lists; +import org.junit.Ignore; +import org.junit.Test; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; + +public class ClusterTests extends HDInsightManagementTestBase { + + @Test + public void testCreateHumboldtCluster() { + String clusterName = generateRandomClusterName("hdisdk-humboldt"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateHumboldtClusterWithPremiumTier() { + String clusterName = generateRandomClusterName("hdisdk-premium"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().withTier(Tier.PREMIUM); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateWithEmptyExtendedParameters() { + assertThatThrownBy(new ThrowableAssert.ThrowingCallable() { + @Override + public void call() { + String clusterName = generateRandomClusterName("hdisdk-cluster"); + hdInsightManager.clusters() + .inner() + .create(resourceGroup.name(), clusterName, new ClusterCreateParametersExtended()); + } + }).isInstanceOf(CloudException.class).hasMessage("The location property is required for this definition."); + } + + @Test + public void testCreateHumboldtClusterWithCustomVMSizes() { + //Iterables.find + String clusterName = generateRandomClusterName("hdisdk-customvmsizes"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + Role headNode = findRoleByName(createParams, "headnode"); + headNode.hardwareProfile().withVmSize("ExtraLarge"); + Role zookeeperNode = findRoleByName(createParams, "zookeepernode"); + zookeeperNode.hardwareProfile().withVmSize("Medium"); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateLinuxSparkClusterWithComponentVersion() { + String clusterName = generateRandomClusterName("hdisdk-sparkcomponentversions"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties() + .clusterDefinition() + .withKind("Spark") + .withComponentVersion(ImmutableMap.of( + "Spark", "2.2" + )); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateKafkaClusterWithManagedDisks() { + String clusterName = generateRandomClusterName("hdisdk-kafka"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().clusterDefinition().withKind("Kafka"); + Role workerNode = findRoleByName(createParams, "workernode"); + workerNode.withDataDisksGroups(Collections.singletonList( + new DataDisksGroups().withDisksPerNode(8) + )); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateKafkaClusterWithDiskEncryption() { + + // This test cases requires Key Vault setup beforehand. + // Key Vault setup requires tenant id, client id provided. + // Skip this test if those info are not provided. + if (isPartialRecordMode()) { + return; + } + + // create key vault with soft delete enabled + vault = resourceManager.createVault( + resourceGroup.name(), // resource group name + true // enable soft delete + ); + + addTextReplacementRule(vault.properties().vaultUri() + "/", playbackUri + "/"); + + // create managed identities for Azure resources. + final IdentityInner msi = resourceManager.createManagedIdentity(resourceGroup.name()); + + // add managed identity to vault + Permissions requiredPermissions = new Permissions() + .withKeys(Arrays.asList(KeyPermissions.GET, KeyPermissions.WRAP_KEY, KeyPermissions.UNWRAP_KEY)) + .withSecrets(Arrays.asList(SecretPermissions.GET, SecretPermissions.SET, SecretPermissions.DELETE)); + vault = setPermissions(vault, msi.principalId(), requiredPermissions); + assertThat(vault).isNotNull(); + + // create key + KeyIdentifier keyIdentifier = resourceManager.generateVaultKey(vault, "hdijavakey1"); + + // create HDInsight cluster with Kafka disk encryption + String clusterName = generateRandomClusterName("hdisdk-kafka-byok"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().clusterDefinition().withKind("Kafka"); + Role workerNode = findRoleByName(createParams, "workernode"); + workerNode.withDataDisksGroups(Collections.singletonList( + new DataDisksGroups().withDisksPerNode(8) + )); + createParams.withIdentity(new ClusterIdentity() + .withType(ResourceIdentityType.USER_ASSIGNED) + .withUserAssignedIdentities(ImmutableMap.of( + msi.id(), new ClusterIdentityUserAssignedIdentitiesValue() + )) + ); + createParams.properties().withDiskEncryptionProperties(new DiskEncryptionProperties() + .withVaultUri(keyIdentifier.vault()) + .withKeyName(keyIdentifier.name()) + .withKeyVersion(keyIdentifier.version()) + .withMsiResourceId(msi.id()) + ); + + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + // check disk encryption properties + DiskEncryptionProperties diskEncryptionProperties = cluster.properties().diskEncryptionProperties(); + DiskEncryptionProperties diskEncryptionPropertyParams = createParams.properties().diskEncryptionProperties(); + assertThat(diskEncryptionProperties).isNotNull(); + assertThat(diskEncryptionProperties.vaultUri()).isEqualTo(diskEncryptionPropertyParams.vaultUri()); + assertThat(diskEncryptionProperties.keyName()).isEqualTo(diskEncryptionPropertyParams.keyName()); + assertThat(diskEncryptionProperties.msiResourceId()).isEqualToIgnoringCase(msi.id()); + + KeyIdentifier secondKeyIdentifier = resourceManager.generateVaultKey(vault, "hdijavakey2"); + + // rotate cluster key + ClusterDiskEncryptionParameters rotateParams = new ClusterDiskEncryptionParameters() + .withVaultUri(secondKeyIdentifier.vault()) + .withKeyName(secondKeyIdentifier.name()) + .withKeyVersion(secondKeyIdentifier.version()); + hdInsightManager.clusters().inner().rotateDiskEncryptionKey(resourceGroup.name(), clusterName, rotateParams); + cluster = hdInsightManager.clusters().inner().getByResourceGroup(resourceGroup.name(), clusterName); + diskEncryptionProperties = cluster.properties().diskEncryptionProperties(); + assertThat(diskEncryptionProperties).isNotNull(); + assertThat(diskEncryptionProperties.vaultUri()).isEqualTo(rotateParams.vaultUri()); + assertThat(diskEncryptionProperties.keyName()).isEqualTo(rotateParams.keyName()); + assertThat(diskEncryptionProperties.msiResourceId()).isEqualToIgnoringCase(msi.id()); + } + + @Test + public void testCreateWithADLSv1() { + + // This test case require ADLS gen1 storage account created beforehand + if (isPartialRecordMode()) { + return; + } + + String clusterName = generateRandomClusterName("hdisdk-adlgen1"); + ClusterCreateParametersExtended createParams = prepareClusterCreateParamsForADLSv1( + region, + tenantId, + clusterName); + + // Add additional storage account + String storageAccountKey = resourceManager.generateKey(storageAccount); + createParams.properties().storageProfile().storageaccounts().add(new StorageAccount() + .withName(storageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) + .withKey(storageAccountKey) + .withContainer(clusterName.toLowerCase()) + .withIsDefault(false) + ); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateWithADLSv2() { + com.microsoft.azure.management.storage.StorageAccount storageV2Account = resourceManager.createStorageAccount( + resourceGroup.name(), // resource group name + "hdijavaadlsv2", // name Prefix + Kind.STORAGE_V2 // storage account kind + ); + String clusterName = generateRandomClusterName("hdisdk-adlgen2"); + ClusterCreateParametersExtended createParams = prepareClusterCreateParamsForADLSv2( + region, + clusterName, + storageV2Account, + resourceManager.generateKey(storageV2Account) + ); + + // Add additional storage account + String storageAccountKey = resourceManager.generateKey(storageAccount); + createParams.properties().storageProfile().storageaccounts().add(new StorageAccount() + .withName(storageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) + .withKey(storageAccountKey) + .withContainer(clusterName.toLowerCase()) + .withIsDefault(false) + ); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateWithAdditionalStorageAccount() { + com.microsoft.azure.management.storage.StorageAccount secondaryStorageAccount = resourceManager + .createStorageAccount( + resourceGroup.name(), // resource group name + STORAGE_ACCOUNT_NAME_PREFIX + "2" // name Prefix + ); + String clusterName = generateRandomClusterName("hdisdk-additional"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().storageProfile().storageaccounts().add(new StorageAccount() + .withName(secondaryStorageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) + .withKey(resourceManager.generateKey(secondaryStorageAccount)) + .withContainer(clusterName.toLowerCase()) + .withIsDefault(false) + ); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateRServerCluster() { + String clusterName = generateRandomClusterName("hdisdk-rserver"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().clusterDefinition().withKind("RServer"); + createParams.properties().computeProfile().roles().add( + new Role().withName("edgenode") + .withTargetInstanceCount(1) + .withHardwareProfile(new HardwareProfile() + .withVmSize("Standard_D4_v2") + ) + .withOsProfile(new OsProfile() + .withLinuxOperatingSystemProfile( + new LinuxOperatingSystemProfile() + .withUsername(SSH_USERNAME) + .withPassword(SSH_PASSWORD) + ) + ) + ); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testCreateMLServicesCluster() { + String clusterName = generateRandomClusterName("hdisdk-mlservices"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().withClusterVersion("3.6"); + createParams.properties().clusterDefinition().withKind("MLServices"); + createParams.properties().computeProfile().roles().add( + new Role().withName("edgenode") + .withTargetInstanceCount(1) + .withHardwareProfile(new HardwareProfile() + .withVmSize("Standard_D4_v2") + ) + .withOsProfile(new OsProfile() + .withLinuxOperatingSystemProfile( + new LinuxOperatingSystemProfile() + .withUsername(SSH_USERNAME) + .withPassword(SSH_PASSWORD) + ) + ) + ); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + } + + @Test + public void testListClustersInResourceGroup() { + String clusterName = generateRandomClusterName("hdisdk-cluster-rg1"); + PagedList clusterPage = hdInsightManager.clusters().inner().listByResourceGroup(resourceGroup.name()); + List clusterList = Lists.newArrayList(clusterPage); + while (clusterPage.hasNextPage()) { + clusterPage = hdInsightManager.clusters().inner() + .listByResourceGroupNext(clusterPage.currentPage().nextPageLink()); + clusterList.addAll(clusterPage); + } + + ClusterNameMatchedCondition clusterNameMatchedCondition = new ClusterNameMatchedCondition(clusterName); + assertThat(clusterList).doesNotHave(clusterNameMatchedCondition); + + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + + clusterList.clear(); + clusterPage = hdInsightManager.clusters().inner().listByResourceGroup(resourceGroup.name()); + clusterList.addAll(clusterPage); + while (clusterPage.hasNextPage()) { + clusterPage = hdInsightManager.clusters().inner() + .listByResourceGroupNext(clusterPage.currentPage().nextPageLink()); + clusterList.addAll(clusterPage); + } + + assertThat(clusterList).has(clusterNameMatchedCondition); + } + + @Test + @Ignore("Test case will list all clusters under a subscription.") + public void testListClustersInSubscription() { + String clusterName = generateRandomClusterName("hdisdk-cluster-sub"); + PagedList clusterPage = hdInsightManager.clusters().inner().list(); + List clusterList = Lists.newArrayList(clusterPage); + while (clusterPage.hasNextPage()) { + clusterPage = hdInsightManager.clusters().inner() + .listByResourceGroupNext(clusterPage.currentPage().nextPageLink()); + clusterList.addAll(clusterPage); + } + + ClusterNameMatchedCondition clusterNameMatchedCondition = new ClusterNameMatchedCondition(clusterName); + assertThat(clusterList).doesNotHave(clusterNameMatchedCondition); + + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + + clusterList.clear(); + clusterPage = hdInsightManager.clusters().inner().list(); + clusterList.addAll(clusterPage); + while (clusterPage.hasNextPage()) { + clusterPage = hdInsightManager.clusters().inner() + .listNext(clusterPage.currentPage().nextPageLink()); + clusterList.addAll(clusterPage); + } + + assertThat(clusterList).has(clusterNameMatchedCondition); + } + + @Test + public void testResizeCluster() { + String clusterName = generateRandomClusterName("hdisdk-clusterresize"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + Role workerNodeParams = findRoleByName(createParams, "workernode"); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + cluster = hdInsightManager.clusters().inner().getByResourceGroup(resourceGroup.name(), clusterName); + Role workerNode = findRoleByName(cluster, "workernode"); + assertThat(workerNode.targetInstanceCount()).isEqualTo(workerNodeParams.targetInstanceCount()); + + hdInsightManager.clusters().inner().resize( + resourceGroup.name(), + clusterName, + workerNodeParams.targetInstanceCount() + 1); + cluster = hdInsightManager.clusters().inner().getByResourceGroup(resourceGroup.name(), clusterName); + workerNode = findRoleByName(cluster, "workernode"); + assertThat(workerNode.targetInstanceCount()).isEqualTo(workerNodeParams.targetInstanceCount() + 1); + } + + class ClusterNameMatchedCondition extends Condition> { + private final String clusterName; + + ClusterNameMatchedCondition(String clusterName) { + this.clusterName = clusterName; + } + + @Override + public boolean matches(List clusters) { + for (ClusterInner cluster : clusters) { + if (cluster.name().equals(clusterName)) { + return true; + } + } + + return false; + } + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ConfigurationTests.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ConfigurationTests.java index e0fad810c4c5d..dc6526d0b9097 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ConfigurationTests.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ConfigurationTests.java @@ -1,110 +1,110 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.google.common.collect.ImmutableMap; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateParametersExtended; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; -import org.assertj.core.api.Condition; -import org.junit.Test; - -import java.util.Map; - -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; -import static org.assertj.core.api.Assertions.assertThat; - -public class ConfigurationTests extends HDInsightManagementTestBase { - - @Test - public void testGetConfigurations() { - String clusterName = generateRandomClusterName("hdisdk-configs"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - String hiveSite = "hive-site"; - Map hiveConfig = ImmutableMap.of( - "key1", "value1", - "key2", "value2" - ); - - String mapredSite = "mapred-site"; - Map mapredConfig = ImmutableMap.of( - "key5", "value5", - "key6", "value6" - ); - - String yarnSite = "yarn-site"; - Map yarnConfig = ImmutableMap.of( - "key7", "value7", - "key8", "value8" - ); - - String coreSite = "core-site"; - String gatewayName = "gateway"; - - Map> configurations = (Map>) createParams - .properties().clusterDefinition().configurations(); - configurations.put(hiveSite, hiveConfig); - configurations.put(mapredSite, mapredConfig); - configurations.put(yarnSite, yarnConfig); - - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - Map hive = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, hiveSite); - assertThat(hive).isEqualTo(hiveConfig); - - Map mapred = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, mapredSite); - assertThat(mapred).isEqualTo(mapredConfig); - - Map yarn = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, yarnSite); - assertThat(yarn).isEqualTo(yarnConfig); - - Map gateway = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, gatewayName); - assertThat(gateway).isNotEmpty().hasSize(3); - - Map core = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, coreSite); - assertThat(core).isNotEmpty().hasSize(2); - assertThat(core).containsKey("fs.defaultFS"); - assertThat(core.keySet()).has(new Condition>() { - @Override - public boolean matches(Iterable keys) { - for (String key : keys) { - if (key.startsWith("fs.azure.account.key.")) { - return true; - } - } - return false; - } - }); - } - - @Test - public void testHttpExtended() { - String clusterName = "hdisdk-http"; - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - String gateway = "gateway"; - String expectedUserName = CLUSTER_USERNAME; - String expectedUserPassword = CLUSTER_PASSWORD; - Map actualHttpSettings = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, gateway); - validateHttpSettings(expectedUserName, expectedUserPassword, actualHttpSettings); - - String newExpectedUserPassword = "NewPassword1!"; - Map updateParams = ImmutableMap.of( - "restAuthCredential.isEnabled", "true", - "restAuthCredential.username", expectedUserName, - "restAuthCredential.password", newExpectedUserPassword - ); - - hdInsightManager.configurations().inner().update(resourceGroup.name(), clusterName, gateway, updateParams); - actualHttpSettings = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, gateway); - validateHttpSettings(expectedUserName, newExpectedUserPassword, actualHttpSettings); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.google.common.collect.ImmutableMap; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateParametersExtended; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; +import org.assertj.core.api.Condition; +import org.junit.Test; + +import java.util.Map; + +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; +import static org.assertj.core.api.Assertions.assertThat; + +public class ConfigurationTests extends HDInsightManagementTestBase { + + @Test + public void testGetConfigurations() { + String clusterName = generateRandomClusterName("hdisdk-configs"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + String hiveSite = "hive-site"; + Map hiveConfig = ImmutableMap.of( + "key1", "value1", + "key2", "value2" + ); + + String mapredSite = "mapred-site"; + Map mapredConfig = ImmutableMap.of( + "key5", "value5", + "key6", "value6" + ); + + String yarnSite = "yarn-site"; + Map yarnConfig = ImmutableMap.of( + "key7", "value7", + "key8", "value8" + ); + + String coreSite = "core-site"; + String gatewayName = "gateway"; + + Map> configurations = (Map>) createParams + .properties().clusterDefinition().configurations(); + configurations.put(hiveSite, hiveConfig); + configurations.put(mapredSite, mapredConfig); + configurations.put(yarnSite, yarnConfig); + + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + Map hive = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, hiveSite); + assertThat(hive).isEqualTo(hiveConfig); + + Map mapred = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, mapredSite); + assertThat(mapred).isEqualTo(mapredConfig); + + Map yarn = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, yarnSite); + assertThat(yarn).isEqualTo(yarnConfig); + + Map gateway = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, gatewayName); + assertThat(gateway).isNotEmpty().hasSize(3); + + Map core = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, coreSite); + assertThat(core).isNotEmpty().hasSize(2); + assertThat(core).containsKey("fs.defaultFS"); + assertThat(core.keySet()).has(new Condition>() { + @Override + public boolean matches(Iterable keys) { + for (String key : keys) { + if (key.startsWith("fs.azure.account.key.")) { + return true; + } + } + return false; + } + }); + } + + @Test + public void testHttpExtended() { + String clusterName = "hdisdk-http"; + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + String gateway = "gateway"; + String expectedUserName = CLUSTER_USERNAME; + String expectedUserPassword = CLUSTER_PASSWORD; + Map actualHttpSettings = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, gateway); + validateHttpSettings(expectedUserName, expectedUserPassword, actualHttpSettings); + + String newExpectedUserPassword = "NewPassword1!"; + Map updateParams = ImmutableMap.of( + "restAuthCredential.isEnabled", "true", + "restAuthCredential.username", expectedUserName, + "restAuthCredential.password", newExpectedUserPassword + ); + + hdInsightManager.configurations().inner().update(resourceGroup.name(), clusterName, gateway, updateParams); + actualHttpSettings = hdInsightManager.configurations().inner().get(resourceGroup.name(), clusterName, gateway); + validateHttpSettings(expectedUserName, newExpectedUserPassword, actualHttpSettings); + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ExtensionTests.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ExtensionTests.java index 19b7a7b75621a..2cea8e48dff1f 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ExtensionTests.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ExtensionTests.java @@ -1,47 +1,47 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateParametersExtended; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterMonitoringRequest; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterMonitoringResponseInner; -import org.junit.Test; - -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; -import static org.assertj.core.api.Assertions.assertThat; - -public class ExtensionTests extends HDInsightManagementTestBase { - - @Test - public void testOmsOnRunningCluster() { - String clusterName = generateRandomClusterName("hdisdk-oms"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - createParams.properties().clusterDefinition().withKind("Spark"); - createParams.properties().withClusterVersion("3.6"); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - hdInsightManager.extensions().inner().enableMonitoring( - resourceGroup.name(), - clusterName, - new ClusterMonitoringRequest().withWorkspaceId(WORKSPACE_ID) - ); - - ClusterMonitoringResponseInner monitoringStatus = hdInsightManager.extensions().inner() - .getMonitoringStatus(resourceGroup.name(), clusterName); - assertThat(monitoringStatus.clusterMonitoringEnabled()).isTrue(); - assertThat(monitoringStatus.workspaceId()).isEqualTo(WORKSPACE_ID); - - hdInsightManager.extensions().inner().disableMonitoring(resourceGroup.name(), clusterName); - monitoringStatus = hdInsightManager.extensions().inner() - .getMonitoringStatus(resourceGroup.name(), clusterName); - assertThat(monitoringStatus.clusterMonitoringEnabled()).isFalse(); - assertThat(monitoringStatus.workspaceId()).isNull(); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateParametersExtended; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterMonitoringRequest; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterMonitoringResponseInner; +import org.junit.Test; + +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; +import static org.assertj.core.api.Assertions.assertThat; + +public class ExtensionTests extends HDInsightManagementTestBase { + + @Test + public void testOmsOnRunningCluster() { + String clusterName = generateRandomClusterName("hdisdk-oms"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + createParams.properties().clusterDefinition().withKind("Spark"); + createParams.properties().withClusterVersion("3.6"); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + hdInsightManager.extensions().inner().enableMonitoring( + resourceGroup.name(), + clusterName, + new ClusterMonitoringRequest().withWorkspaceId(WORKSPACE_ID) + ); + + ClusterMonitoringResponseInner monitoringStatus = hdInsightManager.extensions().inner() + .getMonitoringStatus(resourceGroup.name(), clusterName); + assertThat(monitoringStatus.clusterMonitoringEnabled()).isTrue(); + assertThat(monitoringStatus.workspaceId()).isEqualTo(WORKSPACE_ID); + + hdInsightManager.extensions().inner().disableMonitoring(resourceGroup.name(), clusterName); + monitoringStatus = hdInsightManager.extensions().inner() + .getMonitoringStatus(resourceGroup.name(), clusterName); + assertThat(monitoringStatus.clusterMonitoringEnabled()).isFalse(); + assertThat(monitoringStatus.workspaceId()).isNull(); + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/HDInsightManagementTestBase.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/HDInsightManagementTestBase.java index 2f55c0a1e8e5f..dac5842cb2e70 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/HDInsightManagementTestBase.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/HDInsightManagementTestBase.java @@ -1,180 +1,180 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.microsoft.azure.arm.core.TestBase; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.HDInsightManager; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.HDInsightTestResourceManager; -import com.microsoft.azure.management.keyvault.Permissions; -import com.microsoft.azure.management.keyvault.implementation.VaultInner; -import com.microsoft.azure.management.resources.ResourceGroup; -import com.microsoft.azure.management.storage.StorageAccount; -import com.microsoft.rest.RestClient; -import org.junit.BeforeClass; - -import java.io.IOException; -import java.lang.reflect.Field; -import java.lang.reflect.Modifier; -import java.util.*; - -public class HDInsightManagementTestBase extends TestBase { - private static final String FAKE_CONFIG_NAME = "FakeTestConfig"; - private static final String REAL_CONFIG_NAME = "RealTestConfig"; - private static ResourceBundle TestConfig; - private static ResourceBundle FakeTestConfig; - - public static String REGION; - public static String CLUSTER_USERNAME; - public static String CLUSTER_PASSWORD; - public static String SSH_USERNAME; - public static String SSH_PASSWORD; - public static String ADLS_HOME_MOUNTPOINT; - public static String CERT_PASSWORD; - public static String CERT_CONTENT; - public static String WORKSPACE_ID; - public static String RESOURCE_GROUP_NAME_PREFIX; - public static String STORAGE_ACCOUNT_NAME_PREFIX; - public static String MANAGED_IDENTITY_NAME_PREFIX; - public static String VAULT_NAME_PREFIX; - public static String STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX; - public static String STORAGE_ADLS_FILE_SYSTEM_ENDPOINT_SUFFIX; - public static String CLIENT_OID; - public static String HDI_ADLS_ACCOUNT_NAME; - public static String HDI_ADLS_CLIENT_ID; - - /** - * Entry point to Azure HDInsight resource management. - */ - HDInsightManager hdInsightManager; - - /** - * Entry point to manage other Azure resource that will be used during the test execution. - */ - HDInsightTestResourceManager resourceManager; - - /** - * region - */ - final String region = REGION; - - /** - * Tenant id - */ - String tenantId; - - /** - * Resource group - */ - ResourceGroup resourceGroup; - - /** - * Storage account - */ - StorageAccount storageAccount; - - /** - * Key vault - */ - VaultInner vault = null; - - @BeforeClass - public static void classSetup() throws IOException, IllegalAccessException { - TestBase.beforeClass(); - FakeTestConfig = ResourceBundle.getBundle(FAKE_CONFIG_NAME); - if (isRecordMode()) { - try { - TestConfig = ResourceBundle.getBundle(REAL_CONFIG_NAME); - } catch (MissingResourceException ex) { - System.out.println("Need a " + REAL_CONFIG_NAME + " file to run all test cases in Record mode."); - System.out.println("Use " + FAKE_CONFIG_NAME + " file instead. Some test cases will be skipped."); - TestConfig = FakeTestConfig; - } - } else { - TestConfig = FakeTestConfig; - } - - Field[] fields = HDInsightManagementTestBase.class.getDeclaredFields(); - for (String key : TestConfig.keySet()) { - for (Field field : fields) { - if (field.getName().equals(key)) { - if (Modifier.isStatic(field.getModifiers())) { - field.set(null, TestConfig.getString(key)); - } - - break; - } - } - } - } - - @Override - public void beforeTest() throws IOException { - super.beforeTest(); - this.setupScrubber(); - this.createResources(); - } - - @Override - protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { - tenantId = domain; - resourceManager = new HDInsightTestResourceManager(restClient, defaultSubscription, domain); - hdInsightManager = HDInsightManager.authenticate(restClient, defaultSubscription); - } - - protected void createResources() { - resourceGroup = resourceManager.createResourceGroup(); - storageAccount = resourceManager.createStorageAccount(resourceGroup.name()); - } - - @Override - protected void cleanUpResources() { - if (vault != null) { - resourceManager.deleteVault(resourceGroup.name(), vault.name()); - if (vault.properties().enableSoftDelete()) { - resourceManager.purgeDeletedVault(vault.name(), region); - } - } - - this.resourceManager.deleteResourceGroup(resourceGroup.name()); - } - - /** - * Some test cases requires some prerequisites(client id, account name, etc.) to execute. - * If those info are not provided, we call this record mode as partial and those test cases will be skipped. - */ - boolean isPartialRecordMode() { - return isRecordMode() && TestConfig == FakeTestConfig; - } - - /** - * Set vault permissions to some Azure resource. For example, user, group, service principal and MSI - */ - VaultInner setPermissions(VaultInner vault, UUID objectId, Permissions permissions) { - return resourceManager.setVaultPermissions(vault, resourceGroup.name(), objectId.toString(), permissions); - } - - /*** - * Add text replacement rules for sensitive data. - * Sensitive data will be replaced with some fake data in session records. - */ - private void setupScrubber() { - if (isPlaybackMode()) { - return; - } - - List constantsToScrub = Arrays.asList( - "HDI_ADLS_ACCOUNT_NAME", - "HDI_ADLS_CLIENT_ID", - "CLIENT_OID" - ); - for (String key : constantsToScrub) { - if (TestConfig.containsKey(key) && FakeTestConfig.containsKey(key)) { - addTextReplacementRule(TestConfig.getString(key), FakeTestConfig.getString(key)); - } - } - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.microsoft.azure.arm.core.TestBase; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.HDInsightManager; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.HDInsightTestResourceManager; +import com.microsoft.azure.management.keyvault.Permissions; +import com.microsoft.azure.management.keyvault.implementation.VaultInner; +import com.microsoft.azure.management.resources.ResourceGroup; +import com.microsoft.azure.management.storage.StorageAccount; +import com.microsoft.rest.RestClient; +import org.junit.BeforeClass; + +import java.io.IOException; +import java.lang.reflect.Field; +import java.lang.reflect.Modifier; +import java.util.*; + +public class HDInsightManagementTestBase extends TestBase { + private static final String FAKE_CONFIG_NAME = "FakeTestConfig"; + private static final String REAL_CONFIG_NAME = "RealTestConfig"; + private static ResourceBundle TestConfig; + private static ResourceBundle FakeTestConfig; + + public static String REGION; + public static String CLUSTER_USERNAME; + public static String CLUSTER_PASSWORD; + public static String SSH_USERNAME; + public static String SSH_PASSWORD; + public static String ADLS_HOME_MOUNTPOINT; + public static String CERT_PASSWORD; + public static String CERT_CONTENT; + public static String WORKSPACE_ID; + public static String RESOURCE_GROUP_NAME_PREFIX; + public static String STORAGE_ACCOUNT_NAME_PREFIX; + public static String MANAGED_IDENTITY_NAME_PREFIX; + public static String VAULT_NAME_PREFIX; + public static String STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX; + public static String STORAGE_ADLS_FILE_SYSTEM_ENDPOINT_SUFFIX; + public static String CLIENT_OID; + public static String HDI_ADLS_ACCOUNT_NAME; + public static String HDI_ADLS_CLIENT_ID; + + /** + * Entry point to Azure HDInsight resource management. + */ + HDInsightManager hdInsightManager; + + /** + * Entry point to manage other Azure resource that will be used during the test execution. + */ + HDInsightTestResourceManager resourceManager; + + /** + * region + */ + final String region = REGION; + + /** + * Tenant id + */ + String tenantId; + + /** + * Resource group + */ + ResourceGroup resourceGroup; + + /** + * Storage account + */ + StorageAccount storageAccount; + + /** + * Key vault + */ + VaultInner vault = null; + + @BeforeClass + public static void classSetup() throws IOException, IllegalAccessException { + TestBase.beforeClass(); + FakeTestConfig = ResourceBundle.getBundle(FAKE_CONFIG_NAME); + if (isRecordMode()) { + try { + TestConfig = ResourceBundle.getBundle(REAL_CONFIG_NAME); + } catch (MissingResourceException ex) { + System.out.println("Need a " + REAL_CONFIG_NAME + " file to run all test cases in Record mode."); + System.out.println("Use " + FAKE_CONFIG_NAME + " file instead. Some test cases will be skipped."); + TestConfig = FakeTestConfig; + } + } else { + TestConfig = FakeTestConfig; + } + + Field[] fields = HDInsightManagementTestBase.class.getDeclaredFields(); + for (String key : TestConfig.keySet()) { + for (Field field : fields) { + if (field.getName().equals(key)) { + if (Modifier.isStatic(field.getModifiers())) { + field.set(null, TestConfig.getString(key)); + } + + break; + } + } + } + } + + @Override + public void beforeTest() throws IOException { + super.beforeTest(); + this.setupScrubber(); + this.createResources(); + } + + @Override + protected void initializeClients(RestClient restClient, String defaultSubscription, String domain) { + tenantId = domain; + resourceManager = new HDInsightTestResourceManager(restClient, defaultSubscription, domain); + hdInsightManager = HDInsightManager.authenticate(restClient, defaultSubscription); + } + + protected void createResources() { + resourceGroup = resourceManager.createResourceGroup(); + storageAccount = resourceManager.createStorageAccount(resourceGroup.name()); + } + + @Override + protected void cleanUpResources() { + if (vault != null) { + resourceManager.deleteVault(resourceGroup.name(), vault.name()); + if (vault.properties().enableSoftDelete()) { + resourceManager.purgeDeletedVault(vault.name(), region); + } + } + + this.resourceManager.deleteResourceGroup(resourceGroup.name()); + } + + /** + * Some test cases requires some prerequisites(client id, account name, etc.) to execute. + * If those info are not provided, we call this record mode as partial and those test cases will be skipped. + */ + boolean isPartialRecordMode() { + return isRecordMode() && TestConfig == FakeTestConfig; + } + + /** + * Set vault permissions to some Azure resource. For example, user, group, service principal and MSI + */ + VaultInner setPermissions(VaultInner vault, UUID objectId, Permissions permissions) { + return resourceManager.setVaultPermissions(vault, resourceGroup.name(), objectId.toString(), permissions); + } + + /*** + * Add text replacement rules for sensitive data. + * Sensitive data will be replaced with some fake data in session records. + */ + private void setupScrubber() { + if (isPlaybackMode()) { + return; + } + + List constantsToScrub = Arrays.asList( + "HDI_ADLS_ACCOUNT_NAME", + "HDI_ADLS_CLIENT_ID", + "CLIENT_OID" + ); + for (String key : constantsToScrub) { + if (TestConfig.containsKey(key) && FakeTestConfig.containsKey(key)) { + addTextReplacementRule(TestConfig.getString(key), FakeTestConfig.getString(key)); + } + } + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/LocationTests.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/LocationTests.java index 2c873c01acb70..6f243507245b5 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/LocationTests.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/LocationTests.java @@ -1,38 +1,38 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.Usage; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.UsagesListResult; -import org.junit.Test; - -import static org.assertj.core.api.Assertions.assertThat; - -public class LocationTests extends HDInsightManagementTestBase { - - @Override - public void createResources() { - } - - @Override - public void cleanUpResources() { - } - - @Test - public void testGetUsages() { - UsagesListResult usages = hdInsightManager.locations().listUsagesAsync(region).toBlocking().single(); - assertThat(usages).isNotNull(); - assertThat(usages.value()).isNotEmpty(); - for (Usage usage : usages.value()) { - assertThat(usage).isNotNull(); - assertThat(usage.currentValue()).isNotNull(); - assertThat(usage.limit()).isNotNull(); - assertThat(usage.name()).isNotNull(); - assertThat(usage.unit()).isNotNull(); - } - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.Usage; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.UsagesListResult; +import org.junit.Test; + +import static org.assertj.core.api.Assertions.assertThat; + +public class LocationTests extends HDInsightManagementTestBase { + + @Override + public void createResources() { + } + + @Override + public void cleanUpResources() { + } + + @Test + public void testGetUsages() { + UsagesListResult usages = hdInsightManager.locations().listUsagesAsync(region).toBlocking().single(); + assertThat(usages).isNotNull(); + assertThat(usages.value()).isNotEmpty(); + for (Usage usage : usages.value()) { + assertThat(usage).isNotNull(); + assertThat(usage.currentValue()).isNotNull(); + assertThat(usage.limit()).isNotNull(); + assertThat(usage.name()).isNotNull(); + assertThat(usage.unit()).isNotNull(); + } + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ScriptActionTests.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ScriptActionTests.java index 5c353c4bb4957..ca5295749bc2c 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ScriptActionTests.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/scenariotests/ScriptActionTests.java @@ -1,143 +1,143 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; - -import com.google.common.base.Predicate; -import com.google.common.collect.Iterables; -import com.microsoft.azure.PagedList; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateParametersExtended; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ExecuteScriptActionParameters; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.RuntimeScriptAction; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.RuntimeScriptActionDetailInner; -import org.assertj.core.api.Condition; -import org.junit.Test; - -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; -import static org.assertj.core.api.Assertions.assertThat; - -public class ScriptActionTests extends HDInsightManagementTestBase { - - @Test - public void testScriptActionsOnRunningCluster() { - String clusterName = generateRandomClusterName("hdisdk-scriptactions"); - String storageAccountKey = resourceManager.generateKey(storageAccount); - ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); - ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); - validateCluster(clusterName, createParams, cluster); - - String installGiraph = "https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh"; - String scriptName = "script1"; - - // Execute script actions, and persist on success. - ExecuteScriptActionParameters scriptActionParams = getExecuteScriptActionParams(scriptName, installGiraph, true); - hdInsightManager.clusters().inner().executeScriptActions(resourceGroup.name(), clusterName, scriptActionParams); - - // List script actions and validate script is persisted. - PagedList scriptActionList = hdInsightManager.scriptActions().inner().listByCluster(resourceGroup.name(), clusterName); - assertThat(scriptActionList).hasSize(1); - RuntimeScriptActionDetailInner scriptAction = scriptActionList.get(0); - assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); - assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); - assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); - - // Delete script action. - hdInsightManager.scriptActions().inner().delete(resourceGroup.name(), clusterName, scriptName); - - // List script actions and validate script is deleted. - scriptActionList = hdInsightManager.scriptActions().inner().listByCluster(resourceGroup.name(), clusterName); - assertThat(scriptActionList).isEmpty(); - - // List script action history and validate script appears there. - PagedList listHistoryResponse = hdInsightManager.scriptExecutionHistorys().inner().listByCluster( - resourceGroup.name(), - clusterName); - assertThat(listHistoryResponse).hasSize(1); - scriptAction = listHistoryResponse.get(0); - assertThat(scriptAction.executionSummary()).hasSize(1); - assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); - assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); - assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); - assertThat(scriptAction.status()).isEqualTo("Succeeded"); - - // Get the script action by ID and validate it's the same action. - scriptAction = hdInsightManager.scriptActions().inner().getExecutionDetail( - resourceGroup.name(), - clusterName, - scriptAction.scriptExecutionId().toString()); - assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); - - // Execute script actions, but don't persist on success. - scriptActionParams = getExecuteScriptActionParams("script5baf", installGiraph, false); - hdInsightManager.clusters().inner().executeScriptActions(resourceGroup.name(), clusterName, scriptActionParams); - - // List script action history and validate the new script also appears. - listHistoryResponse = hdInsightManager.scriptExecutionHistorys().inner() - .listByCluster(resourceGroup.name(), clusterName); - assertThat(listHistoryResponse).hasSize(2); - final String expectedScriptActionName = scriptActionParams.scriptActions().get(0).name(); - scriptAction = Iterables.find(listHistoryResponse, new Predicate() { - @Override - public boolean apply(RuntimeScriptActionDetailInner scriptAction) { - return scriptAction.name().equals(expectedScriptActionName); - } - }); - assertThat(scriptAction.executionSummary()).hasSize(1); - assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); - assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); - assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); - assertThat(scriptAction.status()).isEqualTo("Succeeded"); - - // Promote non-persisted script. - hdInsightManager.scriptExecutionHistorys().inner().promote( - resourceGroup.name(), - clusterName, - listHistoryResponse.get(0).scriptExecutionId().toString() - ); - - // List script action list and validate the promoted script is the only one there. - scriptActionList = hdInsightManager.scriptActions().inner().listByCluster(resourceGroup.name(), clusterName); - assertThat(scriptActionList).hasSize(1); - scriptAction = scriptActionList.get(0); - assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); - assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); - assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); - - // List script action history and validate all three scripts are there. - listHistoryResponse = hdInsightManager.scriptExecutionHistorys().inner().listByCluster( - resourceGroup.name(), - clusterName); - assertThat(listHistoryResponse).hasSize(2); - assertThat(listHistoryResponse).doesNotHave(new Condition>() { - @Override - public boolean matches(List scriptActions) { - for (RuntimeScriptActionDetailInner scriptAction : scriptActions) { - if (!scriptAction.status().equals("Succeeded")) { - return true; - } - } - - return false; - } - }); - } - - private ExecuteScriptActionParameters getExecuteScriptActionParams(String scriptName, String scriptUri, boolean persistOnSuccess) { - return new ExecuteScriptActionParameters() - .withPersistOnSuccess(persistOnSuccess) - .withScriptActions(Collections.singletonList( - new RuntimeScriptAction() - .withName(scriptName) - .withUri(scriptUri) - .withRoles(Arrays.asList("headnode", "workernode")) - )); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests; + +import com.google.common.base.Predicate; +import com.google.common.collect.Iterables; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateParametersExtended; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ExecuteScriptActionParameters; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.RuntimeScriptAction; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.RuntimeScriptActionDetailInner; +import org.assertj.core.api.Condition; +import org.junit.Test; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities.Utilities.*; +import static org.assertj.core.api.Assertions.assertThat; + +public class ScriptActionTests extends HDInsightManagementTestBase { + + @Test + public void testScriptActionsOnRunningCluster() { + String clusterName = generateRandomClusterName("hdisdk-scriptactions"); + String storageAccountKey = resourceManager.generateKey(storageAccount); + ClusterCreateParametersExtended createParams = prepareClusterCreateParams(region, clusterName, storageAccount, storageAccountKey); + ClusterInner cluster = hdInsightManager.clusters().inner().create(resourceGroup.name(), clusterName, createParams); + validateCluster(clusterName, createParams, cluster); + + String installGiraph = "https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh"; + String scriptName = "script1"; + + // Execute script actions, and persist on success. + ExecuteScriptActionParameters scriptActionParams = getExecuteScriptActionParams(scriptName, installGiraph, true); + hdInsightManager.clusters().inner().executeScriptActions(resourceGroup.name(), clusterName, scriptActionParams); + + // List script actions and validate script is persisted. + PagedList scriptActionList = hdInsightManager.scriptActions().inner().listByCluster(resourceGroup.name(), clusterName); + assertThat(scriptActionList).hasSize(1); + RuntimeScriptActionDetailInner scriptAction = scriptActionList.get(0); + assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); + assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); + assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); + + // Delete script action. + hdInsightManager.scriptActions().inner().delete(resourceGroup.name(), clusterName, scriptName); + + // List script actions and validate script is deleted. + scriptActionList = hdInsightManager.scriptActions().inner().listByCluster(resourceGroup.name(), clusterName); + assertThat(scriptActionList).isEmpty(); + + // List script action history and validate script appears there. + PagedList listHistoryResponse = hdInsightManager.scriptExecutionHistorys().inner().listByCluster( + resourceGroup.name(), + clusterName); + assertThat(listHistoryResponse).hasSize(1); + scriptAction = listHistoryResponse.get(0); + assertThat(scriptAction.executionSummary()).hasSize(1); + assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); + assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); + assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); + assertThat(scriptAction.status()).isEqualTo("Succeeded"); + + // Get the script action by ID and validate it's the same action. + scriptAction = hdInsightManager.scriptActions().inner().getExecutionDetail( + resourceGroup.name(), + clusterName, + scriptAction.scriptExecutionId().toString()); + assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); + + // Execute script actions, but don't persist on success. + scriptActionParams = getExecuteScriptActionParams("script5baf", installGiraph, false); + hdInsightManager.clusters().inner().executeScriptActions(resourceGroup.name(), clusterName, scriptActionParams); + + // List script action history and validate the new script also appears. + listHistoryResponse = hdInsightManager.scriptExecutionHistorys().inner() + .listByCluster(resourceGroup.name(), clusterName); + assertThat(listHistoryResponse).hasSize(2); + final String expectedScriptActionName = scriptActionParams.scriptActions().get(0).name(); + scriptAction = Iterables.find(listHistoryResponse, new Predicate() { + @Override + public boolean apply(RuntimeScriptActionDetailInner scriptAction) { + return scriptAction.name().equals(expectedScriptActionName); + } + }); + assertThat(scriptAction.executionSummary()).hasSize(1); + assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); + assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); + assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); + assertThat(scriptAction.status()).isEqualTo("Succeeded"); + + // Promote non-persisted script. + hdInsightManager.scriptExecutionHistorys().inner().promote( + resourceGroup.name(), + clusterName, + listHistoryResponse.get(0).scriptExecutionId().toString() + ); + + // List script action list and validate the promoted script is the only one there. + scriptActionList = hdInsightManager.scriptActions().inner().listByCluster(resourceGroup.name(), clusterName); + assertThat(scriptActionList).hasSize(1); + scriptAction = scriptActionList.get(0); + assertThat(scriptAction.name()).isEqualTo(scriptActionParams.scriptActions().get(0).name()); + assertThat(scriptAction.uri()).isEqualTo(scriptActionParams.scriptActions().get(0).uri()); + assertThat(scriptAction.roles()).isEqualTo(scriptActionParams.scriptActions().get(0).roles()); + + // List script action history and validate all three scripts are there. + listHistoryResponse = hdInsightManager.scriptExecutionHistorys().inner().listByCluster( + resourceGroup.name(), + clusterName); + assertThat(listHistoryResponse).hasSize(2); + assertThat(listHistoryResponse).doesNotHave(new Condition>() { + @Override + public boolean matches(List scriptActions) { + for (RuntimeScriptActionDetailInner scriptAction : scriptActions) { + if (!scriptAction.status().equals("Succeeded")) { + return true; + } + } + + return false; + } + }); + } + + private ExecuteScriptActionParameters getExecuteScriptActionParams(String scriptName, String scriptUri, boolean persistOnSuccess) { + return new ExecuteScriptActionParameters() + .withPersistOnSuccess(persistOnSuccess) + .withScriptActions(Collections.singletonList( + new RuntimeScriptAction() + .withName(scriptName) + .withUri(scriptUri) + .withRoles(Arrays.asList("headnode", "workernode")) + )); + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/HDInsightTestResourceManager.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/HDInsightTestResourceManager.java index eb9c4d465f659..c7fed21650ac6 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/HDInsightTestResourceManager.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/HDInsightTestResourceManager.java @@ -1,288 +1,288 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities; - -import com.microsoft.azure.keyvault.KeyIdentifier; -import com.microsoft.azure.keyvault.KeyVaultClient; -import com.microsoft.azure.keyvault.models.KeyBundle; -import com.microsoft.azure.keyvault.requests.CreateKeyRequest; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.microsoft.azure.management.keyvault.*; -import com.microsoft.azure.management.keyvault.implementation.KeyVaultManager; -import com.microsoft.azure.management.keyvault.implementation.VaultInner; -import com.microsoft.azure.management.msi.implementation.IdentityInner; -import com.microsoft.azure.management.msi.implementation.MSIManager; -import com.microsoft.azure.management.resources.ResourceGroup; -import com.microsoft.azure.management.resources.implementation.ResourceManager; -import com.microsoft.azure.management.storage.Kind; -import com.microsoft.azure.management.storage.StorageAccount; -import com.microsoft.azure.management.storage.StorageAccountSkuType; -import com.microsoft.azure.management.storage.implementation.StorageManager; -import com.microsoft.rest.RestClient; -import org.assertj.core.util.Lists; - -import java.util.List; -import java.util.UUID; - -import static com.microsoft.azure.arm.core.TestBase.generateRandomResourceName; -import static com.microsoft.azure.arm.core.TestBase.isRecordMode; -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests.HDInsightManagementTestBase.*; -import static com.microsoft.azure.management.storage.Kind.STORAGE; -import static org.assertj.core.api.Assertions.assertThat; - -/** - * Manage Azure resources used during test execution - */ -public class HDInsightTestResourceManager { - - /** - * Default key vault permissions. Give the service principal all permissions - */ - private static final Permissions DEFAULT_PERMISSIONS = new Permissions() - .withKeys(Lists.newArrayList(KeyPermissions.values())) - .withSecrets(Lists.newArrayList(SecretPermissions.values())) - .withCertificates(Lists.newArrayList(CertificatePermissions.values())) - .withStorage(Lists.newArrayList(StoragePermissions.values())); - - private static final int AZURE_RESOURCE_NAME_MAX_LEN = 24; - - /** - * Entry point to Azure Resources resource management. - */ - private final ResourceManager resourceManager; - - /** - * Entry point to Azure Storage resource management. - */ - private final StorageManager storageManager; - - /** - * Entry point to Azure Managed Service Identity (MSI) resource management. - */ - private final MSIManager msiManager; - - /** - * Entry point to Azure KeyVault resource management. - */ - private final KeyVaultManager keyVaultManager; - - /** - * Key vault client. - */ - private final KeyVaultClient keyVaultClient; - - private final String tenantId; - - public HDInsightTestResourceManager(RestClient restClient, String subscription, String tenant) { - resourceManager = ResourceManager.authenticate(restClient).withSubscription(subscription); - storageManager = StorageManager.authenticate(restClient, subscription); - msiManager = MSIManager.authenticate(restClient, subscription); - keyVaultManager = KeyVaultManager.authenticate(restClient, tenant, subscription); - keyVaultClient = new KeyVaultClient(createKeyVaultRestClient(restClient)); - tenantId = tenant; - } - - /** - * Create REST client for Key vault client - */ - private RestClient createKeyVaultRestClient(RestClient restClient) { - if (isRecordMode()) { - return restClient.newBuilder().withBaseUrl("https://{vaultBaseUrl}").build(); - } else { - return restClient; - } - } - - /** - * Create a resource group - */ - public ResourceGroup createResourceGroup() { - return createResourceGroup(RESOURCE_GROUP_NAME_PREFIX, REGION); - } - - public ResourceGroup createResourceGroup(String namePrefix, String region) { - String resourceGroupName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); - - // Here we assume that the resource group name is available. - // Considering that deletion is a dangerous operation, we just report error back to the tester - assertThat(resourceManager.resourceGroups().contain(resourceGroupName)).isFalse(); - - return resourceManager.resourceGroups().define(resourceGroupName) - .withRegion(region) - .create(); - } - - /** - * delete a resource group - */ - public void deleteResourceGroup(String resourceGroupName) { - resourceManager.resourceGroups().beginDeleteByName(resourceGroupName); - } - - /** - * Create a storage account. - */ - public StorageAccount createStorageAccount(String resourceGroupName) { - return createStorageAccount(resourceGroupName, STORAGE_ACCOUNT_NAME_PREFIX); - } - - public StorageAccount createStorageAccount(String resourceGroupName, String namePrefix) { - return createStorageAccount(resourceGroupName, namePrefix, STORAGE); - } - - public StorageAccount createStorageAccount(String resourceGroupName, String namePrefix, Kind kind) { - return createStorageAccount( - resourceGroupName, - namePrefix, - StorageAccountSkuType.STANDARD_LRS, - REGION, - kind - ); - } - - public StorageAccount createStorageAccount(String resourceGroupName, - String namePrefix, - StorageAccountSkuType sku, - String region, - Kind kind) { - String storageAccountName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); - StorageAccount.DefinitionStages.WithCreate builder = storageManager.storageAccounts().define(storageAccountName) - .withRegion(region) - .withExistingResourceGroup(resourceGroupName) - .withSku(sku); - - switch (kind) { - case BLOB_STORAGE: - builder = builder.withBlobStorageAccountKind(); - break; - case STORAGE: - builder = builder.withGeneralPurposeAccountKind(); - break; - case STORAGE_V2: - builder = builder.withGeneralPurposeAccountKindV2(); - break; - default: - throw new UnsupportedOperationException("Unsupported storage kind: " + kind); - } - - return builder.create(); - } - - /** - * Retrieve a storage account key. - */ - public String generateKey(StorageAccount storageAccount) { - return storageManager.storageAccounts() - .inner() - .listKeys(storageAccount.resourceGroupName(), storageAccount.name()) - .keys() - .get(0) - .value(); - } - - /** - * Create a Managed Service Identity - */ - public IdentityInner createManagedIdentity(String resourceGroupName) { - return createManagedIdentity(resourceGroupName, MANAGED_IDENTITY_NAME_PREFIX, REGION); - } - - public IdentityInner createManagedIdentity(String resourceGroupName, String namePrefix, String region) { - String msiName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); - IdentityInner createParams = (IdentityInner) new IdentityInner().withLocation(region); - return msiManager.identities().inner().createOrUpdate(resourceGroupName, msiName, createParams); - } - - /** - * Create a vault - */ - public VaultInner createVault(String resourceGroupName, Boolean enableSoftDelete) { - return createVault( - resourceGroupName, - SkuName.PREMIUM, - DEFAULT_PERMISSIONS, - true, - true, - true, - enableSoftDelete, - VAULT_NAME_PREFIX, - REGION); - } - - public VaultInner createVault(String resourceGroupName, - SkuName sku, - Permissions permissions, - Boolean enabledForDeployment, - Boolean enabledForDiskEncryption, - Boolean enabledForTemplateDeployment, - Boolean enableSoftDelete, - String namePrefix, - String region) { - String vaultName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); - List accessPolicies = Lists.newArrayList( - new AccessPolicyEntry().withTenantId(UUID.fromString(tenantId)) - .withObjectId(CLIENT_OID) - .withPermissions(permissions) - ); - - VaultProperties properties = new VaultProperties() - .withTenantId(UUID.fromString(tenantId)) - .withSku(new Sku().withName(sku)) - .withAccessPolicies(accessPolicies) - .withEnabledForDeployment(enabledForDeployment) - .withEnabledForDiskEncryption(enabledForDiskEncryption) - .withEnabledForTemplateDeployment(enabledForTemplateDeployment) - .withEnableSoftDelete(enableSoftDelete); - VaultCreateOrUpdateParameters parameters = new VaultCreateOrUpdateParameters().withLocation(region).withProperties(properties); - return keyVaultManager.vaults().inner().createOrUpdate(resourceGroupName, vaultName, parameters); - } - - /** - * Update vault to add access policy entry to some object, service principal or MSI, etc. - * - * @param vault vault to update - * @param resourceGroupName name of resource group where vault locates in - * @param objectId object ID of some Azure resource - * @param permissions permissions to be assigned to the specific Azure resource - */ - public VaultInner setVaultPermissions(VaultInner vault, String resourceGroupName, String objectId, Permissions permissions) { - vault.properties().accessPolicies().add( - new AccessPolicyEntry().withTenantId(UUID.fromString(tenantId)) - .withObjectId(objectId) - .withPermissions(permissions) - ); - - VaultCreateOrUpdateParameters updateParams = new VaultCreateOrUpdateParameters() - .withLocation(vault.location()) - .withProperties(vault.properties()); - return keyVaultManager.vaults().inner().createOrUpdate(resourceGroupName, vault.name(), updateParams); - } - - /** - * Generate a vault key identifier - */ - public KeyIdentifier generateVaultKey(VaultInner vault, String namePrefix) { - String vaultUri = vault.properties().vaultUri(); - String keyName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); - KeyBundle createdBundle = keyVaultClient.createKey(new CreateKeyRequest.Builder(vaultUri, keyName, JsonWebKeyType.RSA).build()); - return new KeyIdentifier(createdBundle.key().kid()); - } - - /** - * Delete a vault - */ - public void deleteVault(String resourceGroupName, String vaultName) { - keyVaultManager.vaults().deleteByResourceGroup(resourceGroupName, vaultName); - } - - /** - * Purge a deleted vault - */ - public void purgeDeletedVault(String vaultName, String location) { - keyVaultManager.vaults().purgeDeleted(vaultName, location); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities; + +import com.microsoft.azure.keyvault.KeyIdentifier; +import com.microsoft.azure.keyvault.KeyVaultClient; +import com.microsoft.azure.keyvault.models.KeyBundle; +import com.microsoft.azure.keyvault.requests.CreateKeyRequest; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.microsoft.azure.management.keyvault.*; +import com.microsoft.azure.management.keyvault.implementation.KeyVaultManager; +import com.microsoft.azure.management.keyvault.implementation.VaultInner; +import com.microsoft.azure.management.msi.implementation.IdentityInner; +import com.microsoft.azure.management.msi.implementation.MSIManager; +import com.microsoft.azure.management.resources.ResourceGroup; +import com.microsoft.azure.management.resources.implementation.ResourceManager; +import com.microsoft.azure.management.storage.Kind; +import com.microsoft.azure.management.storage.StorageAccount; +import com.microsoft.azure.management.storage.StorageAccountSkuType; +import com.microsoft.azure.management.storage.implementation.StorageManager; +import com.microsoft.rest.RestClient; +import org.assertj.core.util.Lists; + +import java.util.List; +import java.util.UUID; + +import static com.microsoft.azure.arm.core.TestBase.generateRandomResourceName; +import static com.microsoft.azure.arm.core.TestBase.isRecordMode; +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests.HDInsightManagementTestBase.*; +import static com.microsoft.azure.management.storage.Kind.STORAGE; +import static org.assertj.core.api.Assertions.assertThat; + +/** + * Manage Azure resources used during test execution + */ +public class HDInsightTestResourceManager { + + /** + * Default key vault permissions. Give the service principal all permissions + */ + private static final Permissions DEFAULT_PERMISSIONS = new Permissions() + .withKeys(Lists.newArrayList(KeyPermissions.values())) + .withSecrets(Lists.newArrayList(SecretPermissions.values())) + .withCertificates(Lists.newArrayList(CertificatePermissions.values())) + .withStorage(Lists.newArrayList(StoragePermissions.values())); + + private static final int AZURE_RESOURCE_NAME_MAX_LEN = 24; + + /** + * Entry point to Azure Resources resource management. + */ + private final ResourceManager resourceManager; + + /** + * Entry point to Azure Storage resource management. + */ + private final StorageManager storageManager; + + /** + * Entry point to Azure Managed Service Identity (MSI) resource management. + */ + private final MSIManager msiManager; + + /** + * Entry point to Azure KeyVault resource management. + */ + private final KeyVaultManager keyVaultManager; + + /** + * Key vault client. + */ + private final KeyVaultClient keyVaultClient; + + private final String tenantId; + + public HDInsightTestResourceManager(RestClient restClient, String subscription, String tenant) { + resourceManager = ResourceManager.authenticate(restClient).withSubscription(subscription); + storageManager = StorageManager.authenticate(restClient, subscription); + msiManager = MSIManager.authenticate(restClient, subscription); + keyVaultManager = KeyVaultManager.authenticate(restClient, tenant, subscription); + keyVaultClient = new KeyVaultClient(createKeyVaultRestClient(restClient)); + tenantId = tenant; + } + + /** + * Create REST client for Key vault client + */ + private RestClient createKeyVaultRestClient(RestClient restClient) { + if (isRecordMode()) { + return restClient.newBuilder().withBaseUrl("https://{vaultBaseUrl}").build(); + } else { + return restClient; + } + } + + /** + * Create a resource group + */ + public ResourceGroup createResourceGroup() { + return createResourceGroup(RESOURCE_GROUP_NAME_PREFIX, REGION); + } + + public ResourceGroup createResourceGroup(String namePrefix, String region) { + String resourceGroupName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); + + // Here we assume that the resource group name is available. + // Considering that deletion is a dangerous operation, we just report error back to the tester + assertThat(resourceManager.resourceGroups().contain(resourceGroupName)).isFalse(); + + return resourceManager.resourceGroups().define(resourceGroupName) + .withRegion(region) + .create(); + } + + /** + * delete a resource group + */ + public void deleteResourceGroup(String resourceGroupName) { + resourceManager.resourceGroups().beginDeleteByName(resourceGroupName); + } + + /** + * Create a storage account. + */ + public StorageAccount createStorageAccount(String resourceGroupName) { + return createStorageAccount(resourceGroupName, STORAGE_ACCOUNT_NAME_PREFIX); + } + + public StorageAccount createStorageAccount(String resourceGroupName, String namePrefix) { + return createStorageAccount(resourceGroupName, namePrefix, STORAGE); + } + + public StorageAccount createStorageAccount(String resourceGroupName, String namePrefix, Kind kind) { + return createStorageAccount( + resourceGroupName, + namePrefix, + StorageAccountSkuType.STANDARD_LRS, + REGION, + kind + ); + } + + public StorageAccount createStorageAccount(String resourceGroupName, + String namePrefix, + StorageAccountSkuType sku, + String region, + Kind kind) { + String storageAccountName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); + StorageAccount.DefinitionStages.WithCreate builder = storageManager.storageAccounts().define(storageAccountName) + .withRegion(region) + .withExistingResourceGroup(resourceGroupName) + .withSku(sku); + + switch (kind) { + case BLOB_STORAGE: + builder = builder.withBlobStorageAccountKind(); + break; + case STORAGE: + builder = builder.withGeneralPurposeAccountKind(); + break; + case STORAGE_V2: + builder = builder.withGeneralPurposeAccountKindV2(); + break; + default: + throw new UnsupportedOperationException("Unsupported storage kind: " + kind); + } + + return builder.create(); + } + + /** + * Retrieve a storage account key. + */ + public String generateKey(StorageAccount storageAccount) { + return storageManager.storageAccounts() + .inner() + .listKeys(storageAccount.resourceGroupName(), storageAccount.name()) + .keys() + .get(0) + .value(); + } + + /** + * Create a Managed Service Identity + */ + public IdentityInner createManagedIdentity(String resourceGroupName) { + return createManagedIdentity(resourceGroupName, MANAGED_IDENTITY_NAME_PREFIX, REGION); + } + + public IdentityInner createManagedIdentity(String resourceGroupName, String namePrefix, String region) { + String msiName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); + IdentityInner createParams = (IdentityInner) new IdentityInner().withLocation(region); + return msiManager.identities().inner().createOrUpdate(resourceGroupName, msiName, createParams); + } + + /** + * Create a vault + */ + public VaultInner createVault(String resourceGroupName, Boolean enableSoftDelete) { + return createVault( + resourceGroupName, + SkuName.PREMIUM, + DEFAULT_PERMISSIONS, + true, + true, + true, + enableSoftDelete, + VAULT_NAME_PREFIX, + REGION); + } + + public VaultInner createVault(String resourceGroupName, + SkuName sku, + Permissions permissions, + Boolean enabledForDeployment, + Boolean enabledForDiskEncryption, + Boolean enabledForTemplateDeployment, + Boolean enableSoftDelete, + String namePrefix, + String region) { + String vaultName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); + List accessPolicies = Lists.newArrayList( + new AccessPolicyEntry().withTenantId(UUID.fromString(tenantId)) + .withObjectId(CLIENT_OID) + .withPermissions(permissions) + ); + + VaultProperties properties = new VaultProperties() + .withTenantId(UUID.fromString(tenantId)) + .withSku(new Sku().withName(sku)) + .withAccessPolicies(accessPolicies) + .withEnabledForDeployment(enabledForDeployment) + .withEnabledForDiskEncryption(enabledForDiskEncryption) + .withEnabledForTemplateDeployment(enabledForTemplateDeployment) + .withEnableSoftDelete(enableSoftDelete); + VaultCreateOrUpdateParameters parameters = new VaultCreateOrUpdateParameters().withLocation(region).withProperties(properties); + return keyVaultManager.vaults().inner().createOrUpdate(resourceGroupName, vaultName, parameters); + } + + /** + * Update vault to add access policy entry to some object, service principal or MSI, etc. + * + * @param vault vault to update + * @param resourceGroupName name of resource group where vault locates in + * @param objectId object ID of some Azure resource + * @param permissions permissions to be assigned to the specific Azure resource + */ + public VaultInner setVaultPermissions(VaultInner vault, String resourceGroupName, String objectId, Permissions permissions) { + vault.properties().accessPolicies().add( + new AccessPolicyEntry().withTenantId(UUID.fromString(tenantId)) + .withObjectId(objectId) + .withPermissions(permissions) + ); + + VaultCreateOrUpdateParameters updateParams = new VaultCreateOrUpdateParameters() + .withLocation(vault.location()) + .withProperties(vault.properties()); + return keyVaultManager.vaults().inner().createOrUpdate(resourceGroupName, vault.name(), updateParams); + } + + /** + * Generate a vault key identifier + */ + public KeyIdentifier generateVaultKey(VaultInner vault, String namePrefix) { + String vaultUri = vault.properties().vaultUri(); + String keyName = generateRandomResourceName(namePrefix, AZURE_RESOURCE_NAME_MAX_LEN); + KeyBundle createdBundle = keyVaultClient.createKey(new CreateKeyRequest.Builder(vaultUri, keyName, JsonWebKeyType.RSA).build()); + return new KeyIdentifier(createdBundle.key().kid()); + } + + /** + * Delete a vault + */ + public void deleteVault(String resourceGroupName, String vaultName) { + keyVaultManager.vaults().deleteByResourceGroup(resourceGroupName, vaultName); + } + + /** + * Purge a deleted vault + */ + public void purgeDeletedVault(String vaultName, String location) { + keyVaultManager.vaults().purgeDeleted(vaultName, location); + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/Utilities.java b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/Utilities.java index 8cd3b60c164bc..b2eb93b83f056 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/Utilities.java +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/utilities/Utilities.java @@ -1,253 +1,253 @@ -/** - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - */ - -package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities; - -import com.google.common.base.Predicate; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.Iterables; -import com.google.common.collect.Lists; -import com.google.common.collect.Maps; -import com.microsoft.azure.arm.core.TestBase; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.*; -import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; -import org.assertj.core.api.Condition; - -import java.util.List; -import java.util.Map; - -import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests.HDInsightManagementTestBase.*; -import static org.assertj.core.api.Assertions.assertThat; - -public class Utilities { - - public static void validateCluster(String expectedClusterName, ClusterCreateParametersExtended expectedParameters, ClusterInner actualCluster) { - assertThat(actualCluster.name()).isEqualTo(expectedClusterName); - assertThat(actualCluster.properties().tier()).isEqualTo(expectedParameters.properties().tier()); - assertThat(actualCluster.etag()).isNotNull(); - assertThat(actualCluster.id()).endsWith(expectedClusterName); - assertThat(actualCluster.properties().clusterState()).isEqualTo("Running"); - assertThat(actualCluster.type()).isEqualTo("Microsoft.HDInsight/clusters"); - assertThat(actualCluster.location()).isEqualTo(expectedParameters.location()); - assertThat(actualCluster.getTags()).isEqualTo(expectedParameters.tags()); - assertThat(actualCluster.properties().connectivityEndpoints()).has(new Condition>() { - @Override - public boolean matches(List connectivityEndpoints) { - for (ConnectivityEndpoint connectivityEndpoint : connectivityEndpoints) { - if (connectivityEndpoint.name().equals("HTTPS")) { - return true; - } - } - - return false; - } - }); - assertThat(actualCluster.properties().connectivityEndpoints()).has(new Condition>() { - @Override - public boolean matches(List connectivityEndpoints) { - for (ConnectivityEndpoint connectivityEndpoint : connectivityEndpoints) { - if (connectivityEndpoint.name().equals("SSH")) { - return true; - } - } - - return false; - } - }); - assertThat(actualCluster.properties().osType()).isEqualTo(expectedParameters.properties().osType()); - assertThat(actualCluster.properties().errors()).isNull(); - assertThat(actualCluster.properties().provisioningState()).isEqualTo(HDInsightClusterProvisioningState.SUCCEEDED); - assertThat(actualCluster.properties().clusterDefinition().kind()) - .isEqualTo(expectedParameters.properties().clusterDefinition().kind()); - assertThat(actualCluster.properties().clusterVersion()).startsWith(expectedParameters.properties().clusterVersion()); - assertThat(actualCluster.properties().clusterDefinition().configurations()).isNull(); - } - - public static void validateHttpSettings(String expectedUserName, String expectedUserPassword, Map actualHttpSettings) { - assertThat(actualHttpSettings).isNotNull(); - assertThat(actualHttpSettings.get("restAuthCredential.isEnabled")).isEqualTo("true"); - assertThat(actualHttpSettings.get("restAuthCredential.username")).isEqualTo(expectedUserName); - assertThat(actualHttpSettings.get("restAuthCredential.password")).isEqualTo(expectedUserPassword); - } - - public static String generateRandomClusterName(String prefix) { - return generateRandomClusterName(prefix, 35); - } - - public static String generateRandomClusterName(String prefix, int maxLen) { - return TestBase.generateRandomResourceName(prefix, maxLen); - } - - public static Role findRoleByName(ClusterInner cluster, final String roleName) { - return Iterables.find( - cluster.properties() - .computeProfile() - .roles(), - new Predicate() { - @Override - public boolean apply(Role role) { - return role.name().equals(roleName); - } - } - ); - } - - public static Role findRoleByName(ClusterCreateParametersExtended cluster, final String roleName) { - return Iterables.find( - cluster.properties() - .computeProfile() - .roles(), - new Predicate() { - @Override - public boolean apply(Role role) { - return role.name().equals(roleName); - } - } - ); - } - - public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv1(String region, - String tenantId, - String clusterName) { - return prepareClusterCreateParamsForADLSv1(region, tenantId, clusterName, null); - } - - public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv1(String region, - String tenantId, - String clusterName, - ClusterCreateParametersExtended createParams) { - ClusterCreateParametersExtended createParamsForADLSv1 = createParams != null ? createParams : prepareClusterCreateParams(region, clusterName); - Map> configurations = (Map>) createParamsForADLSv1 - .properties().clusterDefinition().configurations(); - String clusterIdentity = "clusterIdentity"; - Map clusterIdentityConfig = ImmutableMap.of( - "clusterIdentity.applicationId", HDI_ADLS_CLIENT_ID, - "clusterIdentity.certificate", CERT_CONTENT, - "clusterIdentity.aadTenantId", "https://login.windows.net/" + tenantId, - "clusterIdentity.resourceUri", "https://datalake.azure.net/", - "clusterIdentity.certificatePassword", CERT_PASSWORD - ); - configurations.put(clusterIdentity, clusterIdentityConfig); - boolean isDefault = createParamsForADLSv1.properties().storageProfile().storageaccounts().isEmpty(); - if (isDefault) { - String coreSite = "core-site"; - Map coreConfig = ImmutableMap.of( - "fs.defaultFS", "adl://home", - "dfs.adls.home.hostname", HDI_ADLS_ACCOUNT_NAME + ".azuredatalakestore.net", - "dfs.adls.home.mountpoint", ADLS_HOME_MOUNTPOINT - ); - - configurations.put(coreSite, coreConfig); - } - - return createParamsForADLSv1; - } - - public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv2(String region, - String clusterName, - com.microsoft.azure.management.storage.StorageAccount storageAccount, - String storageAccountKey) { - return prepareClusterCreateParamsForADLSv2(region, clusterName, storageAccount, storageAccountKey, null); - } - - public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv2(String region, - String clusterName, - com.microsoft.azure.management.storage.StorageAccount storageAccount, - String storageAccountKey, - ClusterCreateParametersExtended createParams) { - ClusterCreateParametersExtended createParamsForADLSv2 = createParams != null ? createParams : prepareClusterCreateParams(region, clusterName); - boolean isDefault = createParamsForADLSv2.properties().storageProfile().storageaccounts().isEmpty(); - createParamsForADLSv2.properties().storageProfile().storageaccounts().add( - new StorageAccount() - .withName(storageAccount.name() + STORAGE_ADLS_FILE_SYSTEM_ENDPOINT_SUFFIX) - .withKey(storageAccountKey) - .withFileSystem(clusterName.toLowerCase()) - .withIsDefault(isDefault) - ); - - return createParamsForADLSv2; - } - - public static ClusterCreateParametersExtended prepareClusterCreateParams(String region, String clusterName) { - return prepareClusterCreateParams(region, clusterName, null, null); - } - - public static ClusterCreateParametersExtended prepareClusterCreateParams(String region, - String clusterName, - com.microsoft.azure.management.storage.StorageAccount storageAccount, - String storageAccountKey) { - List storageAccounts = Lists.newArrayList(); - if (storageAccount != null) { - storageAccounts.add( - new StorageAccount() - .withName(storageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) - .withKey(storageAccountKey) - .withContainer(clusterName.toLowerCase()) - .withIsDefault(true) - ); - } - - return new ClusterCreateParametersExtended() - .withLocation(region) - .withProperties(new ClusterCreateProperties() - .withClusterVersion("3.6") - .withOsType(OSType.LINUX) - .withTier(Tier.STANDARD) - .withClusterDefinition(new ClusterDefinition() - .withKind("hadoop") - .withConfigurations(Maps.newHashMap(ImmutableMap.of( - "gateway", ImmutableMap.of( - "restAuthCredential.isEnabled", "true", - "restAuthCredential.username", CLUSTER_USERNAME, - "restAuthCredential.password", CLUSTER_PASSWORD - )))) - ) - .withComputeProfile(new ComputeProfile() - .withRoles(Lists.newArrayList( - new Role().withName("headnode") - .withTargetInstanceCount(2) - .withHardwareProfile(new HardwareProfile() - .withVmSize("Large") - ) - .withOsProfile(new OsProfile() - .withLinuxOperatingSystemProfile( - new LinuxOperatingSystemProfile() - .withUsername(SSH_USERNAME) - .withPassword(SSH_PASSWORD) - ) - ), - new Role().withName("workernode") - .withTargetInstanceCount(3) - .withHardwareProfile(new HardwareProfile() - .withVmSize("Large") - ) - .withOsProfile(new OsProfile() - .withLinuxOperatingSystemProfile( - new LinuxOperatingSystemProfile() - .withUsername(SSH_USERNAME) - .withPassword(SSH_PASSWORD) - ) - ), - new Role().withName("zookeepernode") - .withTargetInstanceCount(3) - .withHardwareProfile(new HardwareProfile() - .withVmSize("Small") - ) - .withOsProfile(new OsProfile() - .withLinuxOperatingSystemProfile( - new LinuxOperatingSystemProfile() - .withUsername(SSH_USERNAME) - .withPassword(SSH_PASSWORD) - ) - ) - )) - ) - .withStorageProfile(new StorageProfile() - .withStorageaccounts(storageAccounts) - ) - ); - } -} +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + */ + +package com.microsoft.azure.management.hdinsight.v2018_06_01_preview.utilities; + +import com.google.common.base.Predicate; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.Iterables; +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; +import com.microsoft.azure.arm.core.TestBase; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.*; +import com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ClusterInner; +import org.assertj.core.api.Condition; + +import java.util.List; +import java.util.Map; + +import static com.microsoft.azure.management.hdinsight.v2018_06_01_preview.scenariotests.HDInsightManagementTestBase.*; +import static org.assertj.core.api.Assertions.assertThat; + +public class Utilities { + + public static void validateCluster(String expectedClusterName, ClusterCreateParametersExtended expectedParameters, ClusterInner actualCluster) { + assertThat(actualCluster.name()).isEqualTo(expectedClusterName); + assertThat(actualCluster.properties().tier()).isEqualTo(expectedParameters.properties().tier()); + assertThat(actualCluster.etag()).isNotNull(); + assertThat(actualCluster.id()).endsWith(expectedClusterName); + assertThat(actualCluster.properties().clusterState()).isEqualTo("Running"); + assertThat(actualCluster.type()).isEqualTo("Microsoft.HDInsight/clusters"); + assertThat(actualCluster.location()).isEqualTo(expectedParameters.location()); + assertThat(actualCluster.getTags()).isEqualTo(expectedParameters.tags()); + assertThat(actualCluster.properties().connectivityEndpoints()).has(new Condition>() { + @Override + public boolean matches(List connectivityEndpoints) { + for (ConnectivityEndpoint connectivityEndpoint : connectivityEndpoints) { + if (connectivityEndpoint.name().equals("HTTPS")) { + return true; + } + } + + return false; + } + }); + assertThat(actualCluster.properties().connectivityEndpoints()).has(new Condition>() { + @Override + public boolean matches(List connectivityEndpoints) { + for (ConnectivityEndpoint connectivityEndpoint : connectivityEndpoints) { + if (connectivityEndpoint.name().equals("SSH")) { + return true; + } + } + + return false; + } + }); + assertThat(actualCluster.properties().osType()).isEqualTo(expectedParameters.properties().osType()); + assertThat(actualCluster.properties().errors()).isNull(); + assertThat(actualCluster.properties().provisioningState()).isEqualTo(HDInsightClusterProvisioningState.SUCCEEDED); + assertThat(actualCluster.properties().clusterDefinition().kind()) + .isEqualTo(expectedParameters.properties().clusterDefinition().kind()); + assertThat(actualCluster.properties().clusterVersion()).startsWith(expectedParameters.properties().clusterVersion()); + assertThat(actualCluster.properties().clusterDefinition().configurations()).isNull(); + } + + public static void validateHttpSettings(String expectedUserName, String expectedUserPassword, Map actualHttpSettings) { + assertThat(actualHttpSettings).isNotNull(); + assertThat(actualHttpSettings.get("restAuthCredential.isEnabled")).isEqualTo("true"); + assertThat(actualHttpSettings.get("restAuthCredential.username")).isEqualTo(expectedUserName); + assertThat(actualHttpSettings.get("restAuthCredential.password")).isEqualTo(expectedUserPassword); + } + + public static String generateRandomClusterName(String prefix) { + return generateRandomClusterName(prefix, 35); + } + + public static String generateRandomClusterName(String prefix, int maxLen) { + return TestBase.generateRandomResourceName(prefix, maxLen); + } + + public static Role findRoleByName(ClusterInner cluster, final String roleName) { + return Iterables.find( + cluster.properties() + .computeProfile() + .roles(), + new Predicate() { + @Override + public boolean apply(Role role) { + return role.name().equals(roleName); + } + } + ); + } + + public static Role findRoleByName(ClusterCreateParametersExtended cluster, final String roleName) { + return Iterables.find( + cluster.properties() + .computeProfile() + .roles(), + new Predicate() { + @Override + public boolean apply(Role role) { + return role.name().equals(roleName); + } + } + ); + } + + public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv1(String region, + String tenantId, + String clusterName) { + return prepareClusterCreateParamsForADLSv1(region, tenantId, clusterName, null); + } + + public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv1(String region, + String tenantId, + String clusterName, + ClusterCreateParametersExtended createParams) { + ClusterCreateParametersExtended createParamsForADLSv1 = createParams != null ? createParams : prepareClusterCreateParams(region, clusterName); + Map> configurations = (Map>) createParamsForADLSv1 + .properties().clusterDefinition().configurations(); + String clusterIdentity = "clusterIdentity"; + Map clusterIdentityConfig = ImmutableMap.of( + "clusterIdentity.applicationId", HDI_ADLS_CLIENT_ID, + "clusterIdentity.certificate", CERT_CONTENT, + "clusterIdentity.aadTenantId", "https://login.windows.net/" + tenantId, + "clusterIdentity.resourceUri", "https://datalake.azure.net/", + "clusterIdentity.certificatePassword", CERT_PASSWORD + ); + configurations.put(clusterIdentity, clusterIdentityConfig); + boolean isDefault = createParamsForADLSv1.properties().storageProfile().storageaccounts().isEmpty(); + if (isDefault) { + String coreSite = "core-site"; + Map coreConfig = ImmutableMap.of( + "fs.defaultFS", "adl://home", + "dfs.adls.home.hostname", HDI_ADLS_ACCOUNT_NAME + ".azuredatalakestore.net", + "dfs.adls.home.mountpoint", ADLS_HOME_MOUNTPOINT + ); + + configurations.put(coreSite, coreConfig); + } + + return createParamsForADLSv1; + } + + public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv2(String region, + String clusterName, + com.microsoft.azure.management.storage.StorageAccount storageAccount, + String storageAccountKey) { + return prepareClusterCreateParamsForADLSv2(region, clusterName, storageAccount, storageAccountKey, null); + } + + public static ClusterCreateParametersExtended prepareClusterCreateParamsForADLSv2(String region, + String clusterName, + com.microsoft.azure.management.storage.StorageAccount storageAccount, + String storageAccountKey, + ClusterCreateParametersExtended createParams) { + ClusterCreateParametersExtended createParamsForADLSv2 = createParams != null ? createParams : prepareClusterCreateParams(region, clusterName); + boolean isDefault = createParamsForADLSv2.properties().storageProfile().storageaccounts().isEmpty(); + createParamsForADLSv2.properties().storageProfile().storageaccounts().add( + new StorageAccount() + .withName(storageAccount.name() + STORAGE_ADLS_FILE_SYSTEM_ENDPOINT_SUFFIX) + .withKey(storageAccountKey) + .withFileSystem(clusterName.toLowerCase()) + .withIsDefault(isDefault) + ); + + return createParamsForADLSv2; + } + + public static ClusterCreateParametersExtended prepareClusterCreateParams(String region, String clusterName) { + return prepareClusterCreateParams(region, clusterName, null, null); + } + + public static ClusterCreateParametersExtended prepareClusterCreateParams(String region, + String clusterName, + com.microsoft.azure.management.storage.StorageAccount storageAccount, + String storageAccountKey) { + List storageAccounts = Lists.newArrayList(); + if (storageAccount != null) { + storageAccounts.add( + new StorageAccount() + .withName(storageAccount.name() + STORAGE_BLOB_SERVICE_ENDPOINT_SUFFIX) + .withKey(storageAccountKey) + .withContainer(clusterName.toLowerCase()) + .withIsDefault(true) + ); + } + + return new ClusterCreateParametersExtended() + .withLocation(region) + .withProperties(new ClusterCreateProperties() + .withClusterVersion("3.6") + .withOsType(OSType.LINUX) + .withTier(Tier.STANDARD) + .withClusterDefinition(new ClusterDefinition() + .withKind("hadoop") + .withConfigurations(Maps.newHashMap(ImmutableMap.of( + "gateway", ImmutableMap.of( + "restAuthCredential.isEnabled", "true", + "restAuthCredential.username", CLUSTER_USERNAME, + "restAuthCredential.password", CLUSTER_PASSWORD + )))) + ) + .withComputeProfile(new ComputeProfile() + .withRoles(Lists.newArrayList( + new Role().withName("headnode") + .withTargetInstanceCount(2) + .withHardwareProfile(new HardwareProfile() + .withVmSize("Large") + ) + .withOsProfile(new OsProfile() + .withLinuxOperatingSystemProfile( + new LinuxOperatingSystemProfile() + .withUsername(SSH_USERNAME) + .withPassword(SSH_PASSWORD) + ) + ), + new Role().withName("workernode") + .withTargetInstanceCount(3) + .withHardwareProfile(new HardwareProfile() + .withVmSize("Large") + ) + .withOsProfile(new OsProfile() + .withLinuxOperatingSystemProfile( + new LinuxOperatingSystemProfile() + .withUsername(SSH_USERNAME) + .withPassword(SSH_PASSWORD) + ) + ), + new Role().withName("zookeepernode") + .withTargetInstanceCount(3) + .withHardwareProfile(new HardwareProfile() + .withVmSize("Small") + ) + .withOsProfile(new OsProfile() + .withLinuxOperatingSystemProfile( + new LinuxOperatingSystemProfile() + .withUsername(SSH_USERNAME) + .withPassword(SSH_PASSWORD) + ) + ) + )) + ) + .withStorageProfile(new StorageProfile() + .withStorageaccounts(storageAccounts) + ) + ); + } +} diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtCluster.json index 3b1b1e0c84819..352a6fe0485dc 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtCluster.json @@ -1,1330 +1,1330 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-c30649970cb9?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:16 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ad4418ac-a0ba-413d-a0d4-bb7f952ff307", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T132416Z:ad4418ac-a0ba-413d-a0d4-bb7f952ff307", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ad4418ac-a0ba-413d-a0d4-bb7f952ff307", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-c30649970cb9?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:18 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1c3cc0a5-0318-482d-aa4d-8ae99d132c7b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132418Z:1c3cc0a5-0318-482d-aa4d-8ae99d132c7b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1c3cc0a5-0318-482d-aa4d-8ae99d132c7b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9\",\"name\":\"hdijava-c30649970cb9\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:19 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f7a2e46d-228e-43cd-ab1e-5f5f24f90908", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132419Z:f7a2e46d-228e-43cd-ab1e-5f5f24f90908", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "9cb495af-b20c-4cd6-b875-3f72aa4c5f65", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:19 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "37f614d1-0c02-4119-9eb6-fffcfd90f263", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132420Z:37f614d1-0c02-4119-9eb6-fffcfd90f263", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "7daf76f3-a99d-4155-a715-21f0efb83d32", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:36 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c06be042-fa5a-4efe-9c1e-59ae5426bf33", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132437Z:c06be042-fa5a-4efe-9c1e-59ae5426bf33", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "2bd0ed56-4ec5-4190-9044-f1b08c294796", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba\",\"name\":\"hdijava07c96247a3ba\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:24:19.3636731Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava07c96247a3ba.blob.core.windows.net/\",\"queue\":\"https://hdijava07c96247a3ba.queue.core.windows.net/\",\"table\":\"https://hdijava07c96247a3ba.table.core.windows.net/\",\"file\":\"https://hdijava07c96247a3ba.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:36 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0b4f42a4-b60c-4d80-bd11-eefc8ae5ef38", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132437Z:0b4f42a4-b60c-4d80-bd11-eefc8ae5ef38", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "f661c487-8caa-4e62-979a-991cfe1a8394", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba\",\"name\":\"hdijava07c96247a3ba\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:24:19.3636731Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava07c96247a3ba.blob.core.windows.net/\",\"queue\":\"https://hdijava07c96247a3ba.queue.core.windows.net/\",\"table\":\"https://hdijava07c96247a3ba.table.core.windows.net/\",\"file\":\"https://hdijava07c96247a3ba.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:36 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "51299d08-398d-460d-86e2-64d86599accb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132437Z:51299d08-398d-460d-86e2-64d86599accb", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "38e8e185-723d-4b14-9075-2e6ade9064ef", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"MKvApmMwVCHmi9nuZa/Df8TDyBB5kguup4poB2armdcuEVeOjxpDRSq+7oGWMVvDBI0awqZ9U4bIfPlR/JaCWQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"hySMh8nrddWJ+S3ieKeWATWcXTYg40TZjE48m3KzE7r5Dt9U/desPRmdnYVtM8scHNN/qPwSBXaSAs/JC6erUA==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:57 GMT", - "content-length" : "1271", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0e87ac82-d111-4cb8-acb4-4ebc81fa2b3d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132457Z:0e87ac82-d111-4cb8-acb4-4ebc81fa2b3d", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"cf3f353d-5dd5-40c8-9a6e-d1ae3536d03f\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51?api-version=2018-06-01-preview", - "x-ms-request-id" : "788a3386-5d89-461b-925f-07ec4eafe27f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51\",\"name\":\"hdisdk-humboldt54d06119725e51\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"cf3f353d-5dd5-40c8-9a6e-d1ae3536d03f\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T13:24:56.38\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "63cb81a2-2e2c-43f9-9e68-9814c78acc41", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132457Z:63cb81a2-2e2c-43f9-9e68-9814c78acc41", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ace82b42-18d5-485a-81aa-fb61991f7391", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:25:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1c462ebe-6303-4905-a6d9-85e5f34e33ca", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132528Z:1c462ebe-6303-4905-a6d9-85e5f34e33ca", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "afb75361-7c66-434d-a807-f11f37574390", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:25:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "249c12c9-d79e-4aec-bf84-f5aa71a8fd48", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132558Z:249c12c9-d79e-4aec-bf84-f5aa71a8fd48", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d15275b4-ce6f-4443-a09d-00daf73ac9e5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:26:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "751f01d4-1222-449e-8634-cf5627be59ce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132629Z:751f01d4-1222-449e-8634-cf5627be59ce", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d300eb92-abba-4ea8-8a8a-890b864c2723", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:26:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "226f60ea-6e41-4fa8-9412-c5e8428ef3ad", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132659Z:226f60ea-6e41-4fa8-9412-c5e8428ef3ad", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e5f4bdfe-841c-4015-ab5e-068251cfeb34", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:27:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d02fecc6-9194-462c-8a48-0a1a58b48bd3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132730Z:d02fecc6-9194-462c-8a48-0a1a58b48bd3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "65c64f28-5224-4d84-ae68-32308a203924", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:28:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2219aadb-deb4-4242-814d-46f239565c80", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132800Z:2219aadb-deb4-4242-814d-46f239565c80", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "375f75d3-6872-4873-b1b1-ce5b377e608d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:28:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "70a30ce2-d988-4f2c-941a-8afd8a2eaaf4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132831Z:70a30ce2-d988-4f2c-941a-8afd8a2eaaf4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1297f779-a63d-409b-b16c-93f4bfb6f187", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:29:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dfc97b89-482f-49ff-866e-6a1b56abc086", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132901Z:dfc97b89-482f-49ff-866e-6a1b56abc086", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c87d063-97d0-4106-8b2f-bc40bc191434", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:29:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "234f4fc6-6a04-4d4f-baf7-986e80f666f4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132932Z:234f4fc6-6a04-4d4f-baf7-986e80f666f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6f043eb2-7ac2-4b24-937d-c5416f27167a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:30:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "44f20492-2b2d-4c49-8abb-d96bcd8eb4a0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133002Z:44f20492-2b2d-4c49-8abb-d96bcd8eb4a0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4d366081-c9c4-49cb-813a-e1ad16397e30", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:30:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "409dd99c-5b13-4597-a06b-2b25b257aef0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133033Z:409dd99c-5b13-4597-a06b-2b25b257aef0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1ec6f05f-aed0-4a20-9479-d7e1b0dfd482", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:31:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "627513cd-dae8-424c-881d-6b1d2d8edfec", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133104Z:627513cd-dae8-424c-881d-6b1d2d8edfec", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "915288b8-09ec-4a58-bc3d-118170df086c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:31:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e6f1e010-d397-46b8-9bf0-04eabf373514", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133134Z:e6f1e010-d397-46b8-9bf0-04eabf373514", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "11346f0e-b6f7-410d-a8f5-9c3de2f61981", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:32:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4954eea8-9323-424e-b05e-f777675487f4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133205Z:4954eea8-9323-424e-b05e-f777675487f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "48794f01-99a8-46ee-a33e-0413bbb787a7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:32:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "80688aed-6ba9-4a0a-8de3-9535c541f287", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133235Z:80688aed-6ba9-4a0a-8de3-9535c541f287", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "af66dc1e-91cd-45a1-afd9-c842bb530b67", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:33:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "641d5906-81d9-4b5c-88f8-b3c6ac4fe3d5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133306Z:641d5906-81d9-4b5c-88f8-b3c6ac4fe3d5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "95212689-1b1b-433f-a81e-2888179e27f6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:33:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2d457857-b772-42bb-88b0-25e5582dc002", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133336Z:2d457857-b772-42bb-88b0-25e5582dc002", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "95602738-a713-4401-b294-4215e0d3f84e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:34:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fa943b99-8134-4b7d-9d76-1cfd77d0680b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133407Z:fa943b99-8134-4b7d-9d76-1cfd77d0680b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9b6932f8-2d6f-481b-98cf-6440a749bc74", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:34:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c4ddb405-a2eb-4a70-a3a8-f18466aea865", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133437Z:c4ddb405-a2eb-4a70-a3a8-f18466aea865", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4a3140a4-136c-4c19-8d5f-892879ce465c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:35:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1c494372-1547-4804-8d9a-c547198ce47c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133507Z:1c494372-1547-4804-8d9a-c547198ce47c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e27b442a-d871-452c-9c35-4dc659f35f2a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:35:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "67300157-502c-4641-8198-3cf93c6cce80", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133538Z:67300157-502c-4641-8198-3cf93c6cce80", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6b879541-a986-42ab-ae1f-2c6557a22c8c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:36:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "72d49322-61d3-4ea8-9b2d-8627a951ae90", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133608Z:72d49322-61d3-4ea8-9b2d-8627a951ae90", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c064753e-83c3-458f-933e-ff7dc3c75d27", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:36:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "232ebf67-0c6e-438b-a421-9fc76c297c34", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133639Z:232ebf67-0c6e-438b-a421-9fc76c297c34", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "71669cca-3ce9-4dd1-896c-743a815a5877", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:37:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d68cc852-c982-4f49-a324-d2e86d514b18", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133709Z:d68cc852-c982-4f49-a324-d2e86d514b18", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6a6e5238-7c1e-4017-afda-17805e540926", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:37:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "13a7e75f-bda5-4175-b088-4b006bb96b70", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133740Z:13a7e75f-bda5-4175-b088-4b006bb96b70", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7e715779-abc9-410e-9a92-9f02d0d110a2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:38:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8bf31a49-d5c3-47a0-a65a-682ba717d24c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133810Z:8bf31a49-d5c3-47a0-a65a-682ba717d24c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c8d1aa27-bc51-47ec-90e2-58e4207070b4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:38:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2e1650b1-f2de-45e5-8159-ed30f1eb9d7a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133841Z:2e1650b1-f2de-45e5-8159-ed30f1eb9d7a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5aced093-27d5-4838-9c84-da2b208b7a38", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:39:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dceff184-0df6-40e0-9513-26c400d797b6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133911Z:dceff184-0df6-40e0-9513-26c400d797b6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1ddb9add-dd30-452c-96ee-a041cbe1dc5d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:39:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0324d27-c369-4670-9fd8-2e9ae4341e95", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T133942Z:e0324d27-c369-4670-9fd8-2e9ae4341e95", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "571f84ea-be26-4e63-b73a-b8904583de12", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:40:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "204946c4-de31-41f8-92df-3ce71bc8af9f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134012Z:204946c4-de31-41f8-92df-3ce71bc8af9f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7736baa1-7141-41ab-8690-c21757e37cc2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:40:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "89b52c5f-43d0-4086-bedf-5f4bd6ce2d1d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134042Z:89b52c5f-43d0-4086-bedf-5f4bd6ce2d1d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "cbab1e95-417b-4f6f-8318-71b16fd74ea3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:41:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e26c8a4a-0423-40d8-afea-a06ed4a5a57f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134113Z:e26c8a4a-0423-40d8-afea-a06ed4a5a57f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2bbed4e-9aff-43ab-832f-8163bb04c592", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:41:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d75acc24-3caa-4084-a9b1-32ec17b139a2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134143Z:d75acc24-3caa-4084-a9b1-32ec17b139a2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "924ffa0f-29a5-4b88-85ee-71515dab4728", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:42:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e55bda21-72e2-456e-822a-3166880d9a9a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134214Z:e55bda21-72e2-456e-822a-3166880d9a9a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0e7cdab3-b118-4756-a528-8da1a4ee086a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:42:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cf8401fd-205c-4012-bb8a-6989a21f5757", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134244Z:cf8401fd-205c-4012-bb8a-6989a21f5757", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7f91a1f6-7c68-40fe-8557-67995aa7d5aa", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:43:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b51a7e50-5325-4f13-9bd2-92db7c1e84b3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134315Z:b51a7e50-5325-4f13-9bd2-92db7c1e84b3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "22792238-45ab-452d-ae0e-4fcfe64870b9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:43:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "884a5984-e0d1-4c7d-a8fb-6c8279ceaf40", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134345Z:884a5984-e0d1-4c7d-a8fb-6c8279ceaf40", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d4dec18c-f621-4d4e-80c2-2b624fa68f54", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:44:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "46cfd1ae-6358-449a-b79e-12d59b3da86a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134416Z:46cfd1ae-6358-449a-b79e-12d59b3da86a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e1d9250f-2f55-491e-a5f9-e0ffd2b8f116", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:44:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f3dd4133-2c62-4742-afc8-5e84a0306905", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134447Z:f3dd4133-2c62-4742-afc8-5e84a0306905", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0091b496-551f-4be3-bd5d-0e5ace8675a9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:16 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3fbb16b3-b4b7-472a-8d08-8a71399fe808", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134517Z:3fbb16b3-b4b7-472a-8d08-8a71399fe808", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0cd23f9a-e649-4640-bff0-d847e032f73a", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:17 GMT", - "content-length" : "1523", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e4f03c5f-f7b8-4c88-be55-f9bd4b328b77", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134518Z:e4f03c5f-f7b8-4c88-be55-f9bd4b328b77", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "17929421-1ed7-4d47-a8ad-722d32808877", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51\",\"name\":\"hdisdk-humboldt54d06119725e51\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"cf3f353d-5dd5-40c8-9a6e-d1ae3536d03f\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T13:24:56.38\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-humboldt54d06119725e51-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-humboldt54d06119725e51.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-c30649970cb9?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:18 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c97f2319-f1c3-49c8-ab08-40fe174a15b2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134519Z:c97f2319-f1c3-49c8-ab08-40fe174a15b2", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEQzMwNjQ5OTcwQ0I5LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "c97f2319-f1c3-49c8-ab08-40fe174a15b2", - "Body" : "" - } - } ], - "variables" : [ "hdijava-c30649970cb9", "hdijava07c96247a3ba", "hdisdk-humboldt54d06119725e51" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-c30649970cb9?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:16 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad4418ac-a0ba-413d-a0d4-bb7f952ff307", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T132416Z:ad4418ac-a0ba-413d-a0d4-bb7f952ff307", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ad4418ac-a0ba-413d-a0d4-bb7f952ff307", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-c30649970cb9?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:18 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1c3cc0a5-0318-482d-aa4d-8ae99d132c7b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132418Z:1c3cc0a5-0318-482d-aa4d-8ae99d132c7b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1c3cc0a5-0318-482d-aa4d-8ae99d132c7b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9\",\"name\":\"hdijava-c30649970cb9\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:19 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f7a2e46d-228e-43cd-ab1e-5f5f24f90908", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132419Z:f7a2e46d-228e-43cd-ab1e-5f5f24f90908", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "9cb495af-b20c-4cd6-b875-3f72aa4c5f65", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:19 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "37f614d1-0c02-4119-9eb6-fffcfd90f263", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132420Z:37f614d1-0c02-4119-9eb6-fffcfd90f263", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "7daf76f3-a99d-4155-a715-21f0efb83d32", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9cb495af-b20c-4cd6-b875-3f72aa4c5f65?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:36 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c06be042-fa5a-4efe-9c1e-59ae5426bf33", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132437Z:c06be042-fa5a-4efe-9c1e-59ae5426bf33", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "2bd0ed56-4ec5-4190-9044-f1b08c294796", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba\",\"name\":\"hdijava07c96247a3ba\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:24:19.3636731Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava07c96247a3ba.blob.core.windows.net/\",\"queue\":\"https://hdijava07c96247a3ba.queue.core.windows.net/\",\"table\":\"https://hdijava07c96247a3ba.table.core.windows.net/\",\"file\":\"https://hdijava07c96247a3ba.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:36 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0b4f42a4-b60c-4d80-bd11-eefc8ae5ef38", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132437Z:0b4f42a4-b60c-4d80-bd11-eefc8ae5ef38", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "f661c487-8caa-4e62-979a-991cfe1a8394", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba\",\"name\":\"hdijava07c96247a3ba\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:24:19.4886780Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:24:19.3636731Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava07c96247a3ba.blob.core.windows.net/\",\"queue\":\"https://hdijava07c96247a3ba.queue.core.windows.net/\",\"table\":\"https://hdijava07c96247a3ba.table.core.windows.net/\",\"file\":\"https://hdijava07c96247a3ba.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.Storage/storageAccounts/hdijava07c96247a3ba/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:36 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "51299d08-398d-460d-86e2-64d86599accb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132437Z:51299d08-398d-460d-86e2-64d86599accb", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "38e8e185-723d-4b14-9075-2e6ade9064ef", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"MKvApmMwVCHmi9nuZa/Df8TDyBB5kguup4poB2armdcuEVeOjxpDRSq+7oGWMVvDBI0awqZ9U4bIfPlR/JaCWQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"hySMh8nrddWJ+S3ieKeWATWcXTYg40TZjE48m3KzE7r5Dt9U/desPRmdnYVtM8scHNN/qPwSBXaSAs/JC6erUA==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:57 GMT", + "content-length" : "1271", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0e87ac82-d111-4cb8-acb4-4ebc81fa2b3d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132457Z:0e87ac82-d111-4cb8-acb4-4ebc81fa2b3d", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"cf3f353d-5dd5-40c8-9a6e-d1ae3536d03f\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51?api-version=2018-06-01-preview", + "x-ms-request-id" : "788a3386-5d89-461b-925f-07ec4eafe27f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51\",\"name\":\"hdisdk-humboldt54d06119725e51\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"cf3f353d-5dd5-40c8-9a6e-d1ae3536d03f\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T13:24:56.38\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "63cb81a2-2e2c-43f9-9e68-9814c78acc41", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132457Z:63cb81a2-2e2c-43f9-9e68-9814c78acc41", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ace82b42-18d5-485a-81aa-fb61991f7391", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:25:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1c462ebe-6303-4905-a6d9-85e5f34e33ca", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132528Z:1c462ebe-6303-4905-a6d9-85e5f34e33ca", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "afb75361-7c66-434d-a807-f11f37574390", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:25:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "249c12c9-d79e-4aec-bf84-f5aa71a8fd48", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132558Z:249c12c9-d79e-4aec-bf84-f5aa71a8fd48", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d15275b4-ce6f-4443-a09d-00daf73ac9e5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:26:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "751f01d4-1222-449e-8634-cf5627be59ce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132629Z:751f01d4-1222-449e-8634-cf5627be59ce", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d300eb92-abba-4ea8-8a8a-890b864c2723", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:26:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "226f60ea-6e41-4fa8-9412-c5e8428ef3ad", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132659Z:226f60ea-6e41-4fa8-9412-c5e8428ef3ad", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e5f4bdfe-841c-4015-ab5e-068251cfeb34", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:27:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d02fecc6-9194-462c-8a48-0a1a58b48bd3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132730Z:d02fecc6-9194-462c-8a48-0a1a58b48bd3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "65c64f28-5224-4d84-ae68-32308a203924", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:28:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2219aadb-deb4-4242-814d-46f239565c80", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132800Z:2219aadb-deb4-4242-814d-46f239565c80", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "375f75d3-6872-4873-b1b1-ce5b377e608d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:28:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "70a30ce2-d988-4f2c-941a-8afd8a2eaaf4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132831Z:70a30ce2-d988-4f2c-941a-8afd8a2eaaf4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1297f779-a63d-409b-b16c-93f4bfb6f187", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:29:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dfc97b89-482f-49ff-866e-6a1b56abc086", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132901Z:dfc97b89-482f-49ff-866e-6a1b56abc086", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5c87d063-97d0-4106-8b2f-bc40bc191434", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:29:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "234f4fc6-6a04-4d4f-baf7-986e80f666f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132932Z:234f4fc6-6a04-4d4f-baf7-986e80f666f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6f043eb2-7ac2-4b24-937d-c5416f27167a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:30:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "44f20492-2b2d-4c49-8abb-d96bcd8eb4a0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133002Z:44f20492-2b2d-4c49-8abb-d96bcd8eb4a0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4d366081-c9c4-49cb-813a-e1ad16397e30", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:30:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "409dd99c-5b13-4597-a06b-2b25b257aef0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133033Z:409dd99c-5b13-4597-a06b-2b25b257aef0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1ec6f05f-aed0-4a20-9479-d7e1b0dfd482", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:31:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "627513cd-dae8-424c-881d-6b1d2d8edfec", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133104Z:627513cd-dae8-424c-881d-6b1d2d8edfec", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "915288b8-09ec-4a58-bc3d-118170df086c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:31:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e6f1e010-d397-46b8-9bf0-04eabf373514", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133134Z:e6f1e010-d397-46b8-9bf0-04eabf373514", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "11346f0e-b6f7-410d-a8f5-9c3de2f61981", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:32:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4954eea8-9323-424e-b05e-f777675487f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133205Z:4954eea8-9323-424e-b05e-f777675487f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "48794f01-99a8-46ee-a33e-0413bbb787a7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:32:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "80688aed-6ba9-4a0a-8de3-9535c541f287", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133235Z:80688aed-6ba9-4a0a-8de3-9535c541f287", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "af66dc1e-91cd-45a1-afd9-c842bb530b67", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:33:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "641d5906-81d9-4b5c-88f8-b3c6ac4fe3d5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133306Z:641d5906-81d9-4b5c-88f8-b3c6ac4fe3d5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "95212689-1b1b-433f-a81e-2888179e27f6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:33:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2d457857-b772-42bb-88b0-25e5582dc002", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133336Z:2d457857-b772-42bb-88b0-25e5582dc002", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "95602738-a713-4401-b294-4215e0d3f84e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:34:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fa943b99-8134-4b7d-9d76-1cfd77d0680b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133407Z:fa943b99-8134-4b7d-9d76-1cfd77d0680b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9b6932f8-2d6f-481b-98cf-6440a749bc74", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:34:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c4ddb405-a2eb-4a70-a3a8-f18466aea865", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133437Z:c4ddb405-a2eb-4a70-a3a8-f18466aea865", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4a3140a4-136c-4c19-8d5f-892879ce465c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:35:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1c494372-1547-4804-8d9a-c547198ce47c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133507Z:1c494372-1547-4804-8d9a-c547198ce47c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e27b442a-d871-452c-9c35-4dc659f35f2a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:35:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "67300157-502c-4641-8198-3cf93c6cce80", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133538Z:67300157-502c-4641-8198-3cf93c6cce80", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6b879541-a986-42ab-ae1f-2c6557a22c8c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:36:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "72d49322-61d3-4ea8-9b2d-8627a951ae90", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133608Z:72d49322-61d3-4ea8-9b2d-8627a951ae90", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c064753e-83c3-458f-933e-ff7dc3c75d27", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:36:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "232ebf67-0c6e-438b-a421-9fc76c297c34", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133639Z:232ebf67-0c6e-438b-a421-9fc76c297c34", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "71669cca-3ce9-4dd1-896c-743a815a5877", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:37:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d68cc852-c982-4f49-a324-d2e86d514b18", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133709Z:d68cc852-c982-4f49-a324-d2e86d514b18", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6a6e5238-7c1e-4017-afda-17805e540926", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:37:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "13a7e75f-bda5-4175-b088-4b006bb96b70", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133740Z:13a7e75f-bda5-4175-b088-4b006bb96b70", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7e715779-abc9-410e-9a92-9f02d0d110a2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:38:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8bf31a49-d5c3-47a0-a65a-682ba717d24c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133810Z:8bf31a49-d5c3-47a0-a65a-682ba717d24c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c8d1aa27-bc51-47ec-90e2-58e4207070b4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:38:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2e1650b1-f2de-45e5-8159-ed30f1eb9d7a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133841Z:2e1650b1-f2de-45e5-8159-ed30f1eb9d7a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5aced093-27d5-4838-9c84-da2b208b7a38", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:39:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dceff184-0df6-40e0-9513-26c400d797b6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133911Z:dceff184-0df6-40e0-9513-26c400d797b6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1ddb9add-dd30-452c-96ee-a041cbe1dc5d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:39:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0324d27-c369-4670-9fd8-2e9ae4341e95", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T133942Z:e0324d27-c369-4670-9fd8-2e9ae4341e95", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "571f84ea-be26-4e63-b73a-b8904583de12", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:40:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "204946c4-de31-41f8-92df-3ce71bc8af9f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134012Z:204946c4-de31-41f8-92df-3ce71bc8af9f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7736baa1-7141-41ab-8690-c21757e37cc2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:40:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "89b52c5f-43d0-4086-bedf-5f4bd6ce2d1d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134042Z:89b52c5f-43d0-4086-bedf-5f4bd6ce2d1d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cbab1e95-417b-4f6f-8318-71b16fd74ea3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:41:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e26c8a4a-0423-40d8-afea-a06ed4a5a57f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134113Z:e26c8a4a-0423-40d8-afea-a06ed4a5a57f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d2bbed4e-9aff-43ab-832f-8163bb04c592", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:41:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d75acc24-3caa-4084-a9b1-32ec17b139a2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134143Z:d75acc24-3caa-4084-a9b1-32ec17b139a2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "924ffa0f-29a5-4b88-85ee-71515dab4728", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:42:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e55bda21-72e2-456e-822a-3166880d9a9a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134214Z:e55bda21-72e2-456e-822a-3166880d9a9a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0e7cdab3-b118-4756-a528-8da1a4ee086a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:42:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cf8401fd-205c-4012-bb8a-6989a21f5757", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134244Z:cf8401fd-205c-4012-bb8a-6989a21f5757", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7f91a1f6-7c68-40fe-8557-67995aa7d5aa", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:43:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b51a7e50-5325-4f13-9bd2-92db7c1e84b3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134315Z:b51a7e50-5325-4f13-9bd2-92db7c1e84b3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "22792238-45ab-452d-ae0e-4fcfe64870b9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:43:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "884a5984-e0d1-4c7d-a8fb-6c8279ceaf40", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134345Z:884a5984-e0d1-4c7d-a8fb-6c8279ceaf40", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d4dec18c-f621-4d4e-80c2-2b624fa68f54", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:44:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "46cfd1ae-6358-449a-b79e-12d59b3da86a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134416Z:46cfd1ae-6358-449a-b79e-12d59b3da86a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e1d9250f-2f55-491e-a5f9-e0ffd2b8f116", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:44:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f3dd4133-2c62-4742-afc8-5e84a0306905", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134447Z:f3dd4133-2c62-4742-afc8-5e84a0306905", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0091b496-551f-4be3-bd5d-0e5ace8675a9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:16 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3fbb16b3-b4b7-472a-8d08-8a71399fe808", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134517Z:3fbb16b3-b4b7-472a-8d08-8a71399fe808", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0cd23f9a-e649-4640-bff0-d847e032f73a", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:17 GMT", + "content-length" : "1523", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e4f03c5f-f7b8-4c88-be55-f9bd4b328b77", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134518Z:e4f03c5f-f7b8-4c88-be55-f9bd4b328b77", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "17929421-1ed7-4d47-a8ad-722d32808877", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-c30649970cb9/providers/Microsoft.HDInsight/clusters/hdisdk-humboldt54d06119725e51\",\"name\":\"hdisdk-humboldt54d06119725e51\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"cf3f353d-5dd5-40c8-9a6e-d1ae3536d03f\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T13:24:56.38\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-humboldt54d06119725e51-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-humboldt54d06119725e51.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-c30649970cb9?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:18 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c97f2319-f1c3-49c8-ab08-40fe174a15b2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134519Z:c97f2319-f1c3-49c8-ab08-40fe174a15b2", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEQzMwNjQ5OTcwQ0I5LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "c97f2319-f1c3-49c8-ab08-40fe174a15b2", + "Body" : "" + } + } ], + "variables" : [ "hdijava-c30649970cb9", "hdijava07c96247a3ba", "hdisdk-humboldt54d06119725e51" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithCustomVMSizes.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithCustomVMSizes.json index 7e36b6add27df..8631a8eb45894 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithCustomVMSizes.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithCustomVMSizes.json @@ -1,1200 +1,1200 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-dbd57360c4d8?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:43 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9c7dc90d-9a6d-48d0-918b-9ab944030c43", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T130543Z:9c7dc90d-9a6d-48d0-918b-9ab944030c43", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9c7dc90d-9a6d-48d0-918b-9ab944030c43", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-dbd57360c4d8?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:45 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dc7fd368-d5b3-4fec-97dd-1959c9717a60", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130545Z:dc7fd368-d5b3-4fec-97dd-1959c9717a60", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dc7fd368-d5b3-4fec-97dd-1959c9717a60", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8\",\"name\":\"hdijava-dbd57360c4d8\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:46 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "822f265d-52f8-488e-811b-6ea5276ee1fb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130546Z:822f265d-52f8-488e-811b-6ea5276ee1fb", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "6867a142-97b1-4883-b3da-885547c9e3eb", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:47 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "93b69c5f-0169-4731-8979-4d0daa050cec", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130547Z:93b69c5f-0169-4731-8979-4d0daa050cec", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "968490a7-f9bb-47aa-987b-5353b8459d04", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:06:03 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cb01b201-a028-4824-89de-e7dc86d56823", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130604Z:cb01b201-a028-4824-89de-e7dc86d56823", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "f52b71e2-564d-4b6a-ba8f-9588eec4d7e2", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a\",\"name\":\"hdijavae2937592779a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:46.6164210Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavae2937592779a.blob.core.windows.net/\",\"queue\":\"https://hdijavae2937592779a.queue.core.windows.net/\",\"table\":\"https://hdijavae2937592779a.table.core.windows.net/\",\"file\":\"https://hdijavae2937592779a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:06:03 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "683bed51-c464-4e84-ae2e-e9c9e28c8803", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130604Z:683bed51-c464-4e84-ae2e-e9c9e28c8803", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "f1a75db8-d7ea-4ba4-a636-0396a4e3493d", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a\",\"name\":\"hdijavae2937592779a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:46.6164210Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavae2937592779a.blob.core.windows.net/\",\"queue\":\"https://hdijavae2937592779a.queue.core.windows.net/\",\"table\":\"https://hdijavae2937592779a.table.core.windows.net/\",\"file\":\"https://hdijavae2937592779a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:06:03 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "86231041-b642-498f-a754-3e924a3d3fbc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130604Z:86231041-b642-498f-a754-3e924a3d3fbc", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "244b5fc8-5269-446d-af69-8b8494441ac2", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"ZWN7zeQiQVMhrjiW1+wW/KEZZ4vPGNwE/BD8LqyfgrDy/PrCrVDgFfcFbFTGEqYIZGIYvyh+WYSZi0fbp2v00w==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"KXLHa5SMxh9Z5qbwFeeLYsZnup8q7vbf40AEZrZLNAkTZ+qmHxj7MBWqVRukp3LEr8UgRmxgwA70rvBfKlmc2w==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:06:24 GMT", - "content-length" : "1276", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ff192ed0-5393-4a60-9b5f-935c649699f2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130624Z:ff192ed0-5393-4a60-9b5f-935c649699f2", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"3a77d316-9e7a-47c2-9f9e-4f0d3afcd5fa\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3?api-version=2018-06-01-preview", - "x-ms-request-id" : "b21b4f38-d14e-4bf2-b03d-184fbb0f168d", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3\",\"name\":\"hdisdk-customvmsizesf5272348ca3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3a77d316-9e7a-47c2-9f9e-4f0d3afcd5fa\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T13:06:23.467\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:06:24 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7562d16f-4c3a-4a25-a61f-0bf9d4ba3423", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130624Z:7562d16f-4c3a-4a25-a61f-0bf9d4ba3423", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8f29ad45-a783-430e-b9ad-6980cae7366a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:06:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0bcacd7e-11de-4908-847e-3e16cc1ab9db", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130655Z:0bcacd7e-11de-4908-847e-3e16cc1ab9db", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c709a20a-7dfa-4001-a0a0-0bdb1ad392d3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:07:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "206950c6-841b-4e6f-b12b-b870946c928b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130725Z:206950c6-841b-4e6f-b12b-b870946c928b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f4abd06b-fdc1-4620-80ab-580c176bd266", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:07:55 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "276a7194-cd61-4085-a13d-1c05bdc247f5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130756Z:276a7194-cd61-4085-a13d-1c05bdc247f5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5e3c8327-f389-4012-b40e-5ee0dcef57da", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:08:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5c3fa33a-76e0-4820-81d6-b84517b6bc5d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130826Z:5c3fa33a-76e0-4820-81d6-b84517b6bc5d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd90cb2d-e361-4970-869c-e0e5c798fef2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:08:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fca67a65-154b-4576-ae7a-0470f6819dae", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130857Z:fca67a65-154b-4576-ae7a-0470f6819dae", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f93b0fdc-1392-42a0-bb2c-edb1cf9da2c4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:09:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a378dab4-c021-4f21-941a-4c16a394eea6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130927Z:a378dab4-c021-4f21-941a-4c16a394eea6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e682d719-70a9-4526-be6e-254778fc7204", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:09:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "af2b3dfe-cbde-4cb9-9add-33fba0b6488d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130958Z:af2b3dfe-cbde-4cb9-9add-33fba0b6488d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ff7a7d5a-de14-439c-988f-0460800f30c5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:10:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cf05c16b-59c4-4aa5-8bdd-d026e69385bf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131028Z:cf05c16b-59c4-4aa5-8bdd-d026e69385bf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "03a83923-3b5f-4cb6-8a82-81e51c49318a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:10:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "33bb58e9-9295-4b9a-bb6a-aeb2d72a752d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131059Z:33bb58e9-9295-4b9a-bb6a-aeb2d72a752d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "85763885-6637-492e-afab-0266fbc68554", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:11:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "96f75059-87da-4156-8bd8-6bf31a61ff7b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131129Z:96f75059-87da-4156-8bd8-6bf31a61ff7b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3515259a-0bda-46f6-b6d7-e7bf419da243", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:12:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "51d4fd52-f76a-41ff-a8bb-f92eccc3c69e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131200Z:51d4fd52-f76a-41ff-a8bb-f92eccc3c69e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "db8bef68-e512-4f6b-af96-4eeaef38672a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:12:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "66295ae5-0362-41e2-bdef-696355d5bdf1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131231Z:66295ae5-0362-41e2-bdef-696355d5bdf1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d276920a-bc42-4509-9572-d81a51d0195a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:13:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3deff326-3c35-46aa-a40b-0067a8791995", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131301Z:3deff326-3c35-46aa-a40b-0067a8791995", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5dbffb7d-8357-45c3-8139-487b93ceb930", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:13:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1c501845-d585-489e-9a27-29d453b14bdd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131332Z:1c501845-d585-489e-9a27-29d453b14bdd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2dbbc45-e543-4a90-8c93-638b39daeb2c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:14:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "22529ec4-9c38-442d-bc6c-2b573d854902", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131402Z:22529ec4-9c38-442d-bc6c-2b573d854902", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b1d72e26-152b-43e9-aea9-7e8f9694f15f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:14:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0ee626b-bab4-454f-9aaf-4192912dd3c2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131433Z:e0ee626b-bab4-454f-9aaf-4192912dd3c2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "10a8c6eb-31c8-4bc1-ab19-f7cbe1f6e227", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:15:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "54ea8dd8-714c-4b60-9452-e41d37c11c6a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131503Z:54ea8dd8-714c-4b60-9452-e41d37c11c6a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1f4978f7-d355-4dec-9d53-3012123e8a11", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:15:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "68e9a731-a704-4154-b1f7-5c6be329bd9f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131534Z:68e9a731-a704-4154-b1f7-5c6be329bd9f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ddc8d67b-b48c-4b55-8e0b-7baf7cdca9f2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:16:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8f910b7f-a96d-4037-8fbe-b2c3eed2ecce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131604Z:8f910b7f-a96d-4037-8fbe-b2c3eed2ecce", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d02857c4-eb2d-46f2-9a8c-a17256b793ed", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:16:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "56430c1c-866c-4a48-85af-a18f9acd884e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131635Z:56430c1c-866c-4a48-85af-a18f9acd884e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d83e4732-5f87-4b38-b7bd-5b963c5fcdb1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:17:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "593eeb71-81e1-4c17-a783-51cfdd531422", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131706Z:593eeb71-81e1-4c17-a783-51cfdd531422", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5b0a9e53-b08d-4154-afbf-d7413ad05481", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:17:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b6683724-c24d-4175-a535-3d7b8fedec99", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131736Z:b6683724-c24d-4175-a535-3d7b8fedec99", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2135da0e-a6ba-4657-80a2-262f233dc28d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:18:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6ffdf5b5-8c10-4487-8548-ae24a3e477fb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131807Z:6ffdf5b5-8c10-4487-8548-ae24a3e477fb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9767a256-4a12-40d0-af48-056879613fd9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:18:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9c73f9d5-9dbb-4d24-a1be-e65a15561c13", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131837Z:9c73f9d5-9dbb-4d24-a1be-e65a15561c13", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0565b52a-5adb-4ac9-a99d-46aba34ab6c8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:19:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9bfef043-1845-4dfe-b136-10ba93c71226", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131908Z:9bfef043-1845-4dfe-b136-10ba93c71226", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5d6b513b-3664-4bd0-9dbf-e5ee678fa941", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:19:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fe0f09fe-17b9-4d57-9c69-e39e9a1f381e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T131939Z:fe0f09fe-17b9-4d57-9c69-e39e9a1f381e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7809f8bf-ce83-47d6-b532-350d379b8368", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:20:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6e7fbd22-1da6-4f31-925c-817f2b845459", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132009Z:6e7fbd22-1da6-4f31-925c-817f2b845459", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6d3ce21d-70bf-4ec7-847b-30e2917201bd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:20:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "460b29c7-257d-43f5-bfba-727014ac5c05", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132040Z:460b29c7-257d-43f5-bfba-727014ac5c05", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "824eeb92-1043-4827-a055-0f42527929d0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:21:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b5824348-57ec-422e-b8a3-79060dde387b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132110Z:b5824348-57ec-422e-b8a3-79060dde387b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4d6fa9de-18e2-4e83-8f2b-c11daa5ba966", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:21:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "864f25af-e2e3-4c02-a6fa-fd053c67504a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132141Z:864f25af-e2e3-4c02-a6fa-fd053c67504a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "eeda15ec-be91-4b93-a7b8-8c9d160a84c1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:22:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5b8d8fab-5fe3-465a-b75a-9a9cdeb0e87f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132211Z:5b8d8fab-5fe3-465a-b75a-9a9cdeb0e87f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "69c76030-1743-45eb-984d-394798b5141c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:22:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f628b7f2-00da-4884-8795-b28fb6ae479e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132242Z:f628b7f2-00da-4884-8795-b28fb6ae479e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1dd95460-5d36-4bc4-b603-428ea2a51b5b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:23:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e7935e39-90ef-4e39-a9cb-56a4e6fa99b8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132312Z:e7935e39-90ef-4e39-a9cb-56a4e6fa99b8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "61ba2e58-6aad-4be7-88e3-785e88576e71", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:23:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4be5af63-d480-4447-8696-2c745b84b80e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132343Z:4be5af63-d480-4447-8696-2c745b84b80e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b5af5320-63c2-4265-9a1d-f78c0f5d066f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:13 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "70fed819-8f97-4f77-88af-849ab80bbbaf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132414Z:70fed819-8f97-4f77-88af-849ab80bbbaf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5cd61538-ee6d-43af-81e2-b2ae135319b3", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:13 GMT", - "content-length" : "1532", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c73abdb8-6971-4cb6-ac20-713c8e1c3847", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132414Z:c73abdb8-6971-4cb6-ac20-713c8e1c3847", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a3f90cf3-f3f0-4ea8-b194-cf4947cca043", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3\",\"name\":\"hdisdk-customvmsizesf5272348ca3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3a77d316-9e7a-47c2-9f9e-4f0d3afcd5fa\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T13:06:23.467\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-customvmsizesf5272348ca3-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-customvmsizesf5272348ca3.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-dbd57360c4d8?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:24:15 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1b2bfe21-5a07-4072-bf9f-e327d6b62c4a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T132416Z:1b2bfe21-5a07-4072-bf9f-e327d6b62c4a", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEREJENTczNjBDNEQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b2bfe21-5a07-4072-bf9f-e327d6b62c4a", - "Body" : "" - } - } ], - "variables" : [ "hdijava-dbd57360c4d8", "hdijavae2937592779a", "hdisdk-customvmsizesf5272348ca3" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-dbd57360c4d8?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:43 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9c7dc90d-9a6d-48d0-918b-9ab944030c43", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T130543Z:9c7dc90d-9a6d-48d0-918b-9ab944030c43", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9c7dc90d-9a6d-48d0-918b-9ab944030c43", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-dbd57360c4d8?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:45 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dc7fd368-d5b3-4fec-97dd-1959c9717a60", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130545Z:dc7fd368-d5b3-4fec-97dd-1959c9717a60", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dc7fd368-d5b3-4fec-97dd-1959c9717a60", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8\",\"name\":\"hdijava-dbd57360c4d8\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:46 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "822f265d-52f8-488e-811b-6ea5276ee1fb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130546Z:822f265d-52f8-488e-811b-6ea5276ee1fb", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "6867a142-97b1-4883-b3da-885547c9e3eb", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:47 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "93b69c5f-0169-4731-8979-4d0daa050cec", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130547Z:93b69c5f-0169-4731-8979-4d0daa050cec", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "968490a7-f9bb-47aa-987b-5353b8459d04", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6867a142-97b1-4883-b3da-885547c9e3eb?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:06:03 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cb01b201-a028-4824-89de-e7dc86d56823", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130604Z:cb01b201-a028-4824-89de-e7dc86d56823", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "f52b71e2-564d-4b6a-ba8f-9588eec4d7e2", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a\",\"name\":\"hdijavae2937592779a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:46.6164210Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavae2937592779a.blob.core.windows.net/\",\"queue\":\"https://hdijavae2937592779a.queue.core.windows.net/\",\"table\":\"https://hdijavae2937592779a.table.core.windows.net/\",\"file\":\"https://hdijavae2937592779a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:06:03 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "683bed51-c464-4e84-ae2e-e9c9e28c8803", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130604Z:683bed51-c464-4e84-ae2e-e9c9e28c8803", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "f1a75db8-d7ea-4ba4-a636-0396a4e3493d", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a\",\"name\":\"hdijavae2937592779a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:46.7726801Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:46.6164210Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavae2937592779a.blob.core.windows.net/\",\"queue\":\"https://hdijavae2937592779a.queue.core.windows.net/\",\"table\":\"https://hdijavae2937592779a.table.core.windows.net/\",\"file\":\"https://hdijavae2937592779a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.Storage/storageAccounts/hdijavae2937592779a/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:06:03 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "86231041-b642-498f-a754-3e924a3d3fbc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130604Z:86231041-b642-498f-a754-3e924a3d3fbc", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "244b5fc8-5269-446d-af69-8b8494441ac2", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"ZWN7zeQiQVMhrjiW1+wW/KEZZ4vPGNwE/BD8LqyfgrDy/PrCrVDgFfcFbFTGEqYIZGIYvyh+WYSZi0fbp2v00w==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"KXLHa5SMxh9Z5qbwFeeLYsZnup8q7vbf40AEZrZLNAkTZ+qmHxj7MBWqVRukp3LEr8UgRmxgwA70rvBfKlmc2w==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:06:24 GMT", + "content-length" : "1276", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ff192ed0-5393-4a60-9b5f-935c649699f2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130624Z:ff192ed0-5393-4a60-9b5f-935c649699f2", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"3a77d316-9e7a-47c2-9f9e-4f0d3afcd5fa\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3?api-version=2018-06-01-preview", + "x-ms-request-id" : "b21b4f38-d14e-4bf2-b03d-184fbb0f168d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3\",\"name\":\"hdisdk-customvmsizesf5272348ca3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3a77d316-9e7a-47c2-9f9e-4f0d3afcd5fa\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T13:06:23.467\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:06:24 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7562d16f-4c3a-4a25-a61f-0bf9d4ba3423", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130624Z:7562d16f-4c3a-4a25-a61f-0bf9d4ba3423", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8f29ad45-a783-430e-b9ad-6980cae7366a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:06:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0bcacd7e-11de-4908-847e-3e16cc1ab9db", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130655Z:0bcacd7e-11de-4908-847e-3e16cc1ab9db", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c709a20a-7dfa-4001-a0a0-0bdb1ad392d3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:07:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "206950c6-841b-4e6f-b12b-b870946c928b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130725Z:206950c6-841b-4e6f-b12b-b870946c928b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f4abd06b-fdc1-4620-80ab-580c176bd266", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:07:55 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "276a7194-cd61-4085-a13d-1c05bdc247f5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130756Z:276a7194-cd61-4085-a13d-1c05bdc247f5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5e3c8327-f389-4012-b40e-5ee0dcef57da", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:08:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5c3fa33a-76e0-4820-81d6-b84517b6bc5d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130826Z:5c3fa33a-76e0-4820-81d6-b84517b6bc5d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd90cb2d-e361-4970-869c-e0e5c798fef2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:08:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fca67a65-154b-4576-ae7a-0470f6819dae", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130857Z:fca67a65-154b-4576-ae7a-0470f6819dae", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f93b0fdc-1392-42a0-bb2c-edb1cf9da2c4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:09:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a378dab4-c021-4f21-941a-4c16a394eea6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130927Z:a378dab4-c021-4f21-941a-4c16a394eea6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e682d719-70a9-4526-be6e-254778fc7204", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:09:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "af2b3dfe-cbde-4cb9-9add-33fba0b6488d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130958Z:af2b3dfe-cbde-4cb9-9add-33fba0b6488d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ff7a7d5a-de14-439c-988f-0460800f30c5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:10:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cf05c16b-59c4-4aa5-8bdd-d026e69385bf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131028Z:cf05c16b-59c4-4aa5-8bdd-d026e69385bf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "03a83923-3b5f-4cb6-8a82-81e51c49318a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:10:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "33bb58e9-9295-4b9a-bb6a-aeb2d72a752d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131059Z:33bb58e9-9295-4b9a-bb6a-aeb2d72a752d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "85763885-6637-492e-afab-0266fbc68554", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:11:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "96f75059-87da-4156-8bd8-6bf31a61ff7b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131129Z:96f75059-87da-4156-8bd8-6bf31a61ff7b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3515259a-0bda-46f6-b6d7-e7bf419da243", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:12:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "51d4fd52-f76a-41ff-a8bb-f92eccc3c69e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131200Z:51d4fd52-f76a-41ff-a8bb-f92eccc3c69e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "db8bef68-e512-4f6b-af96-4eeaef38672a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:12:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "66295ae5-0362-41e2-bdef-696355d5bdf1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131231Z:66295ae5-0362-41e2-bdef-696355d5bdf1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d276920a-bc42-4509-9572-d81a51d0195a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:13:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3deff326-3c35-46aa-a40b-0067a8791995", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131301Z:3deff326-3c35-46aa-a40b-0067a8791995", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5dbffb7d-8357-45c3-8139-487b93ceb930", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:13:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1c501845-d585-489e-9a27-29d453b14bdd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131332Z:1c501845-d585-489e-9a27-29d453b14bdd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d2dbbc45-e543-4a90-8c93-638b39daeb2c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:14:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "22529ec4-9c38-442d-bc6c-2b573d854902", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131402Z:22529ec4-9c38-442d-bc6c-2b573d854902", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b1d72e26-152b-43e9-aea9-7e8f9694f15f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:14:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0ee626b-bab4-454f-9aaf-4192912dd3c2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131433Z:e0ee626b-bab4-454f-9aaf-4192912dd3c2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "10a8c6eb-31c8-4bc1-ab19-f7cbe1f6e227", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:15:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "54ea8dd8-714c-4b60-9452-e41d37c11c6a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131503Z:54ea8dd8-714c-4b60-9452-e41d37c11c6a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1f4978f7-d355-4dec-9d53-3012123e8a11", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:15:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "68e9a731-a704-4154-b1f7-5c6be329bd9f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131534Z:68e9a731-a704-4154-b1f7-5c6be329bd9f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ddc8d67b-b48c-4b55-8e0b-7baf7cdca9f2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:16:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8f910b7f-a96d-4037-8fbe-b2c3eed2ecce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131604Z:8f910b7f-a96d-4037-8fbe-b2c3eed2ecce", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d02857c4-eb2d-46f2-9a8c-a17256b793ed", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:16:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "56430c1c-866c-4a48-85af-a18f9acd884e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131635Z:56430c1c-866c-4a48-85af-a18f9acd884e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d83e4732-5f87-4b38-b7bd-5b963c5fcdb1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:17:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "593eeb71-81e1-4c17-a783-51cfdd531422", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131706Z:593eeb71-81e1-4c17-a783-51cfdd531422", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5b0a9e53-b08d-4154-afbf-d7413ad05481", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:17:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b6683724-c24d-4175-a535-3d7b8fedec99", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131736Z:b6683724-c24d-4175-a535-3d7b8fedec99", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2135da0e-a6ba-4657-80a2-262f233dc28d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:18:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6ffdf5b5-8c10-4487-8548-ae24a3e477fb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131807Z:6ffdf5b5-8c10-4487-8548-ae24a3e477fb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9767a256-4a12-40d0-af48-056879613fd9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:18:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9c73f9d5-9dbb-4d24-a1be-e65a15561c13", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131837Z:9c73f9d5-9dbb-4d24-a1be-e65a15561c13", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0565b52a-5adb-4ac9-a99d-46aba34ab6c8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:19:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9bfef043-1845-4dfe-b136-10ba93c71226", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131908Z:9bfef043-1845-4dfe-b136-10ba93c71226", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5d6b513b-3664-4bd0-9dbf-e5ee678fa941", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:19:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fe0f09fe-17b9-4d57-9c69-e39e9a1f381e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T131939Z:fe0f09fe-17b9-4d57-9c69-e39e9a1f381e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7809f8bf-ce83-47d6-b532-350d379b8368", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:20:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6e7fbd22-1da6-4f31-925c-817f2b845459", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132009Z:6e7fbd22-1da6-4f31-925c-817f2b845459", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6d3ce21d-70bf-4ec7-847b-30e2917201bd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:20:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "460b29c7-257d-43f5-bfba-727014ac5c05", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132040Z:460b29c7-257d-43f5-bfba-727014ac5c05", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "824eeb92-1043-4827-a055-0f42527929d0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:21:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b5824348-57ec-422e-b8a3-79060dde387b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132110Z:b5824348-57ec-422e-b8a3-79060dde387b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4d6fa9de-18e2-4e83-8f2b-c11daa5ba966", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:21:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "864f25af-e2e3-4c02-a6fa-fd053c67504a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132141Z:864f25af-e2e3-4c02-a6fa-fd053c67504a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "eeda15ec-be91-4b93-a7b8-8c9d160a84c1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:22:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5b8d8fab-5fe3-465a-b75a-9a9cdeb0e87f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132211Z:5b8d8fab-5fe3-465a-b75a-9a9cdeb0e87f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "69c76030-1743-45eb-984d-394798b5141c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:22:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f628b7f2-00da-4884-8795-b28fb6ae479e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132242Z:f628b7f2-00da-4884-8795-b28fb6ae479e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1dd95460-5d36-4bc4-b603-428ea2a51b5b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:23:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e7935e39-90ef-4e39-a9cb-56a4e6fa99b8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132312Z:e7935e39-90ef-4e39-a9cb-56a4e6fa99b8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "61ba2e58-6aad-4be7-88e3-785e88576e71", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:23:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4be5af63-d480-4447-8696-2c745b84b80e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132343Z:4be5af63-d480-4447-8696-2c745b84b80e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b5af5320-63c2-4265-9a1d-f78c0f5d066f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:13 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "70fed819-8f97-4f77-88af-849ab80bbbaf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132414Z:70fed819-8f97-4f77-88af-849ab80bbbaf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5cd61538-ee6d-43af-81e2-b2ae135319b3", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:13 GMT", + "content-length" : "1532", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c73abdb8-6971-4cb6-ac20-713c8e1c3847", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132414Z:c73abdb8-6971-4cb6-ac20-713c8e1c3847", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a3f90cf3-f3f0-4ea8-b194-cf4947cca043", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-dbd57360c4d8/providers/Microsoft.HDInsight/clusters/hdisdk-customvmsizesf5272348ca3\",\"name\":\"hdisdk-customvmsizesf5272348ca3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3a77d316-9e7a-47c2-9f9e-4f0d3afcd5fa\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T13:06:23.467\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-customvmsizesf5272348ca3-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-customvmsizesf5272348ca3.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-dbd57360c4d8?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:24:15 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1b2bfe21-5a07-4072-bf9f-e327d6b62c4a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T132416Z:1b2bfe21-5a07-4072-bf9f-e327d6b62c4a", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEREJENTczNjBDNEQ4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "1b2bfe21-5a07-4072-bf9f-e327d6b62c4a", + "Body" : "" + } + } ], + "variables" : [ "hdijava-dbd57360c4d8", "hdijavae2937592779a", "hdisdk-customvmsizesf5272348ca3" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithPremiumTier.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithPremiumTier.json index ba054cd305ca3..b941f084ad0c6 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithPremiumTier.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateHumboldtClusterWithPremiumTier.json @@ -1,1408 +1,1408 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-ccf3887538f3?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:03 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "465ae07f-e17a-4fd8-8ebc-339cf545964e", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T094803Z:465ae07f-e17a-4fd8-8ebc-339cf545964e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "465ae07f-e17a-4fd8-8ebc-339cf545964e", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-ccf3887538f3?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:04 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "149a9d2a-63d9-4cd1-a4bd-21b4c75d308c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094805Z:149a9d2a-63d9-4cd1-a4bd-21b4c75d308c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "149a9d2a-63d9-4cd1-a4bd-21b4c75d308c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3\",\"name\":\"hdijava-ccf3887538f3\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:06 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "beac44f8-fb05-4719-9a02-29daca3aa4f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094806Z:beac44f8-fb05-4719-9a02-29daca3aa4f1", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "1a3c30bb-90c3-4167-acac-eb7b383a64fe", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:06 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "06f4ec9a-19d6-4669-bb1f-377508d159d1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094806Z:06f4ec9a-19d6-4669-bb1f-377508d159d1", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c382ea6-5d2d-4d7c-aee9-03f5bc75a241", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:23 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "630031a9-68aa-43ac-a818-632f2f989c21", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094823Z:630031a9-68aa-43ac-a818-632f2f989c21", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "71e80fce-0843-4a4a-9b2d-ec83d59efb1d", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24\",\"name\":\"hdijavaa1b61640cc24\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:48:06.0393283Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaa1b61640cc24.blob.core.windows.net/\",\"queue\":\"https://hdijavaa1b61640cc24.queue.core.windows.net/\",\"table\":\"https://hdijavaa1b61640cc24.table.core.windows.net/\",\"file\":\"https://hdijavaa1b61640cc24.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:23 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6f1cb6fd-7c1b-4071-9264-f90859630ce4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094823Z:6f1cb6fd-7c1b-4071-9264-f90859630ce4", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "6ba4092b-7a36-4327-8c2f-9ed2a174145e", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24\",\"name\":\"hdijavaa1b61640cc24\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:48:06.0393283Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaa1b61640cc24.blob.core.windows.net/\",\"queue\":\"https://hdijavaa1b61640cc24.queue.core.windows.net/\",\"table\":\"https://hdijavaa1b61640cc24.table.core.windows.net/\",\"file\":\"https://hdijavaa1b61640cc24.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:23 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3b8547fc-5a1d-41e7-8aab-7cfbf4a85151", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094824Z:3b8547fc-5a1d-41e7-8aab-7cfbf4a85151", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "dec46285-d44a-49c1-9875-9689e588603a", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"vz2BpiuyH2HmLmSTJf3aqoutbhYCGJKTUjdG38Ojmk9eTGbxVYlku2bsxJTGR5LQV5fc+u/7bxQfGXWDZHxLWw==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"EnjhzGdSQngkjuc+BILNU3rb5BP+kGZ83ODN+HAAgK7fNI+NkZGAU0moz5wgASZ6Jl2l2Bf0szH5ketlYPvWzg==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:42 GMT", - "content-length" : "1269", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "89fdcd4c-c8b5-4f1c-8a50-dcb17300e2c3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094843Z:89fdcd4c-c8b5-4f1c-8a50-dcb17300e2c3", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"625caa16-7149-4b4d-9c82-8e31f99c70f6\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3?api-version=2018-06-01-preview", - "x-ms-request-id" : "706570bd-278e-4cac-87f6-0065ea5e452c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3\",\"name\":\"hdisdk-premiumf8099591e3ddf3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"625caa16-7149-4b4d-9c82-8e31f99c70f6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T09:48:42.367\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"premium\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fa1a51c7-e161-421c-a910-2da12f6a76a0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094843Z:fa1a51c7-e161-421c-a910-2da12f6a76a0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0f51eb53-6837-421f-ac2f-95138558d7d5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:49:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "952a9331-ad11-461c-b2fd-a61ab2e781f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094913Z:952a9331-ad11-461c-b2fd-a61ab2e781f1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "aff2b883-9f20-44d5-a418-d390e24bbf7c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:49:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3d84d8ee-f375-4885-a3e3-3d9d890c6cf2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094944Z:3d84d8ee-f375-4885-a3e3-3d9d890c6cf2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "75205609-cc9a-4e83-945a-58c7fd1f9f89", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:50:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "88b09b38-d13f-4695-aaaf-d2271edf98ef", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095015Z:88b09b38-d13f-4695-aaaf-d2271edf98ef", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "cb4190b2-f0e1-4166-9664-c57304f52fb5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:50:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d97731de-483a-4437-bd24-5e035e3f05c9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095045Z:d97731de-483a-4437-bd24-5e035e3f05c9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "46ff6fe5-7d9d-47c1-97bf-58e1457a31d7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:51:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "40649992-2361-4dd5-afd1-376192d657ed", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095116Z:40649992-2361-4dd5-afd1-376192d657ed", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ed284ef0-b722-4e12-b4b7-d73ca7710c11", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:51:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8f7fbd6b-9234-472c-9453-318b3adf9db1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095146Z:8f7fbd6b-9234-472c-9453-318b3adf9db1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e4ea57b0-b93e-4b81-8790-ec0b69dc171a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:52:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a126ee42-5c33-43dc-9e7b-0f55bb6b9d30", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095217Z:a126ee42-5c33-43dc-9e7b-0f55bb6b9d30", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "07e16e6b-b43b-43e2-9e72-cde1251356f3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:52:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d70003ce-3d7b-405b-b076-908403a5549a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095247Z:d70003ce-3d7b-405b-b076-908403a5549a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7ea5bfd6-9a3c-4b5f-92d7-d23b73f4a670", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:53:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4338e7a7-2e0e-424f-8ac2-591568393ad8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095318Z:4338e7a7-2e0e-424f-8ac2-591568393ad8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8b1047cb-bf80-40da-9ad8-a49ec1d90929", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:53:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "98898848-4384-433e-a26f-4317b0b8a837", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095349Z:98898848-4384-433e-a26f-4317b0b8a837", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d1993478-677b-4a30-aa1a-fbd5f86d80ae", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:54:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9466a89c-0223-45eb-9d07-469601fa18e9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095419Z:9466a89c-0223-45eb-9d07-469601fa18e9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a4427975-4cf0-467f-a440-c41237a98c8a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:54:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "27ee1cb8-2823-44b1-a100-6c446a7bcf3e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095449Z:27ee1cb8-2823-44b1-a100-6c446a7bcf3e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6dbbd9d1-0251-4857-a41f-fb99e95350d6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:55:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0e79aa6e-a6aa-48f2-b6d9-25eafcf5df05", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095520Z:0e79aa6e-a6aa-48f2-b6d9-25eafcf5df05", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "24ba056f-2c2d-4d35-8513-7ccd505f18b7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:55:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d721a6f4-2e54-4a20-9cc2-cfdedbe3d69e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095551Z:d721a6f4-2e54-4a20-9cc2-cfdedbe3d69e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "378cb7a1-d858-41a6-8e4e-6cf2faebbc97", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:56:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3ce62cc5-f605-4247-8348-276b7a7fb98a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095621Z:3ce62cc5-f605-4247-8348-276b7a7fb98a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3344b93e-ae00-485a-937e-197941242350", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:56:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fe279a4f-88a8-450c-94c6-1d580ab7ad07", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095652Z:fe279a4f-88a8-450c-94c6-1d580ab7ad07", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1467aae2-bf43-402f-9dc4-0af64a1cfb32", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:57:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "409abf40-7102-44c4-a064-529250ad19c7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095722Z:409abf40-7102-44c4-a064-529250ad19c7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "eba9d80d-27b0-4830-9b2b-e31ca7f04105", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:57:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "58350579-1b80-4315-bbad-cfee5a72b128", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095753Z:58350579-1b80-4315-bbad-cfee5a72b128", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0675418f-4271-4c18-b460-7c0241761104", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:58:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "47abb2df-4655-4b8e-862c-88e4bb30a926", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095823Z:47abb2df-4655-4b8e-862c-88e4bb30a926", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "64d403dc-4a37-4d78-87e6-ecd2c27e1a91", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:58:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bf4639e6-5d8c-452d-b5ca-d4fb82639918", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095854Z:bf4639e6-5d8c-452d-b5ca-d4fb82639918", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "54afc035-7449-4da3-a48d-1e6e53151811", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:59:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a25dae85-a529-4bf8-b32e-f34f75c0cf85", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095924Z:a25dae85-a529-4bf8-b32e-f34f75c0cf85", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8b0a2b76-fe32-4b44-823c-8d6fd994b103", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:59:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "47ad4888-58d1-4535-ae55-4f9394be0a61", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T095955Z:47ad4888-58d1-4535-ae55-4f9394be0a61", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9b28ddef-6847-4959-b02a-9d7d34eda1d0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:00:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "eaaec5f1-8f12-44d7-83b7-fd10e8c6ecaa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100025Z:eaaec5f1-8f12-44d7-83b7-fd10e8c6ecaa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "30b5520f-98f3-442d-b419-3069c653f185", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:00:55 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4332266d-8507-4640-b869-1872397f2bca", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100056Z:4332266d-8507-4640-b869-1872397f2bca", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "730a281b-be16-4bf5-8209-90de58d55b3e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:01:26 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0eb587ee-5ee0-4286-a29f-78a0fcf3dd48", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100126Z:0eb587ee-5ee0-4286-a29f-78a0fcf3dd48", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2970c2f7-4cb6-463c-a907-c4d6577b98ff", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:01:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7ac0ec51-f96b-4c6e-baf7-2334bcdd1603", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100157Z:7ac0ec51-f96b-4c6e-baf7-2334bcdd1603", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e547412e-5597-413d-84da-5fedfe349aef", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:02:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "594b15be-33b0-4d82-bd6a-dc12840f7dae", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100227Z:594b15be-33b0-4d82-bd6a-dc12840f7dae", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "25dd9822-10e7-46ca-b966-246fe019460e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:02:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4f19c4ba-e494-43e3-8c14-ca319b4d0a74", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100258Z:4f19c4ba-e494-43e3-8c14-ca319b4d0a74", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "15107dcb-d860-4171-a071-d0afbeae261f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:03:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e1ee1ac2-0c1a-4c36-8d86-329e1b6398e3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100328Z:e1ee1ac2-0c1a-4c36-8d86-329e1b6398e3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f3aca183-702b-4f91-8a7b-77425e91ff80", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:03:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0e6f0f9c-cb13-4bac-9eaf-370283bcaefc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100359Z:0e6f0f9c-cb13-4bac-9eaf-370283bcaefc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b25ca371-ffdc-46c9-94d2-f8ee2cbdf1ea", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:04:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5948ad53-a1e0-4aa4-a81b-c9521033349a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100429Z:5948ad53-a1e0-4aa4-a81b-c9521033349a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e52d1d3d-e29c-4ffd-b9f1-3389a885e2d3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:04:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "18074ded-752b-49ba-8408-4829bf18ca2c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100500Z:18074ded-752b-49ba-8408-4829bf18ca2c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ff184dce-53cf-4cc0-ba86-aabdab84d2fe", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:05:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2808c0fe-3310-4f88-9ca2-346fe9de6a67", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100530Z:2808c0fe-3310-4f88-9ca2-346fe9de6a67", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c214dcb6-ca8c-450b-bbdd-8ff8d9607a2e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:06:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e32a1a65-83d5-4204-96df-38e32474234b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100601Z:e32a1a65-83d5-4204-96df-38e32474234b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "21ff203d-6431-4647-88c0-4d70cc3ab800", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:06:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a39da2ef-2d94-42c9-b783-6c80972fc942", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100632Z:a39da2ef-2d94-42c9-b783-6c80972fc942", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3eb7362a-ea37-4858-9ab8-3acf379aa5d8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:07:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4c5d092b-6c37-4d0b-b00a-8638fd39e4d9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100702Z:4c5d092b-6c37-4d0b-b00a-8638fd39e4d9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "03b06f43-3ed7-423f-8cdf-b70fdb79673c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:07:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bcbbfb27-5c64-4e4b-981a-57ed0abcb170", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100733Z:bcbbfb27-5c64-4e4b-981a-57ed0abcb170", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "250d4d7e-de0c-48d5-9b6f-542159d6e372", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:08:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ff035987-c2b3-45d0-bafb-11bc48c3e2e2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100803Z:ff035987-c2b3-45d0-bafb-11bc48c3e2e2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2190893d-4dfb-4b20-96a2-794849aca6c0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:08:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "698fb3c5-d50a-46c0-902b-8199f5c4ea5d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100834Z:698fb3c5-d50a-46c0-902b-8199f5c4ea5d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e527695e-ae68-4615-92cf-3e609c853b7c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:09:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f37acd95-2712-430f-bd79-3bda9be39943", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100904Z:f37acd95-2712-430f-bd79-3bda9be39943", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f9924b23-b22d-4b1c-a672-d2ffe9229b16", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:09:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c2fd029d-593f-4291-b1ed-16e7c396f7f3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T100935Z:c2fd029d-593f-4291-b1ed-16e7c396f7f3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "85d590be-e6a1-4912-8471-6c2055d7f8c8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f00bde0b-0a2e-42e9-be85-05ebe1d0d7fc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101006Z:f00bde0b-0a2e-42e9-be85-05ebe1d0d7fc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6e9cb499-e372-45c8-b5f3-de5de8c9e057", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:36 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9a11e860-a238-4dfa-956c-eea5fcff839d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101036Z:9a11e860-a238-4dfa-956c-eea5fcff839d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9fb5ce35-d268-4a66-ab6b-0b2edf94a46c", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:36 GMT", - "content-length" : "1519", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9e0d4ce6-1252-4704-90d3-f16cbdab547a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101037Z:9e0d4ce6-1252-4704-90d3-f16cbdab547a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4522efc1-5992-4691-b3e6-c05beb5b2bcb", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3\",\"name\":\"hdisdk-premiumf8099591e3ddf3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"625caa16-7149-4b4d-9c82-8e31f99c70f6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T09:48:42.367\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-premiumf8099591e3ddf3-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-premiumf8099591e3ddf3.azurehdinsight.net\",\"port\":443}],\"tier\":\"premium\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-ccf3887538f3?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:38 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fd8c8376-372d-4c20-8bf4-ae01f2f5de4a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101038Z:fd8c8376-372d-4c20-8bf4-ae01f2f5de4a", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEQ0NGMzg4NzUzOEYzLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd8c8376-372d-4c20-8bf4-ae01f2f5de4a", - "Body" : "" - } - } ], - "variables" : [ "hdijava-ccf3887538f3", "hdijavaa1b61640cc24", "hdisdk-premiumf8099591e3ddf3" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-ccf3887538f3?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:03 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "465ae07f-e17a-4fd8-8ebc-339cf545964e", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T094803Z:465ae07f-e17a-4fd8-8ebc-339cf545964e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "465ae07f-e17a-4fd8-8ebc-339cf545964e", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-ccf3887538f3?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:04 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "149a9d2a-63d9-4cd1-a4bd-21b4c75d308c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094805Z:149a9d2a-63d9-4cd1-a4bd-21b4c75d308c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "149a9d2a-63d9-4cd1-a4bd-21b4c75d308c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3\",\"name\":\"hdijava-ccf3887538f3\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:06 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "beac44f8-fb05-4719-9a02-29daca3aa4f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094806Z:beac44f8-fb05-4719-9a02-29daca3aa4f1", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "1a3c30bb-90c3-4167-acac-eb7b383a64fe", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:06 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "06f4ec9a-19d6-4669-bb1f-377508d159d1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094806Z:06f4ec9a-19d6-4669-bb1f-377508d159d1", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "5c382ea6-5d2d-4d7c-aee9-03f5bc75a241", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1a3c30bb-90c3-4167-acac-eb7b383a64fe?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:23 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "630031a9-68aa-43ac-a818-632f2f989c21", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094823Z:630031a9-68aa-43ac-a818-632f2f989c21", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "71e80fce-0843-4a4a-9b2d-ec83d59efb1d", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24\",\"name\":\"hdijavaa1b61640cc24\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:48:06.0393283Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaa1b61640cc24.blob.core.windows.net/\",\"queue\":\"https://hdijavaa1b61640cc24.queue.core.windows.net/\",\"table\":\"https://hdijavaa1b61640cc24.table.core.windows.net/\",\"file\":\"https://hdijavaa1b61640cc24.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:23 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6f1cb6fd-7c1b-4071-9264-f90859630ce4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094823Z:6f1cb6fd-7c1b-4071-9264-f90859630ce4", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "6ba4092b-7a36-4327-8c2f-9ed2a174145e", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24\",\"name\":\"hdijavaa1b61640cc24\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:48:06.1955775Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:48:06.0393283Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaa1b61640cc24.blob.core.windows.net/\",\"queue\":\"https://hdijavaa1b61640cc24.queue.core.windows.net/\",\"table\":\"https://hdijavaa1b61640cc24.table.core.windows.net/\",\"file\":\"https://hdijavaa1b61640cc24.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.Storage/storageAccounts/hdijavaa1b61640cc24/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:23 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3b8547fc-5a1d-41e7-8aab-7cfbf4a85151", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094824Z:3b8547fc-5a1d-41e7-8aab-7cfbf4a85151", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "dec46285-d44a-49c1-9875-9689e588603a", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"vz2BpiuyH2HmLmSTJf3aqoutbhYCGJKTUjdG38Ojmk9eTGbxVYlku2bsxJTGR5LQV5fc+u/7bxQfGXWDZHxLWw==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"EnjhzGdSQngkjuc+BILNU3rb5BP+kGZ83ODN+HAAgK7fNI+NkZGAU0moz5wgASZ6Jl2l2Bf0szH5ketlYPvWzg==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:42 GMT", + "content-length" : "1269", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "89fdcd4c-c8b5-4f1c-8a50-dcb17300e2c3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094843Z:89fdcd4c-c8b5-4f1c-8a50-dcb17300e2c3", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"625caa16-7149-4b4d-9c82-8e31f99c70f6\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3?api-version=2018-06-01-preview", + "x-ms-request-id" : "706570bd-278e-4cac-87f6-0065ea5e452c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3\",\"name\":\"hdisdk-premiumf8099591e3ddf3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"625caa16-7149-4b4d-9c82-8e31f99c70f6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T09:48:42.367\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"premium\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fa1a51c7-e161-421c-a910-2da12f6a76a0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094843Z:fa1a51c7-e161-421c-a910-2da12f6a76a0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0f51eb53-6837-421f-ac2f-95138558d7d5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:49:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "952a9331-ad11-461c-b2fd-a61ab2e781f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094913Z:952a9331-ad11-461c-b2fd-a61ab2e781f1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "aff2b883-9f20-44d5-a418-d390e24bbf7c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:49:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3d84d8ee-f375-4885-a3e3-3d9d890c6cf2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094944Z:3d84d8ee-f375-4885-a3e3-3d9d890c6cf2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "75205609-cc9a-4e83-945a-58c7fd1f9f89", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:50:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "88b09b38-d13f-4695-aaaf-d2271edf98ef", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095015Z:88b09b38-d13f-4695-aaaf-d2271edf98ef", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cb4190b2-f0e1-4166-9664-c57304f52fb5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:50:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d97731de-483a-4437-bd24-5e035e3f05c9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095045Z:d97731de-483a-4437-bd24-5e035e3f05c9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "46ff6fe5-7d9d-47c1-97bf-58e1457a31d7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:51:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "40649992-2361-4dd5-afd1-376192d657ed", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095116Z:40649992-2361-4dd5-afd1-376192d657ed", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ed284ef0-b722-4e12-b4b7-d73ca7710c11", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:51:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8f7fbd6b-9234-472c-9453-318b3adf9db1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095146Z:8f7fbd6b-9234-472c-9453-318b3adf9db1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e4ea57b0-b93e-4b81-8790-ec0b69dc171a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:52:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a126ee42-5c33-43dc-9e7b-0f55bb6b9d30", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095217Z:a126ee42-5c33-43dc-9e7b-0f55bb6b9d30", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "07e16e6b-b43b-43e2-9e72-cde1251356f3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:52:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d70003ce-3d7b-405b-b076-908403a5549a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095247Z:d70003ce-3d7b-405b-b076-908403a5549a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7ea5bfd6-9a3c-4b5f-92d7-d23b73f4a670", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:53:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4338e7a7-2e0e-424f-8ac2-591568393ad8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095318Z:4338e7a7-2e0e-424f-8ac2-591568393ad8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8b1047cb-bf80-40da-9ad8-a49ec1d90929", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:53:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "98898848-4384-433e-a26f-4317b0b8a837", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095349Z:98898848-4384-433e-a26f-4317b0b8a837", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d1993478-677b-4a30-aa1a-fbd5f86d80ae", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:54:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9466a89c-0223-45eb-9d07-469601fa18e9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095419Z:9466a89c-0223-45eb-9d07-469601fa18e9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a4427975-4cf0-467f-a440-c41237a98c8a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:54:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "27ee1cb8-2823-44b1-a100-6c446a7bcf3e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095449Z:27ee1cb8-2823-44b1-a100-6c446a7bcf3e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6dbbd9d1-0251-4857-a41f-fb99e95350d6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:55:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0e79aa6e-a6aa-48f2-b6d9-25eafcf5df05", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095520Z:0e79aa6e-a6aa-48f2-b6d9-25eafcf5df05", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "24ba056f-2c2d-4d35-8513-7ccd505f18b7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:55:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d721a6f4-2e54-4a20-9cc2-cfdedbe3d69e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095551Z:d721a6f4-2e54-4a20-9cc2-cfdedbe3d69e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "378cb7a1-d858-41a6-8e4e-6cf2faebbc97", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:56:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3ce62cc5-f605-4247-8348-276b7a7fb98a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095621Z:3ce62cc5-f605-4247-8348-276b7a7fb98a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3344b93e-ae00-485a-937e-197941242350", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:56:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fe279a4f-88a8-450c-94c6-1d580ab7ad07", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095652Z:fe279a4f-88a8-450c-94c6-1d580ab7ad07", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1467aae2-bf43-402f-9dc4-0af64a1cfb32", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:57:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "409abf40-7102-44c4-a064-529250ad19c7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095722Z:409abf40-7102-44c4-a064-529250ad19c7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "eba9d80d-27b0-4830-9b2b-e31ca7f04105", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:57:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "58350579-1b80-4315-bbad-cfee5a72b128", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095753Z:58350579-1b80-4315-bbad-cfee5a72b128", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0675418f-4271-4c18-b460-7c0241761104", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:58:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "47abb2df-4655-4b8e-862c-88e4bb30a926", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095823Z:47abb2df-4655-4b8e-862c-88e4bb30a926", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "64d403dc-4a37-4d78-87e6-ecd2c27e1a91", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:58:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bf4639e6-5d8c-452d-b5ca-d4fb82639918", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095854Z:bf4639e6-5d8c-452d-b5ca-d4fb82639918", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "54afc035-7449-4da3-a48d-1e6e53151811", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:59:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a25dae85-a529-4bf8-b32e-f34f75c0cf85", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095924Z:a25dae85-a529-4bf8-b32e-f34f75c0cf85", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8b0a2b76-fe32-4b44-823c-8d6fd994b103", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:59:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "47ad4888-58d1-4535-ae55-4f9394be0a61", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T095955Z:47ad4888-58d1-4535-ae55-4f9394be0a61", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9b28ddef-6847-4959-b02a-9d7d34eda1d0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:00:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "eaaec5f1-8f12-44d7-83b7-fd10e8c6ecaa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100025Z:eaaec5f1-8f12-44d7-83b7-fd10e8c6ecaa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "30b5520f-98f3-442d-b419-3069c653f185", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:00:55 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4332266d-8507-4640-b869-1872397f2bca", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100056Z:4332266d-8507-4640-b869-1872397f2bca", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "730a281b-be16-4bf5-8209-90de58d55b3e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:01:26 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0eb587ee-5ee0-4286-a29f-78a0fcf3dd48", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100126Z:0eb587ee-5ee0-4286-a29f-78a0fcf3dd48", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2970c2f7-4cb6-463c-a907-c4d6577b98ff", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:01:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7ac0ec51-f96b-4c6e-baf7-2334bcdd1603", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100157Z:7ac0ec51-f96b-4c6e-baf7-2334bcdd1603", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e547412e-5597-413d-84da-5fedfe349aef", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:02:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "594b15be-33b0-4d82-bd6a-dc12840f7dae", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100227Z:594b15be-33b0-4d82-bd6a-dc12840f7dae", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "25dd9822-10e7-46ca-b966-246fe019460e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:02:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4f19c4ba-e494-43e3-8c14-ca319b4d0a74", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100258Z:4f19c4ba-e494-43e3-8c14-ca319b4d0a74", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "15107dcb-d860-4171-a071-d0afbeae261f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:03:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e1ee1ac2-0c1a-4c36-8d86-329e1b6398e3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100328Z:e1ee1ac2-0c1a-4c36-8d86-329e1b6398e3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f3aca183-702b-4f91-8a7b-77425e91ff80", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:03:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0e6f0f9c-cb13-4bac-9eaf-370283bcaefc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100359Z:0e6f0f9c-cb13-4bac-9eaf-370283bcaefc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b25ca371-ffdc-46c9-94d2-f8ee2cbdf1ea", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:04:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5948ad53-a1e0-4aa4-a81b-c9521033349a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100429Z:5948ad53-a1e0-4aa4-a81b-c9521033349a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e52d1d3d-e29c-4ffd-b9f1-3389a885e2d3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:04:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "18074ded-752b-49ba-8408-4829bf18ca2c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100500Z:18074ded-752b-49ba-8408-4829bf18ca2c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ff184dce-53cf-4cc0-ba86-aabdab84d2fe", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:05:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2808c0fe-3310-4f88-9ca2-346fe9de6a67", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100530Z:2808c0fe-3310-4f88-9ca2-346fe9de6a67", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c214dcb6-ca8c-450b-bbdd-8ff8d9607a2e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:06:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e32a1a65-83d5-4204-96df-38e32474234b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100601Z:e32a1a65-83d5-4204-96df-38e32474234b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "21ff203d-6431-4647-88c0-4d70cc3ab800", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:06:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a39da2ef-2d94-42c9-b783-6c80972fc942", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100632Z:a39da2ef-2d94-42c9-b783-6c80972fc942", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3eb7362a-ea37-4858-9ab8-3acf379aa5d8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:07:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4c5d092b-6c37-4d0b-b00a-8638fd39e4d9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100702Z:4c5d092b-6c37-4d0b-b00a-8638fd39e4d9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "03b06f43-3ed7-423f-8cdf-b70fdb79673c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:07:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bcbbfb27-5c64-4e4b-981a-57ed0abcb170", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100733Z:bcbbfb27-5c64-4e4b-981a-57ed0abcb170", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "250d4d7e-de0c-48d5-9b6f-542159d6e372", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:08:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ff035987-c2b3-45d0-bafb-11bc48c3e2e2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100803Z:ff035987-c2b3-45d0-bafb-11bc48c3e2e2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2190893d-4dfb-4b20-96a2-794849aca6c0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:08:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "698fb3c5-d50a-46c0-902b-8199f5c4ea5d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100834Z:698fb3c5-d50a-46c0-902b-8199f5c4ea5d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e527695e-ae68-4615-92cf-3e609c853b7c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:09:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f37acd95-2712-430f-bd79-3bda9be39943", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100904Z:f37acd95-2712-430f-bd79-3bda9be39943", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f9924b23-b22d-4b1c-a672-d2ffe9229b16", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:09:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c2fd029d-593f-4291-b1ed-16e7c396f7f3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T100935Z:c2fd029d-593f-4291-b1ed-16e7c396f7f3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "85d590be-e6a1-4912-8471-6c2055d7f8c8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f00bde0b-0a2e-42e9-be85-05ebe1d0d7fc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101006Z:f00bde0b-0a2e-42e9-be85-05ebe1d0d7fc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6e9cb499-e372-45c8-b5f3-de5de8c9e057", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:36 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9a11e860-a238-4dfa-956c-eea5fcff839d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101036Z:9a11e860-a238-4dfa-956c-eea5fcff839d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9fb5ce35-d268-4a66-ab6b-0b2edf94a46c", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:36 GMT", + "content-length" : "1519", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9e0d4ce6-1252-4704-90d3-f16cbdab547a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101037Z:9e0d4ce6-1252-4704-90d3-f16cbdab547a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4522efc1-5992-4691-b3e6-c05beb5b2bcb", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-ccf3887538f3/providers/Microsoft.HDInsight/clusters/hdisdk-premiumf8099591e3ddf3\",\"name\":\"hdisdk-premiumf8099591e3ddf3\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"625caa16-7149-4b4d-9c82-8e31f99c70f6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T09:48:42.367\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-premiumf8099591e3ddf3-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-premiumf8099591e3ddf3.azurehdinsight.net\",\"port\":443}],\"tier\":\"premium\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-ccf3887538f3?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:38 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fd8c8376-372d-4c20-8bf4-ae01f2f5de4a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101038Z:fd8c8376-372d-4c20-8bf4-ae01f2f5de4a", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEQ0NGMzg4NzUzOEYzLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd8c8376-372d-4c20-8bf4-ae01f2f5de4a", + "Body" : "" + } + } ], + "variables" : [ "hdijava-ccf3887538f3", "hdijavaa1b61640cc24", "hdisdk-premiumf8099591e3ddf3" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateKafkaClusterWithDiskEncryption.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateKafkaClusterWithDiskEncryption.json index 972be5b8e14b2..4f7939e906147 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateKafkaClusterWithDiskEncryption.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateKafkaClusterWithDiskEncryption.json @@ -1,2089 +1,2089 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:10 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ba37e3f5-b2a4-4839-94e1-90dbc912a5f4", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190107T072411Z:ba37e3f5-b2a4-4839-94e1-90dbc912a5f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ba37e3f5-b2a4-4839-94e1-90dbc912a5f4", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:12 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9de1fc8c-be2e-4022-9210-9a34570bf959", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072413Z:9de1fc8c-be2e-4022-9210-9a34570bf959", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9de1fc8c-be2e-4022-9210-9a34570bf959", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d\",\"name\":\"hdijava-5fa69890817d\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:14 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a8708a13-daa6-46b2-9381-6ce45ef91f73", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072415Z:a8708a13-daa6-46b2-9381-6ce45ef91f73", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "b75c4c92-0aff-47fc-bc61-f79b180d9351", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:14 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fc4fa2d4-9829-44cd-b71f-118d57913a1d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072415Z:fc4fa2d4-9829-44cd-b71f-118d57913a1d", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "a2f3fab6-c956-4906-8d0d-0b38c4d01e6a", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:32 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "12930e4b-b61c-466d-84a3-583bcc65ee0c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072432Z:12930e4b-b61c-466d-84a3-583bcc65ee0c", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "377a93df-9815-4f61-aa32-f7b0ff3e74fa", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836\",\"name\":\"hdijavafd5358386836\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-07T07:24:15.2593743Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavafd5358386836.blob.core.windows.net/\",\"queue\":\"https://hdijavafd5358386836.queue.core.windows.net/\",\"table\":\"https://hdijavafd5358386836.table.core.windows.net/\",\"file\":\"https://hdijavafd5358386836.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:32 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cda8f7e5-e2dc-43fd-913c-dfacda918505", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072433Z:cda8f7e5-e2dc-43fd-913c-dfacda918505", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b1ec85b-ad7d-4dbd-91af-e3152f6b48bd", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836\",\"name\":\"hdijavafd5358386836\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-07T07:24:15.2593743Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavafd5358386836.blob.core.windows.net/\",\"queue\":\"https://hdijavafd5358386836.queue.core.windows.net/\",\"table\":\"https://hdijavafd5358386836.table.core.windows.net/\",\"file\":\"https://hdijavafd5358386836.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:34 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "1276", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8a5a54cd-f203-4417-8de0-df93067c7bce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072435Z:8a5a54cd-f203-4417-8de0-df93067c7bce", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "8a5a54cd-f203-4417-8de0-df93067c7bce", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:24:34 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "1277", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "45e3eb09-f2c2-4340-9b86-d62866b53bf6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072435Z:45e3eb09-f2c2-4340-9b86-d62866b53bf6", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "45e3eb09-f2c2-4340-9b86-d62866b53bf6", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net/\",\"provisioningState\":\"RegisteringDns\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:05 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "1272", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "64570225-7bbc-4d3f-8502-6f4e01815797", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072505Z:64570225-7bbc-4d3f-8502-6f4e01815797", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "64570225-7bbc-4d3f-8502-6f4e01815797", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net/\",\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba?api-version=2015-08-31-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ManagedServiceIdentityClient, 2015-08-31-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:07 GMT", - "content-length" : "825", - "server" : "Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6c7ae9e0-635f-41dd-8986-4b9c7ae7f9ee", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072507Z:6c7ae9e0-635f-41dd-8986-4b9c7ae7f9ee", - "content-type" : "application/json; charset=utf-8", - "location" : "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba", - "cache-control" : "no-cache", - "x-ms-request-id" : "6c7ae9e0-635f-41dd-8986-4b9c7ae7f9ee", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba\",\"name\":\"hdijavaa9c91089ceba\",\"type\":\"Microsoft.ManagedIdentity/userAssignedIdentities\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"principalId\":\"60ed26d1-11d7-474b-9ba6-cf6c2f979d96\",\"clientId\":\"9fce41a0-1edd-4568-8191-0e8113d83534\",\"clientSecretUrl\":\"https://control-eastus2.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba/credentials?tid=00000000-0000-0000-0000-000000000000&oid=60ed26d1-11d7-474b-9ba6-cf6c2f979d96&aid=9fce41a0-1edd-4568-8191-0e8113d83534\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:07 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "1460", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "06b8817f-f13c-4fc8-ab2b-7e627e6fd064", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072507Z:06b8817f-f13c-4fc8-ab2b-7e627e6fd064", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "06b8817f-f13c-4fc8-ab2b-7e627e6fd064", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}},{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"60ed26d1-11d7-474b-9ba6-cf6c2f979d96\",\"permissions\":{\"keys\":[\"get\",\"wrapKey\",\"unwrapKey\"],\"secrets\":[\"get\",\"set\",\"delete\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net/\",\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/keys/hdijavakey1c7073229e7/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:07 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "East US 2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a4e925dd-d69d-44bd-b9b7-f065525241dc", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/keys/hdijavakey1c7073229e7/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:09 GMT", - "content-length" : "678", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "East US 2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ca47e88c-40cd-4b78-a4ee-ff5b4cb9f15e", - "Body" : "{\"key\":{\"kid\":\"https://hdijavavaultdc2254734a.vault.azure.net/keys/hdijavakey1c7073229e7/d5a7ca4418774811b503e7d3d2a2014e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"knY-m-5FVhVFeHY5x5nYfnTgc6tgjtbgCdu0XtUBT4spZhp1dOG6W68lACV0medoYVdYGT_VUJ2TLoHI6sPaCnYHep7mw3yzrLUG6np29iuQC-yKXWL6p6n0QjcNYP5F_N-TVV6_KK3zDsvBT892WC1aL4kAdPseOyZXAGKvZbeLBj4OCcirWK_l4po6bFBKkmKQ4nWxawA-1TBQ4sttNpqnnE8Dpe5J3NdI-XjOWNrN43K5BvbEtU3tWQCjfvx9F9Vyr0ojbvq3VCLuB1JUwze6a7e4gVMI_eaH0HHldXR04iuPH0XmTtV2hqwWgpK5WCB40yEx5Oshl5fGDJaXOQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1546845909,\"updated\":1546845909,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:09 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "48245d2c-759c-4bf4-8c2b-8d22eb9c81c3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072509Z:48245d2c-759c-4bf4-8c2b-8d22eb9c81c3", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "13268231-231e-4aee-b15f-6963424c655e", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"2ndVPrHuZqvvwEHk2xsn215BX7/n+VvWjzKQti/1hiNpHEPa4hUKqJsYWOQS4Ucjg045mmSGSry5ArOPbPGcUQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"91yDDAcm/2OptLb+em+a4erpbLXbYlcQBxcleis7MmSZR9a40Jc5VG01HdOuVUfcgz2ukMNPcBFk+HFgHf7iJw==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:29 GMT", - "content-length" : "1986", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1194", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "64ad0848-20ed-4ec0-9d20-49003c9a7b26", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072530Z:64ad0848-20ed-4ec0-9d20-49003c9a7b26", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", - "x-ms-request-id" : "afea37f4-5670-444e-ab9d-d6418fc4bbd7", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c\",\"name\":\"hdisdk-kafka-byok829055433883c\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json\",\"kind\":\"Kafka\",\"componentVersion\":{\"Kafka\":\"1.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"dataDisksGroups\":[{\"disksPerNode\":8,\"storageAccountType\":\"Standard_LRS\",\"diskSizeGB\":1023}],\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Small\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-07T07:25:29.493\",\"quotaInfo\":{\"coresUsed\":23},\"tier\":\"standard\",\"diskEncryptionProperties\":{\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"keyName\":\"hdijavakey1c7073229e7\",\"keyVersion\":\"d5a7ca4418774811b503e7d3d2a2014e\",\"encryptionAlgorithm\":\"RSA-OAEP\",\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\":{}}}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:25:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ce76b5dd-585f-4f96-a5dd-fb8ea275e32e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072530Z:ce76b5dd-585f-4f96-a5dd-fb8ea275e32e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ec76666e-68ce-4a46-9662-aac4d1941362", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:26:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f60fe012-457c-4b05-92a2-9fcb6f766ac2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072601Z:f60fe012-457c-4b05-92a2-9fcb6f766ac2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "60582844-fc9b-4fd4-8090-c3cfdec3f28b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:26:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "062f8b57-78a4-4809-975d-8de7ac16241c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072632Z:062f8b57-78a4-4809-975d-8de7ac16241c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9255ec71-7448-46b0-9d8c-cb96078edd26", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:27:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b87613d5-28b2-452e-a4f7-e1c19c03d91d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072702Z:b87613d5-28b2-452e-a4f7-e1c19c03d91d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "12127f14-8891-4838-99ce-0bab740fe2c2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:27:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9f503da1-f222-4721-ac93-f98db8f2bbd1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072732Z:9f503da1-f222-4721-ac93-f98db8f2bbd1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "48e1367e-6c78-46fb-90b9-3bfe044dd76b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:28:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c3a701f1-04f1-4c44-9568-0443a1327231", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072803Z:c3a701f1-04f1-4c44-9568-0443a1327231", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b9f2086e-9cff-4b0b-840f-29c491e2abaa", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:28:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5e89d7aa-cfd8-4ac5-8161-e0cf7ad30375", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072834Z:5e89d7aa-cfd8-4ac5-8161-e0cf7ad30375", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4c406de5-03c6-414b-8010-9b7f4c42a51a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:29:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6678c005-db4c-49b6-849b-19baf01f378d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072904Z:6678c005-db4c-49b6-849b-19baf01f378d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8c43a39d-a0e4-4176-bc22-cbb12ad394d5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:29:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5fc62dd2-e0bf-42f1-8fdf-4fa368243fb4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T072935Z:5fc62dd2-e0bf-42f1-8fdf-4fa368243fb4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "71856703-f329-4819-a212-2e3379befa20", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:30:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "51a52ed1-b313-493a-82cc-33016336319e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073005Z:51a52ed1-b313-493a-82cc-33016336319e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "50ec5883-3973-4573-9eb8-c18105cf22b5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:30:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e5bec443-f11b-4b3f-b07a-88d0e65274e3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073036Z:e5bec443-f11b-4b3f-b07a-88d0e65274e3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8c6079fe-3cb2-40a1-9d5d-be8316664367", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:31:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0b7e31b6-b31c-4d9b-ab03-d4e43ce5c1ba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073107Z:0b7e31b6-b31c-4d9b-ab03-d4e43ce5c1ba", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9acfc26a-e447-4c8d-a2df-1e24f8deecd0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:31:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1cde57b2-c8c7-4c84-b2d7-09e15aa70df8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073137Z:1cde57b2-c8c7-4c84-b2d7-09e15aa70df8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "90bc8b94-1ae1-4364-8362-d7308883c2e7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:32:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "42957de1-212e-45e0-9314-3b0da63b47d7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073208Z:42957de1-212e-45e0-9314-3b0da63b47d7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ec73379e-91fa-41bc-850e-15883110ff9d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:32:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c61a697a-865a-400d-8f0c-693e112e9795", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073238Z:c61a697a-865a-400d-8f0c-693e112e9795", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b78ac520-a787-41e5-a717-2b16f7e61b11", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:33:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a18e16a7-46fe-4c22-ba11-45c2be524f48", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073309Z:a18e16a7-46fe-4c22-ba11-45c2be524f48", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "81045264-34f0-4acb-8b5f-1f7fe35daadc", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:33:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c1bfd406-a076-4a4c-95f5-75a7e56b2f4e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073339Z:c1bfd406-a076-4a4c-95f5-75a7e56b2f4e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e55e8e95-5367-4368-984f-25e2743c92fe", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:34:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5c55db31-bb7a-4700-a6d1-c781ff62f3ed", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073410Z:5c55db31-bb7a-4700-a6d1-c781ff62f3ed", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "07a1f2ec-f20e-428d-b6bc-baa5fe979611", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:34:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a27774a0-44ec-4a35-a035-bace62285d5c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073440Z:a27774a0-44ec-4a35-a035-bace62285d5c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a5e915c7-23a9-48a2-97bc-80b452bc492f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:35:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "08f7ffa0-9868-42cb-9507-2e9c83bac8f0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073511Z:08f7ffa0-9868-42cb-9507-2e9c83bac8f0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "88c83672-2a57-4261-8ef5-549bf755ec66", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:35:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f5af0a2f-8bbb-4490-b155-9c7fdd5afc73", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073542Z:f5af0a2f-8bbb-4490-b155-9c7fdd5afc73", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ef2a4051-130e-4ea6-9f72-0cbb35e47e0b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:36:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0e9bd90f-26b5-4741-bc93-a2d8ec83413f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073612Z:0e9bd90f-26b5-4741-bc93-a2d8ec83413f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1ed45c03-5765-4012-ade5-334dc417dc9d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:36:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bc097ba7-f27f-4df5-8088-54ecb3929470", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073643Z:bc097ba7-f27f-4df5-8088-54ecb3929470", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2b3648cd-d0ad-49d6-858b-c85c7e1aa4c4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:37:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e20da65a-6e84-4b80-bf5f-adb2d17abe99", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073713Z:e20da65a-6e84-4b80-bf5f-adb2d17abe99", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b477bba2-8d0e-4cb6-8e55-9dbc66ee2082", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:37:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5ba6af80-7410-47ce-be17-558abf02cf67", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073743Z:5ba6af80-7410-47ce-be17-558abf02cf67", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d5dd8b8a-e45a-4985-8ab4-bb9e665a39a2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:38:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1b4257a7-770d-428e-813b-3be74dc5e5cd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073814Z:1b4257a7-770d-428e-813b-3be74dc5e5cd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ba8738a4-d310-456b-b78c-6621ad0516ce", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:38:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4a9a1e29-3c79-4929-9232-b566b5af8c63", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073845Z:4a9a1e29-3c79-4929-9232-b566b5af8c63", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "91579c1a-a3b0-484b-9328-450ab5103186", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:39:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4cd30a11-2d0e-4db1-b390-8c9abfc0ce19", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073915Z:4cd30a11-2d0e-4db1-b390-8c9abfc0ce19", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b414083b-05fb-4dc5-965d-734b43d5f7c6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:39:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ff7bf3d7-6b28-425c-ab05-94b010340fb1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T073946Z:ff7bf3d7-6b28-425c-ab05-94b010340fb1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4b4077b9-0461-4760-9d72-9062a1ee8915", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:40:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b6004e70-51e4-4216-9685-58dadc3df0ba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074016Z:b6004e70-51e4-4216-9685-58dadc3df0ba", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9a4f4294-4b26-4519-8a80-27fb56c9ae2c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:40:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d9c31a0e-78a4-45b6-850c-54b8b537a825", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074047Z:d9c31a0e-78a4-45b6-850c-54b8b537a825", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c98c8bf3-eacc-4bd3-98c5-ec94c423d0a8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:41:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c66b0d74-99c3-4e90-9bf3-fc18589f2d6f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074117Z:c66b0d74-99c3-4e90-9bf3-fc18589f2d6f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "02d4c375-7283-4062-aea1-6004e9b62fd4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:41:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "348b2829-95f3-4b0f-903e-4b1a76bac937", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074148Z:348b2829-95f3-4b0f-903e-4b1a76bac937", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6d4d09cd-617f-43e3-94b2-cb0bb9056320", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:42:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3366311a-4f82-421a-90bc-e5b6cc5f8f6c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074218Z:3366311a-4f82-421a-90bc-e5b6cc5f8f6c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d6c7fd00-1070-4958-8e3f-f68b54e7d550", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:42:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b4d32e77-5728-4197-82fb-8333265cd6f9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074249Z:b4d32e77-5728-4197-82fb-8333265cd6f9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6598bd3b-01a9-48e3-ad1c-ed201e95b367", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:43:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0a85519-6316-472a-ae2b-510aa204b3dc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074320Z:e0a85519-6316-472a-ae2b-510aa204b3dc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e31756de-5c8d-4c4f-945e-796a6dffdce0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:43:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "05dec381-a31d-4e4e-8d2d-3e27afbaf58d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074350Z:05dec381-a31d-4e4e-8d2d-3e27afbaf58d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "653b9178-6351-4bb5-b013-b2e3f8582ac6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:44:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f3280840-45c8-4177-8f86-fdea3eb3ad40", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074421Z:f3280840-45c8-4177-8f86-fdea3eb3ad40", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b754dcc-44f7-4384-8093-0fd2f5c17182", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:44:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f5a903c4-301e-4ee1-9c9e-7cdfa45e7770", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074451Z:f5a903c4-301e-4ee1-9c9e-7cdfa45e7770", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2ee375bd-f205-4df2-814d-b0816ae08e20", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:45:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cb396ae2-e477-4482-bf2c-e112c884c842", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074522Z:cb396ae2-e477-4482-bf2c-e112c884c842", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "53d06775-fdd9-4a36-bfde-19e6f19809d5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:45:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c5550aed-d783-4575-9e64-ceb7213ce7e9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074552Z:c5550aed-d783-4575-9e64-ceb7213ce7e9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "35391caf-6191-409b-ad1d-01e1f7a0ba87", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:46:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e892b6d7-93d1-4c97-bee9-89019d9bbd2c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074623Z:e892b6d7-93d1-4c97-bee9-89019d9bbd2c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a075f3dd-472f-4022-8b06-f3a660e60844", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:46:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a5824d13-8a65-4960-8ffa-106cffbb225d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074653Z:a5824d13-8a65-4960-8ffa-106cffbb225d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "562f8338-9049-4518-954c-4967e46b0f19", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:47:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8c14687d-6be4-4b5a-b9a9-c97be0f2f935", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074724Z:8c14687d-6be4-4b5a-b9a9-c97be0f2f935", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9f26d729-f9a8-46b6-9f59-315b145b12ab", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:47:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a0f5c580-35b0-430f-941c-68d73b510a79", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074754Z:a0f5c580-35b0-430f-941c-68d73b510a79", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d550c8e-80d2-4156-93b5-536b0732245d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:25 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5592fdcc-8f63-4d6c-89ac-668586914b03", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074825Z:5592fdcc-8f63-4d6c-89ac-668586914b03", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "31a56589-f79d-4729-a74c-2cfda694e3a5", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:26 GMT", - "content-length" : "2342", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "113588e8-6838-4a51-9c42-9d2394ae16fa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074826Z:113588e8-6838-4a51-9c42-9d2394ae16fa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2879794a-9b43-4688-b2b3-7c87db2faaf0", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c\",\"name\":\"hdisdk-kafka-byok829055433883c\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json\",\"kind\":\"Kafka\",\"componentVersion\":{\"Kafka\":\"1.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"dataDisksGroups\":[{\"disksPerNode\":8,\"storageAccountType\":\"Standard_LRS\",\"diskSizeGB\":1023}],\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Small\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-07T07:25:29.493\",\"quotaInfo\":{\"coresUsed\":23},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\",\"diskEncryptionProperties\":{\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"keyName\":\"hdijavakey1c7073229e7\",\"keyVersion\":\"d5a7ca4418774811b503e7d3d2a2014e\",\"encryptionAlgorithm\":\"RSA-OAEP\",\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\":{\"principalId\":\"9fce41a0-1edd-4568-8191-0e8113d83534\",\"tenantId\":\"00000000-0000-0000-0000-000000000000\"}}}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/keys/hdijavakey23850363601/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:26 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "East US 2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9211aabb-2831-4bda-a7cb-1c5117b67093", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/keys/hdijavakey23850363601/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:26 GMT", - "content-length" : "678", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "East US 2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a4814f7d-58d7-4931-9fa0-a00888acb7ce", - "Body" : "{\"key\":{\"kid\":\"https://hdijavavaultdc2254734a.vault.azure.net/keys/hdijavakey23850363601/b9d6282a541840528ef01c5c4b2ec4e7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mr7SqFnF41L2WL0c9mzJRvDkXemoxevtLxnfcGzER2YGkFlyZhE22UQEyGJgya1NQRjWb9j8mbxOrGlzlrm2ITpplAR93WnSct6VLXt5lcfSp2xSm4vWJsazoHg7Wz3cEvK0ZlBb3jtxmldK33dHEGB-wOStIergCxR1C8YnqAK1XWATNyhOW-hwlmuMQD2Nz3CNeq24hyfoh8hrcdQinTh1eJB85ARny6IEnrXubtRLWX0mK_n0S5DV1Lsw7gSv9RjZIob506bJqlpLN_bekOzIYZHHEXTuj-HPJ7W9ZNCYfE8epYbNx8R-Yz3yDS5EhTQdgZRFGEfJy-d6dzFS6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1546847307,\"updated\":1546847307,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/rotatediskencryptionkey?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:29 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2d6c0aec-44fe-4721-9c2c-d26caca10605", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074829Z:2d6c0aec-44fe-4721-9c2c-d26caca10605", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/operationresults/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "cfc29bb1-3177-475b-8cfb-b7e561e2260e", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "58833f4a-879b-4fd1-91f2-7905267236ac", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074829Z:58833f4a-879b-4fd1-91f2-7905267236ac", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "32f2a639-443f-4efb-8ad1-d9af35aca63c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:48:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "61fbf9f4-8926-4644-bf67-0f088684e4d2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074859Z:61fbf9f4-8926-4644-bf67-0f088684e4d2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a3d7ad60-0222-4a45-8a33-0d19281517c3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:49:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bce5bbf5-4c9a-4955-9725-b12558bc098b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T074929Z:bce5bbf5-4c9a-4955-9725-b12558bc098b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0c740eed-5965-493c-b2bf-b56b34a7c781", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:50:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "af7cb76b-ec33-4950-a906-c36afe440141", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075000Z:af7cb76b-ec33-4950-a906-c36afe440141", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "46d164c1-d5fd-4a42-beb2-81d6549c9465", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:50:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0a2c4f9b-0ed2-4fe7-94f7-b7db3d02f950", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075030Z:0a2c4f9b-0ed2-4fe7-94f7-b7db3d02f950", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b9957043-5b74-4c92-b716-300e9177485a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:00 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11941", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5cf6ae94-84b4-4560-9b8c-02e3a265301a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075100Z:5cf6ae94-84b4-4560-9b8c-02e3a265301a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "103511a1-4edd-4951-9e01-efc2f68796d5", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:01 GMT", - "content-length" : "2342", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11940", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "97b8f62d-56f2-4628-89ed-48505969bfda", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075101Z:97b8f62d-56f2-4628-89ed-48505969bfda", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bdd7f0c4-365c-41ba-bd72-864400d617a0", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c\",\"name\":\"hdisdk-kafka-byok829055433883c\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json\",\"kind\":\"Kafka\",\"componentVersion\":{\"Kafka\":\"1.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"dataDisksGroups\":[{\"disksPerNode\":8,\"storageAccountType\":\"Standard_LRS\",\"diskSizeGB\":1023}],\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Small\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-07T07:25:29.493\",\"quotaInfo\":{\"coresUsed\":23},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\",\"diskEncryptionProperties\":{\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"keyName\":\"hdijavakey23850363601\",\"keyVersion\":\"b9d6282a541840528ef01c5c4b2ec4e7\",\"encryptionAlgorithm\":\"RSA-OAEP\",\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\":{\"principalId\":\"9fce41a0-1edd-4568-8191-0e8113d83534\",\"tenantId\":\"00000000-0000-0000-0000-000000000000\"}}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:03 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9afc15bd-177e-4ab5-b99c-9e8c8c9effb3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075103Z:9afc15bd-177e-4ab5-b99c-9e8c8c9effb3", - "x-powered-by" : "ASP.NET", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "9afc15bd-177e-4ab5-b99c-9e8c8c9effb3", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/East%20US%202/deletedVaults/hdijavavaultdc2254734a/purge?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:03 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5b1c44a8-e446-469d-96ae-28b5c4f9c308", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075103Z:5b1c44a8-e446-469d-96ae-28b5c4f9c308", - "x-powered-by" : "ASP.NET", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "5b1c44a8-e446-469d-96ae-28b5c4f9c308", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:03 GMT", - "content-length" : "64", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11939", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "863d71a9-8fec-46bf-9d34-b479e48932c4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075104Z:863d71a9-8fec-46bf-9d34-b479e48932c4", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "863d71a9-8fec-46bf-9d34-b479e48932c4", - "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"status\":\"NotStarted\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:08 GMT", - "content-length" : "64", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11938", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0032082b-77b2-41bd-af19-10145075d7bb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075109Z:0032082b-77b2-41bd-af19-10145075d7bb", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "0032082b-77b2-41bd-af19-10145075d7bb", - "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"status\":\"NotStarted\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:13 GMT", - "content-length" : "64", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11937", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "68332f92-e324-491e-a1e0-1687589ed5d2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075114Z:68332f92-e324-491e-a1e0-1687589ed5d2", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "68332f92-e324-491e-a1e0-1687589ed5d2", - "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"status\":\"NotStarted\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:18 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "107", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11936", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ef125af5-869c-4ab1-886e-785d2fb18f3c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075119Z:ef125af5-869c-4ab1-886e-785d2fb18f3c", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.235", - "x-ms-request-id" : "ef125af5-869c-4ab1-886e-785d2fb18f3c", - "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"lastActionDateTime\":\"2019-01-07 07:51:18Z\",\"status\":\"Succeeded\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:51:19 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "399909c9-be09-431a-a349-d9bf9805dc64", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075120Z:399909c9-be09-431a-a349-d9bf9805dc64", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJENUZBNjk4OTA4MTdELUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "399909c9-be09-431a-a349-d9bf9805dc64", - "Body" : "" - } - } ], - "variables" : [ "hdijava-5fa69890817d", "hdijavafd5358386836", "hdijavavaultdc2254734a", "hdijavaa9c91089ceba", "hdijavakey1c7073229e7", "hdisdk-kafka-byok829055433883c", "hdijavakey23850363601" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:10 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ba37e3f5-b2a4-4839-94e1-90dbc912a5f4", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190107T072411Z:ba37e3f5-b2a4-4839-94e1-90dbc912a5f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ba37e3f5-b2a4-4839-94e1-90dbc912a5f4", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:12 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9de1fc8c-be2e-4022-9210-9a34570bf959", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072413Z:9de1fc8c-be2e-4022-9210-9a34570bf959", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9de1fc8c-be2e-4022-9210-9a34570bf959", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d\",\"name\":\"hdijava-5fa69890817d\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:14 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a8708a13-daa6-46b2-9381-6ce45ef91f73", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072415Z:a8708a13-daa6-46b2-9381-6ce45ef91f73", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "b75c4c92-0aff-47fc-bc61-f79b180d9351", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:14 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fc4fa2d4-9829-44cd-b71f-118d57913a1d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072415Z:fc4fa2d4-9829-44cd-b71f-118d57913a1d", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "a2f3fab6-c956-4906-8d0d-0b38c4d01e6a", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/b75c4c92-0aff-47fc-bc61-f79b180d9351?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:32 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "12930e4b-b61c-466d-84a3-583bcc65ee0c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072432Z:12930e4b-b61c-466d-84a3-583bcc65ee0c", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "377a93df-9815-4f61-aa32-f7b0ff3e74fa", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836\",\"name\":\"hdijavafd5358386836\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-07T07:24:15.2593743Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavafd5358386836.blob.core.windows.net/\",\"queue\":\"https://hdijavafd5358386836.queue.core.windows.net/\",\"table\":\"https://hdijavafd5358386836.table.core.windows.net/\",\"file\":\"https://hdijavafd5358386836.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:32 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cda8f7e5-e2dc-43fd-913c-dfacda918505", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072433Z:cda8f7e5-e2dc-43fd-913c-dfacda918505", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b1ec85b-ad7d-4dbd-91af-e3152f6b48bd", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836\",\"name\":\"hdijavafd5358386836\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-07T07:24:15.3531257Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-07T07:24:15.2593743Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavafd5358386836.blob.core.windows.net/\",\"queue\":\"https://hdijavafd5358386836.queue.core.windows.net/\",\"table\":\"https://hdijavafd5358386836.table.core.windows.net/\",\"file\":\"https://hdijavafd5358386836.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:34 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "1276", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8a5a54cd-f203-4417-8de0-df93067c7bce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072435Z:8a5a54cd-f203-4417-8de0-df93067c7bce", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "8a5a54cd-f203-4417-8de0-df93067c7bce", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:24:34 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "1277", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "45e3eb09-f2c2-4340-9b86-d62866b53bf6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072435Z:45e3eb09-f2c2-4340-9b86-d62866b53bf6", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "45e3eb09-f2c2-4340-9b86-d62866b53bf6", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net/\",\"provisioningState\":\"RegisteringDns\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:05 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "1272", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "64570225-7bbc-4d3f-8502-6f4e01815797", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072505Z:64570225-7bbc-4d3f-8502-6f4e01815797", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "64570225-7bbc-4d3f-8502-6f4e01815797", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net/\",\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba?api-version=2015-08-31-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ManagedServiceIdentityClient, 2015-08-31-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:07 GMT", + "content-length" : "825", + "server" : "Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6c7ae9e0-635f-41dd-8986-4b9c7ae7f9ee", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072507Z:6c7ae9e0-635f-41dd-8986-4b9c7ae7f9ee", + "content-type" : "application/json; charset=utf-8", + "location" : "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba", + "cache-control" : "no-cache", + "x-ms-request-id" : "6c7ae9e0-635f-41dd-8986-4b9c7ae7f9ee", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba\",\"name\":\"hdijavaa9c91089ceba\",\"type\":\"Microsoft.ManagedIdentity/userAssignedIdentities\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"principalId\":\"60ed26d1-11d7-474b-9ba6-cf6c2f979d96\",\"clientId\":\"9fce41a0-1edd-4568-8191-0e8113d83534\",\"clientSecretUrl\":\"https://control-eastus2.identity.azure.net/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/Microsoft.ManagedIdentity/userAssignedIdentities/hdijavaa9c91089ceba/credentials?tid=00000000-0000-0000-0000-000000000000&oid=60ed26d1-11d7-474b-9ba6-cf6c2f979d96&aid=9fce41a0-1edd-4568-8191-0e8113d83534\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:07 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "1460", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "06b8817f-f13c-4fc8-ab2b-7e627e6fd064", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072507Z:06b8817f-f13c-4fc8-ab2b-7e627e6fd064", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "06b8817f-f13c-4fc8-ab2b-7e627e6fd064", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a\",\"name\":\"hdijavavaultdc2254734a\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"East US 2\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"premium\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"keys\":[\"wrapKey\",\"decrypt\",\"list\",\"purge\",\"create\",\"recover\",\"restore\",\"verify\",\"encrypt\",\"unwrapKey\",\"import\",\"delete\",\"backup\",\"sign\",\"get\",\"update\"],\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"certificates\":[\"getissuers\",\"manageissuers\",\"update\",\"list\",\"delete\",\"restore\",\"managecontacts\",\"deleteissuers\",\"get\",\"recover\",\"listissuers\",\"import\",\"backup\",\"create\",\"setissuers\",\"purge\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}},{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"60ed26d1-11d7-474b-9ba6-cf6c2f979d96\",\"permissions\":{\"keys\":[\"get\",\"wrapKey\",\"unwrapKey\"],\"secrets\":[\"get\",\"set\",\"delete\"]}}],\"enabledForDeployment\":true,\"enabledForDiskEncryption\":true,\"enabledForTemplateDeployment\":true,\"enableSoftDelete\":true,\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net/\",\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/keys/hdijavakey1c7073229e7/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:07 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "East US 2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a4e925dd-d69d-44bd-b9b7-f065525241dc", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/keys/hdijavakey1c7073229e7/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:09 GMT", + "content-length" : "678", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "East US 2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ca47e88c-40cd-4b78-a4ee-ff5b4cb9f15e", + "Body" : "{\"key\":{\"kid\":\"https://hdijavavaultdc2254734a.vault.azure.net/keys/hdijavakey1c7073229e7/d5a7ca4418774811b503e7d3d2a2014e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"knY-m-5FVhVFeHY5x5nYfnTgc6tgjtbgCdu0XtUBT4spZhp1dOG6W68lACV0medoYVdYGT_VUJ2TLoHI6sPaCnYHep7mw3yzrLUG6np29iuQC-yKXWL6p6n0QjcNYP5F_N-TVV6_KK3zDsvBT892WC1aL4kAdPseOyZXAGKvZbeLBj4OCcirWK_l4po6bFBKkmKQ4nWxawA-1TBQ4sttNpqnnE8Dpe5J3NdI-XjOWNrN43K5BvbEtU3tWQCjfvx9F9Vyr0ojbvq3VCLuB1JUwze6a7e4gVMI_eaH0HHldXR04iuPH0XmTtV2hqwWgpK5WCB40yEx5Oshl5fGDJaXOQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1546845909,\"updated\":1546845909,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.Storage/storageAccounts/hdijavafd5358386836/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:09 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "48245d2c-759c-4bf4-8c2b-8d22eb9c81c3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072509Z:48245d2c-759c-4bf4-8c2b-8d22eb9c81c3", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "13268231-231e-4aee-b15f-6963424c655e", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"2ndVPrHuZqvvwEHk2xsn215BX7/n+VvWjzKQti/1hiNpHEPa4hUKqJsYWOQS4Ucjg045mmSGSry5ArOPbPGcUQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"91yDDAcm/2OptLb+em+a4erpbLXbYlcQBxcleis7MmSZR9a40Jc5VG01HdOuVUfcgz2ukMNPcBFk+HFgHf7iJw==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:29 GMT", + "content-length" : "1986", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1194", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "64ad0848-20ed-4ec0-9d20-49003c9a7b26", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072530Z:64ad0848-20ed-4ec0-9d20-49003c9a7b26", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", + "x-ms-request-id" : "afea37f4-5670-444e-ab9d-d6418fc4bbd7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c\",\"name\":\"hdisdk-kafka-byok829055433883c\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json\",\"kind\":\"Kafka\",\"componentVersion\":{\"Kafka\":\"1.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"dataDisksGroups\":[{\"disksPerNode\":8,\"storageAccountType\":\"Standard_LRS\",\"diskSizeGB\":1023}],\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Small\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-07T07:25:29.493\",\"quotaInfo\":{\"coresUsed\":23},\"tier\":\"standard\",\"diskEncryptionProperties\":{\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"keyName\":\"hdijavakey1c7073229e7\",\"keyVersion\":\"d5a7ca4418774811b503e7d3d2a2014e\",\"encryptionAlgorithm\":\"RSA-OAEP\",\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\":{}}}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:25:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ce76b5dd-585f-4f96-a5dd-fb8ea275e32e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072530Z:ce76b5dd-585f-4f96-a5dd-fb8ea275e32e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ec76666e-68ce-4a46-9662-aac4d1941362", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:26:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f60fe012-457c-4b05-92a2-9fcb6f766ac2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072601Z:f60fe012-457c-4b05-92a2-9fcb6f766ac2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "60582844-fc9b-4fd4-8090-c3cfdec3f28b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:26:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "062f8b57-78a4-4809-975d-8de7ac16241c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072632Z:062f8b57-78a4-4809-975d-8de7ac16241c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9255ec71-7448-46b0-9d8c-cb96078edd26", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:27:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b87613d5-28b2-452e-a4f7-e1c19c03d91d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072702Z:b87613d5-28b2-452e-a4f7-e1c19c03d91d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "12127f14-8891-4838-99ce-0bab740fe2c2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:27:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9f503da1-f222-4721-ac93-f98db8f2bbd1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072732Z:9f503da1-f222-4721-ac93-f98db8f2bbd1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "48e1367e-6c78-46fb-90b9-3bfe044dd76b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:28:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c3a701f1-04f1-4c44-9568-0443a1327231", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072803Z:c3a701f1-04f1-4c44-9568-0443a1327231", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b9f2086e-9cff-4b0b-840f-29c491e2abaa", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:28:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5e89d7aa-cfd8-4ac5-8161-e0cf7ad30375", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072834Z:5e89d7aa-cfd8-4ac5-8161-e0cf7ad30375", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4c406de5-03c6-414b-8010-9b7f4c42a51a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:29:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6678c005-db4c-49b6-849b-19baf01f378d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072904Z:6678c005-db4c-49b6-849b-19baf01f378d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8c43a39d-a0e4-4176-bc22-cbb12ad394d5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:29:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5fc62dd2-e0bf-42f1-8fdf-4fa368243fb4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T072935Z:5fc62dd2-e0bf-42f1-8fdf-4fa368243fb4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "71856703-f329-4819-a212-2e3379befa20", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:30:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "51a52ed1-b313-493a-82cc-33016336319e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073005Z:51a52ed1-b313-493a-82cc-33016336319e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "50ec5883-3973-4573-9eb8-c18105cf22b5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:30:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e5bec443-f11b-4b3f-b07a-88d0e65274e3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073036Z:e5bec443-f11b-4b3f-b07a-88d0e65274e3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8c6079fe-3cb2-40a1-9d5d-be8316664367", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:31:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0b7e31b6-b31c-4d9b-ab03-d4e43ce5c1ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073107Z:0b7e31b6-b31c-4d9b-ab03-d4e43ce5c1ba", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9acfc26a-e447-4c8d-a2df-1e24f8deecd0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:31:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1cde57b2-c8c7-4c84-b2d7-09e15aa70df8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073137Z:1cde57b2-c8c7-4c84-b2d7-09e15aa70df8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "90bc8b94-1ae1-4364-8362-d7308883c2e7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:32:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "42957de1-212e-45e0-9314-3b0da63b47d7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073208Z:42957de1-212e-45e0-9314-3b0da63b47d7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ec73379e-91fa-41bc-850e-15883110ff9d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:32:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c61a697a-865a-400d-8f0c-693e112e9795", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073238Z:c61a697a-865a-400d-8f0c-693e112e9795", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b78ac520-a787-41e5-a717-2b16f7e61b11", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:33:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a18e16a7-46fe-4c22-ba11-45c2be524f48", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073309Z:a18e16a7-46fe-4c22-ba11-45c2be524f48", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "81045264-34f0-4acb-8b5f-1f7fe35daadc", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:33:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c1bfd406-a076-4a4c-95f5-75a7e56b2f4e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073339Z:c1bfd406-a076-4a4c-95f5-75a7e56b2f4e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e55e8e95-5367-4368-984f-25e2743c92fe", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:34:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5c55db31-bb7a-4700-a6d1-c781ff62f3ed", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073410Z:5c55db31-bb7a-4700-a6d1-c781ff62f3ed", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "07a1f2ec-f20e-428d-b6bc-baa5fe979611", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:34:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a27774a0-44ec-4a35-a035-bace62285d5c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073440Z:a27774a0-44ec-4a35-a035-bace62285d5c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a5e915c7-23a9-48a2-97bc-80b452bc492f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:35:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "08f7ffa0-9868-42cb-9507-2e9c83bac8f0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073511Z:08f7ffa0-9868-42cb-9507-2e9c83bac8f0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "88c83672-2a57-4261-8ef5-549bf755ec66", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:35:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f5af0a2f-8bbb-4490-b155-9c7fdd5afc73", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073542Z:f5af0a2f-8bbb-4490-b155-9c7fdd5afc73", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ef2a4051-130e-4ea6-9f72-0cbb35e47e0b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:36:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0e9bd90f-26b5-4741-bc93-a2d8ec83413f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073612Z:0e9bd90f-26b5-4741-bc93-a2d8ec83413f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1ed45c03-5765-4012-ade5-334dc417dc9d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:36:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bc097ba7-f27f-4df5-8088-54ecb3929470", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073643Z:bc097ba7-f27f-4df5-8088-54ecb3929470", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2b3648cd-d0ad-49d6-858b-c85c7e1aa4c4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:37:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e20da65a-6e84-4b80-bf5f-adb2d17abe99", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073713Z:e20da65a-6e84-4b80-bf5f-adb2d17abe99", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b477bba2-8d0e-4cb6-8e55-9dbc66ee2082", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:37:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5ba6af80-7410-47ce-be17-558abf02cf67", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073743Z:5ba6af80-7410-47ce-be17-558abf02cf67", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d5dd8b8a-e45a-4985-8ab4-bb9e665a39a2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:38:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1b4257a7-770d-428e-813b-3be74dc5e5cd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073814Z:1b4257a7-770d-428e-813b-3be74dc5e5cd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ba8738a4-d310-456b-b78c-6621ad0516ce", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:38:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4a9a1e29-3c79-4929-9232-b566b5af8c63", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073845Z:4a9a1e29-3c79-4929-9232-b566b5af8c63", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "91579c1a-a3b0-484b-9328-450ab5103186", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:39:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4cd30a11-2d0e-4db1-b390-8c9abfc0ce19", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073915Z:4cd30a11-2d0e-4db1-b390-8c9abfc0ce19", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b414083b-05fb-4dc5-965d-734b43d5f7c6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:39:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ff7bf3d7-6b28-425c-ab05-94b010340fb1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T073946Z:ff7bf3d7-6b28-425c-ab05-94b010340fb1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4b4077b9-0461-4760-9d72-9062a1ee8915", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:40:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b6004e70-51e4-4216-9685-58dadc3df0ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074016Z:b6004e70-51e4-4216-9685-58dadc3df0ba", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9a4f4294-4b26-4519-8a80-27fb56c9ae2c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:40:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d9c31a0e-78a4-45b6-850c-54b8b537a825", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074047Z:d9c31a0e-78a4-45b6-850c-54b8b537a825", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c98c8bf3-eacc-4bd3-98c5-ec94c423d0a8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:41:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c66b0d74-99c3-4e90-9bf3-fc18589f2d6f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074117Z:c66b0d74-99c3-4e90-9bf3-fc18589f2d6f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "02d4c375-7283-4062-aea1-6004e9b62fd4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:41:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "348b2829-95f3-4b0f-903e-4b1a76bac937", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074148Z:348b2829-95f3-4b0f-903e-4b1a76bac937", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6d4d09cd-617f-43e3-94b2-cb0bb9056320", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:42:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3366311a-4f82-421a-90bc-e5b6cc5f8f6c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074218Z:3366311a-4f82-421a-90bc-e5b6cc5f8f6c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d6c7fd00-1070-4958-8e3f-f68b54e7d550", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:42:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b4d32e77-5728-4197-82fb-8333265cd6f9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074249Z:b4d32e77-5728-4197-82fb-8333265cd6f9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6598bd3b-01a9-48e3-ad1c-ed201e95b367", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:43:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0a85519-6316-472a-ae2b-510aa204b3dc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074320Z:e0a85519-6316-472a-ae2b-510aa204b3dc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e31756de-5c8d-4c4f-945e-796a6dffdce0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:43:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "05dec381-a31d-4e4e-8d2d-3e27afbaf58d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074350Z:05dec381-a31d-4e4e-8d2d-3e27afbaf58d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "653b9178-6351-4bb5-b013-b2e3f8582ac6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:44:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f3280840-45c8-4177-8f86-fdea3eb3ad40", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074421Z:f3280840-45c8-4177-8f86-fdea3eb3ad40", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b754dcc-44f7-4384-8093-0fd2f5c17182", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:44:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f5a903c4-301e-4ee1-9c9e-7cdfa45e7770", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074451Z:f5a903c4-301e-4ee1-9c9e-7cdfa45e7770", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2ee375bd-f205-4df2-814d-b0816ae08e20", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:45:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cb396ae2-e477-4482-bf2c-e112c884c842", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074522Z:cb396ae2-e477-4482-bf2c-e112c884c842", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "53d06775-fdd9-4a36-bfde-19e6f19809d5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:45:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c5550aed-d783-4575-9e64-ceb7213ce7e9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074552Z:c5550aed-d783-4575-9e64-ceb7213ce7e9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "35391caf-6191-409b-ad1d-01e1f7a0ba87", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:46:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e892b6d7-93d1-4c97-bee9-89019d9bbd2c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074623Z:e892b6d7-93d1-4c97-bee9-89019d9bbd2c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a075f3dd-472f-4022-8b06-f3a660e60844", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:46:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a5824d13-8a65-4960-8ffa-106cffbb225d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074653Z:a5824d13-8a65-4960-8ffa-106cffbb225d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "562f8338-9049-4518-954c-4967e46b0f19", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:47:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8c14687d-6be4-4b5a-b9a9-c97be0f2f935", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074724Z:8c14687d-6be4-4b5a-b9a9-c97be0f2f935", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9f26d729-f9a8-46b6-9f59-315b145b12ab", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:47:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a0f5c580-35b0-430f-941c-68d73b510a79", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074754Z:a0f5c580-35b0-430f-941c-68d73b510a79", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1d550c8e-80d2-4156-93b5-536b0732245d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:25 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5592fdcc-8f63-4d6c-89ac-668586914b03", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074825Z:5592fdcc-8f63-4d6c-89ac-668586914b03", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "31a56589-f79d-4729-a74c-2cfda694e3a5", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:26 GMT", + "content-length" : "2342", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "113588e8-6838-4a51-9c42-9d2394ae16fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074826Z:113588e8-6838-4a51-9c42-9d2394ae16fa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2879794a-9b43-4688-b2b3-7c87db2faaf0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c\",\"name\":\"hdisdk-kafka-byok829055433883c\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json\",\"kind\":\"Kafka\",\"componentVersion\":{\"Kafka\":\"1.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"dataDisksGroups\":[{\"disksPerNode\":8,\"storageAccountType\":\"Standard_LRS\",\"diskSizeGB\":1023}],\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Small\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-07T07:25:29.493\",\"quotaInfo\":{\"coresUsed\":23},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\",\"diskEncryptionProperties\":{\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"keyName\":\"hdijavakey1c7073229e7\",\"keyVersion\":\"d5a7ca4418774811b503e7d3d2a2014e\",\"encryptionAlgorithm\":\"RSA-OAEP\",\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\":{\"principalId\":\"9fce41a0-1edd-4568-8191-0e8113d83534\",\"tenantId\":\"00000000-0000-0000-0000-000000000000\"}}}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/keys/hdijavakey23850363601/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:26 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "East US 2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9211aabb-2831-4bda-a7cb-1c5117b67093", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/keys/hdijavakey23850363601/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.2.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:26 GMT", + "content-length" : "678", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=131.107.160.11;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "East US 2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a4814f7d-58d7-4931-9fa0-a00888acb7ce", + "Body" : "{\"key\":{\"kid\":\"https://hdijavavaultdc2254734a.vault.azure.net/keys/hdijavakey23850363601/b9d6282a541840528ef01c5c4b2ec4e7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mr7SqFnF41L2WL0c9mzJRvDkXemoxevtLxnfcGzER2YGkFlyZhE22UQEyGJgya1NQRjWb9j8mbxOrGlzlrm2ITpplAR93WnSct6VLXt5lcfSp2xSm4vWJsazoHg7Wz3cEvK0ZlBb3jtxmldK33dHEGB-wOStIergCxR1C8YnqAK1XWATNyhOW-hwlmuMQD2Nz3CNeq24hyfoh8hrcdQinTh1eJB85ARny6IEnrXubtRLWX0mK_n0S5DV1Lsw7gSv9RjZIob506bJqlpLN_bekOzIYZHHEXTuj-HPJ7W9ZNCYfE8epYbNx8R-Yz3yDS5EhTQdgZRFGEfJy-d6dzFS6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1546847307,\"updated\":1546847307,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/rotatediskencryptionkey?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:29 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2d6c0aec-44fe-4721-9c2c-d26caca10605", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074829Z:2d6c0aec-44fe-4721-9c2c-d26caca10605", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/operationresults/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "cfc29bb1-3177-475b-8cfb-b7e561e2260e", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "58833f4a-879b-4fd1-91f2-7905267236ac", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074829Z:58833f4a-879b-4fd1-91f2-7905267236ac", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "32f2a639-443f-4efb-8ad1-d9af35aca63c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:48:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "61fbf9f4-8926-4644-bf67-0f088684e4d2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074859Z:61fbf9f4-8926-4644-bf67-0f088684e4d2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a3d7ad60-0222-4a45-8a33-0d19281517c3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:49:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bce5bbf5-4c9a-4955-9725-b12558bc098b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T074929Z:bce5bbf5-4c9a-4955-9725-b12558bc098b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0c740eed-5965-493c-b2bf-b56b34a7c781", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:50:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "af7cb76b-ec33-4950-a906-c36afe440141", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075000Z:af7cb76b-ec33-4950-a906-c36afe440141", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "46d164c1-d5fd-4a42-beb2-81d6549c9465", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:50:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0a2c4f9b-0ed2-4fe7-94f7-b7db3d02f950", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075030Z:0a2c4f9b-0ed2-4fe7-94f7-b7db3d02f950", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b9957043-5b74-4c92-b716-300e9177485a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c/azureasyncoperations/3b5e9801-51ae-48f3-a8c1-87ee0ba2a0f9-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:00 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11941", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5cf6ae94-84b4-4560-9b8c-02e3a265301a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075100Z:5cf6ae94-84b4-4560-9b8c-02e3a265301a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "103511a1-4edd-4951-9e01-efc2f68796d5", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:01 GMT", + "content-length" : "2342", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11940", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "97b8f62d-56f2-4628-89ed-48505969bfda", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075101Z:97b8f62d-56f2-4628-89ed-48505969bfda", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bdd7f0c4-365c-41ba-bd72-864400d617a0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.HDInsight/clusters/hdisdk-kafka-byok829055433883c\",\"name\":\"hdisdk-kafka-byok829055433883c\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"7a2f00fd-2cd6-4097-b88c-6de25ee124b5\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/kafka-3.6.1000.67.1812120705.json\",\"kind\":\"Kafka\",\"componentVersion\":{\"Kafka\":\"1.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"dataDisksGroups\":[{\"disksPerNode\":8,\"storageAccountType\":\"Standard_LRS\",\"diskSizeGB\":1023}],\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Small\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-07T07:25:29.493\",\"quotaInfo\":{\"coresUsed\":23},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-kafka-byok829055433883c.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\",\"diskEncryptionProperties\":{\"vaultUri\":\"https://hdijavavaultdc2254734a.vault.azure.net\",\"keyName\":\"hdijavakey23850363601\",\"keyVersion\":\"b9d6282a541840528ef01c5c4b2ec4e7\",\"encryptionAlgorithm\":\"RSA-OAEP\",\"msiResourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\"}},\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d/providers/microsoft.managedidentity/userassignedidentities/hdijavaa9c91089ceba\":{\"principalId\":\"9fce41a0-1edd-4568-8191-0e8113d83534\",\"tenantId\":\"00000000-0000-0000-0000-000000000000\"}}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-5fa69890817d/providers/Microsoft.KeyVault/vaults/hdijavavaultdc2254734a?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:03 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9afc15bd-177e-4ab5-b99c-9e8c8c9effb3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075103Z:9afc15bd-177e-4ab5-b99c-9e8c8c9effb3", + "x-powered-by" : "ASP.NET", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "9afc15bd-177e-4ab5-b99c-9e8c8c9effb3", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/East%20US%202/deletedVaults/hdijavavaultdc2254734a/purge?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:03 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5b1c44a8-e446-469d-96ae-28b5c4f9c308", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075103Z:5b1c44a8-e446-469d-96ae-28b5c4f9c308", + "x-powered-by" : "ASP.NET", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "5b1c44a8-e446-469d-96ae-28b5c4f9c308", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:03 GMT", + "content-length" : "64", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11939", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "863d71a9-8fec-46bf-9d34-b479e48932c4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075104Z:863d71a9-8fec-46bf-9d34-b479e48932c4", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "863d71a9-8fec-46bf-9d34-b479e48932c4", + "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"status\":\"NotStarted\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:08 GMT", + "content-length" : "64", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11938", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0032082b-77b2-41bd-af19-10145075d7bb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075109Z:0032082b-77b2-41bd-af19-10145075d7bb", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "0032082b-77b2-41bd-af19-10145075d7bb", + "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"status\":\"NotStarted\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:13 GMT", + "content-length" : "64", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11937", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "68332f92-e324-491e-a1e0-1687589ed5d2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075114Z:68332f92-e324-491e-a1e0-1687589ed5d2", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "68332f92-e324-491e-a1e0-1687589ed5d2", + "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"status\":\"NotStarted\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2/operationResults/VVR8MDYzNjgyNDQ0MjY0Nzc2NTg0M3xDNDJBMTIwMzZGNUE0NTQ4QjlCNTQzMDU5OUYzN0E2QQ?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:18 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "107", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11936", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ef125af5-869c-4ab1-886e-785d2fb18f3c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075119Z:ef125af5-869c-4ab1-886e-785d2fb18f3c", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.235", + "x-ms-request-id" : "ef125af5-869c-4ab1-886e-785d2fb18f3c", + "Body" : "{\"createdDateTime\":\"2019-01-07 07:51:03Z\",\"lastActionDateTime\":\"2019-01-07 07:51:18Z\",\"status\":\"Succeeded\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-5fa69890817d?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:51:19 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "399909c9-be09-431a-a349-d9bf9805dc64", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075120Z:399909c9-be09-431a-a349-d9bf9805dc64", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJENUZBNjk4OTA4MTdELUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "399909c9-be09-431a-a349-d9bf9805dc64", + "Body" : "" + } + } ], + "variables" : [ "hdijava-5fa69890817d", "hdijavafd5358386836", "hdijavavaultdc2254734a", "hdijavaa9c91089ceba", "hdijavakey1c7073229e7", "hdisdk-kafka-byok829055433883c", "hdijavakey23850363601" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateLinuxSparkClusterWithComponentVersion.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateLinuxSparkClusterWithComponentVersion.json index d992177f00edb..fdfc85f65d2f9 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateLinuxSparkClusterWithComponentVersion.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateLinuxSparkClusterWithComponentVersion.json @@ -1,1096 +1,1096 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-12395515dcd1?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:24 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8ab7cb8a-d9cf-4958-ab70-16be16874a10", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T104025Z:8ab7cb8a-d9cf-4958-ab70-16be16874a10", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8ab7cb8a-d9cf-4958-ab70-16be16874a10", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-12395515dcd1?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:26 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6ae669d8-e416-4848-a4c1-a57ea952a829", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104026Z:6ae669d8-e416-4848-a4c1-a57ea952a829", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6ae669d8-e416-4848-a4c1-a57ea952a829", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1\",\"name\":\"hdijava-12395515dcd1\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:27 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2aaffbc5-f866-4618-9854-e81e21e9ad4f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104028Z:2aaffbc5-f866-4618-9854-e81e21e9ad4f", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "785d8c01-487f-45cf-97b1-321b08942203", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:27 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e92e2683-3065-4622-be8e-f3ed0899af89", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104028Z:e92e2683-3065-4622-be8e-f3ed0899af89", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "89a6e4db-88aa-4aac-bb41-8a923e50be9e", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:45 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f196922f-bb4e-407f-a04e-c66c06c74f1c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104045Z:f196922f-bb4e-407f-a04e-c66c06c74f1c", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "6748c525-5e73-4f37-a792-b8b2c961bf90", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2\",\"name\":\"hdijava1d33948070b2\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:40:27.7202728Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava1d33948070b2.blob.core.windows.net/\",\"queue\":\"https://hdijava1d33948070b2.queue.core.windows.net/\",\"table\":\"https://hdijava1d33948070b2.table.core.windows.net/\",\"file\":\"https://hdijava1d33948070b2.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:45 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "28639e28-8fd7-4c28-818f-92fc8c675f5f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104045Z:28639e28-8fd7-4c28-818f-92fc8c675f5f", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "827fbe7c-cf85-4398-a505-d2276ad349e1", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2\",\"name\":\"hdijava1d33948070b2\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:40:27.7202728Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava1d33948070b2.blob.core.windows.net/\",\"queue\":\"https://hdijava1d33948070b2.queue.core.windows.net/\",\"table\":\"https://hdijava1d33948070b2.table.core.windows.net/\",\"file\":\"https://hdijava1d33948070b2.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:45 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bbbc0183-d627-4266-a4d1-9981322661b3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104045Z:bbbc0183-d627-4266-a4d1-9981322661b3", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "e44607af-f584-4f54-ad25-5d6f2b81b1b5", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"H+hUF1zwWfNWTabSCSvTkVZFEQae0yUpkhAZqyoLWp5JyNvQKtt4QOB5RAaGKxo4NoCMt47dQW3PTPyaeEpyOQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"Cu3fBodfLoMSzsICkYo02H/YASh5JupxvFBknNX4eYWIIKiRM/DQjdLuRLGVESwLR8NbiNJks6AzEU+fOdh+WA==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:41:04 GMT", - "content-length" : "1276", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2c19706d-ba30-4fa8-a73d-ac750dad742f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104105Z:2c19706d-ba30-4fa8-a73d-ac750dad742f", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"bdd4d1dd-5948-4bb3-888c-bc689d005da6\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498?api-version=2018-06-01-preview", - "x-ms-request-id" : "ce7c80d2-7594-4e3e-8fdb-31b2df7508ac", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498\",\"name\":\"hdisdk-sparkcomponentversions92498\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"bdd4d1dd-5948-4bb3-888c-bc689d005da6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.3.1810270004.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T10:41:04.44\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:41:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2adf358b-7cc9-435b-9566-04705c0938e4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104105Z:2adf358b-7cc9-435b-9566-04705c0938e4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "699a40a9-820a-4158-96c5-5ca4b0aafb99", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:41:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "11452e29-bb8e-41fb-94a1-03a224cf78e7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104136Z:11452e29-bb8e-41fb-94a1-03a224cf78e7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7a6ada10-a962-4d54-a370-8fbe5a36637d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:42:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6a84dd42-54ca-4380-8b51-1d1230ebd8f4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104206Z:6a84dd42-54ca-4380-8b51-1d1230ebd8f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a9a853b2-d278-49da-80c2-a65e19c194ad", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:42:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1f4cf8f0-6157-475c-966b-04b174a35d57", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104237Z:1f4cf8f0-6157-475c-966b-04b174a35d57", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8f35ebb7-454a-4e8a-bf65-46fe1520d156", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:43:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "28c577df-e2ae-4bb8-9d4f-261d7e2e8a2b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104307Z:28c577df-e2ae-4bb8-9d4f-261d7e2e8a2b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9538cc84-0fe6-405c-b73d-9b18f77f7b2c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:43:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1fb47c12-eae6-46f9-8330-ccb946978c86", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104338Z:1fb47c12-eae6-46f9-8330-ccb946978c86", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c9d663aa-11ee-4cd5-a4e2-d8309ef25a4a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:44:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8bc329f0-aefc-4f96-9cdc-713c341aaaf0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104408Z:8bc329f0-aefc-4f96-9cdc-713c341aaaf0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f0c08a37-88ec-48c7-a380-5eecf93023a2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:44:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ba37a2ee-e278-48de-bbae-d764fe4f01b6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104439Z:ba37a2ee-e278-48de-bbae-d764fe4f01b6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3da5b4ee-a039-4e03-b379-09016e6ed827", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:45:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d3afd1ea-ac99-442e-9451-f87be589345d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104509Z:d3afd1ea-ac99-442e-9451-f87be589345d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "928a7c75-a19f-48f2-9a45-a0c784d5503a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:45:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d711e2f7-7642-44fb-83b8-97a3667d5b21", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104540Z:d711e2f7-7642-44fb-83b8-97a3667d5b21", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b0ecfbd4-f400-471a-aee8-bfacdd685b3b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:46:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "14a2dda2-0c02-4f00-9ac2-c0f1f3fe5a67", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104610Z:14a2dda2-0c02-4f00-9ac2-c0f1f3fe5a67", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b765f6d1-dd5f-4b66-9682-452c7893ebcb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:46:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "017dbc3a-74a0-4bcc-b778-bfa3f73dc579", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104641Z:017dbc3a-74a0-4bcc-b778-bfa3f73dc579", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d3bad336-d3d5-40d3-bbf2-68f8b93e0600", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:47:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "11a67cee-9446-4108-8854-5b9b5f43ce1e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104712Z:11a67cee-9446-4108-8854-5b9b5f43ce1e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d4f76542-f2c9-476f-80db-8b003824abf2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:47:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c7e5119a-6608-4b77-808f-5255da39ad2b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104742Z:c7e5119a-6608-4b77-808f-5255da39ad2b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bd90a9e4-a8dd-47e1-ae4c-f8973ad98697", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:48:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a76d51f6-130d-4504-92be-e057514c00a7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104813Z:a76d51f6-130d-4504-92be-e057514c00a7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d3e4e35d-fee1-498b-ac38-373d811f7a4e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:48:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "40ade791-42c5-4bc0-ab79-978480d4552b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104843Z:40ade791-42c5-4bc0-ab79-978480d4552b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "86de3dd4-c0fa-4677-b1cb-f768e9d34510", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:49:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "628a0127-ad10-42f8-bff4-be7bfedf75ae", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104914Z:628a0127-ad10-42f8-bff4-be7bfedf75ae", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "354acac3-18df-4499-91ad-43ab7f93fa0e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:49:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "db48b41c-87a1-4630-a5a7-1a1ad0b00bd3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104945Z:db48b41c-87a1-4630-a5a7-1a1ad0b00bd3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5d692b72-0d35-4ea5-ac1e-7a59a9ffcd50", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:50:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5483c5d4-4fa4-4e2f-a4c7-8171f058400f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105015Z:5483c5d4-4fa4-4e2f-a4c7-8171f058400f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "91f13d3f-7130-49d9-847f-a3857ed18b18", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:50:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "92851b6a-437d-4e0d-9fd4-05dd48580d21", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105045Z:92851b6a-437d-4e0d-9fd4-05dd48580d21", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4296f0a1-d856-49c8-9391-7f15d2843316", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:51:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5dfb5f62-c7e7-4911-b002-410e5eb582c7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105116Z:5dfb5f62-c7e7-4911-b002-410e5eb582c7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "caee2d10-3b63-4a45-93c1-c1867047c36c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:51:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5cf500c6-bc9b-41c3-9879-111851c7c86e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105147Z:5cf500c6-bc9b-41c3-9879-111851c7c86e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ac1c34d7-9cc8-44c0-9e69-c719a0d216d6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:52:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a0779bc9-11e8-454a-9bcb-80da77067015", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105217Z:a0779bc9-11e8-454a-9bcb-80da77067015", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "996257e0-9c67-476a-9757-d29348ba3697", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:52:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "afa6e31f-462a-4b27-a578-1c2f459bb210", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105248Z:afa6e31f-462a-4b27-a578-1c2f459bb210", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6db0c4ba-b3c7-411a-bcfb-37312e4fa5fa", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:53:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0382ed5f-78ba-4813-844d-03df4bafabb9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105318Z:0382ed5f-78ba-4813-844d-03df4bafabb9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1da6fa1b-a4bb-44e6-bc42-bbd1c1038161", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:53:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8a9af0d3-46ff-48c3-9f1b-47d2a16fb0fb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105348Z:8a9af0d3-46ff-48c3-9f1b-47d2a16fb0fb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0fc9d63d-0842-4fd7-9606-baaaf619e732", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:54:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f5d8f0e6-daa1-4316-b681-f52565b70c5e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105419Z:f5d8f0e6-daa1-4316-b681-f52565b70c5e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ee3e0747-256b-41c2-aa76-810e66448d39", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:54:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0c8ec2ca-025a-454a-9e37-bdee3a7ff085", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105450Z:0c8ec2ca-025a-454a-9e37-bdee3a7ff085", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b0ac1090-4351-4613-b096-f8a1cb97931e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:55:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "eb1a2c2e-ab0a-46fb-a395-5a1b8cc692c0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105520Z:eb1a2c2e-ab0a-46fb-a395-5a1b8cc692c0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6615c73b-a3b4-44ed-8c87-77ae285c1beb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:55:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fd1dc907-02f3-471d-aab1-f49538eafb06", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105551Z:fd1dc907-02f3-471d-aab1-f49538eafb06", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "92c29245-7e85-48df-bae1-191498ca87ac", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:56:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6407b673-642c-4622-8991-32b736b4c8d2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105621Z:6407b673-642c-4622-8991-32b736b4c8d2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d720e0c6-ceca-4c50-b6de-ce53f42beea3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:56:51 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bd810022-ac31-47c4-b56c-b27f7274df4e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105652Z:bd810022-ac31-47c4-b56c-b27f7274df4e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b9c1be5f-b0b9-48cd-8660-9496aab464d8", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:56:51 GMT", - "content-length" : "1535", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "637446f3-2f05-48af-b029-e6edd55c2d31", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105652Z:637446f3-2f05-48af-b029-e6edd55c2d31", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "04428b5e-20d1-4a98-9fa2-18a2d5c15019", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498\",\"name\":\"hdisdk-sparkcomponentversions92498\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"bdd4d1dd-5948-4bb3-888c-bc689d005da6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"2.6.3.84-1\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.3.1810270004.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T10:41:04.44\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-sparkcomponentversions92498-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-sparkcomponentversions92498.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-12395515dcd1?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:56:53 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8edfc68e-2dbf-4ab3-bcfc-2ac82d7e2233", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T105654Z:8edfc68e-2dbf-4ab3-bcfc-2ac82d7e2233", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMTIzOTU1MTVEQ0QxLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "8edfc68e-2dbf-4ab3-bcfc-2ac82d7e2233", - "Body" : "" - } - } ], - "variables" : [ "hdijava-12395515dcd1", "hdijava1d33948070b2", "hdisdk-sparkcomponentversions92498" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-12395515dcd1?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:24 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8ab7cb8a-d9cf-4958-ab70-16be16874a10", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T104025Z:8ab7cb8a-d9cf-4958-ab70-16be16874a10", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8ab7cb8a-d9cf-4958-ab70-16be16874a10", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-12395515dcd1?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:26 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6ae669d8-e416-4848-a4c1-a57ea952a829", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104026Z:6ae669d8-e416-4848-a4c1-a57ea952a829", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6ae669d8-e416-4848-a4c1-a57ea952a829", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1\",\"name\":\"hdijava-12395515dcd1\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:27 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2aaffbc5-f866-4618-9854-e81e21e9ad4f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104028Z:2aaffbc5-f866-4618-9854-e81e21e9ad4f", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "785d8c01-487f-45cf-97b1-321b08942203", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:27 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e92e2683-3065-4622-be8e-f3ed0899af89", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104028Z:e92e2683-3065-4622-be8e-f3ed0899af89", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "89a6e4db-88aa-4aac-bb41-8a923e50be9e", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/785d8c01-487f-45cf-97b1-321b08942203?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:45 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f196922f-bb4e-407f-a04e-c66c06c74f1c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104045Z:f196922f-bb4e-407f-a04e-c66c06c74f1c", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "6748c525-5e73-4f37-a792-b8b2c961bf90", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2\",\"name\":\"hdijava1d33948070b2\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:40:27.7202728Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava1d33948070b2.blob.core.windows.net/\",\"queue\":\"https://hdijava1d33948070b2.queue.core.windows.net/\",\"table\":\"https://hdijava1d33948070b2.table.core.windows.net/\",\"file\":\"https://hdijava1d33948070b2.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:45 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "28639e28-8fd7-4c28-818f-92fc8c675f5f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104045Z:28639e28-8fd7-4c28-818f-92fc8c675f5f", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "827fbe7c-cf85-4398-a505-d2276ad349e1", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2\",\"name\":\"hdijava1d33948070b2\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:40:27.8609020Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:40:27.7202728Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava1d33948070b2.blob.core.windows.net/\",\"queue\":\"https://hdijava1d33948070b2.queue.core.windows.net/\",\"table\":\"https://hdijava1d33948070b2.table.core.windows.net/\",\"file\":\"https://hdijava1d33948070b2.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.Storage/storageAccounts/hdijava1d33948070b2/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:45 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bbbc0183-d627-4266-a4d1-9981322661b3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104045Z:bbbc0183-d627-4266-a4d1-9981322661b3", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "e44607af-f584-4f54-ad25-5d6f2b81b1b5", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"H+hUF1zwWfNWTabSCSvTkVZFEQae0yUpkhAZqyoLWp5JyNvQKtt4QOB5RAaGKxo4NoCMt47dQW3PTPyaeEpyOQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"Cu3fBodfLoMSzsICkYo02H/YASh5JupxvFBknNX4eYWIIKiRM/DQjdLuRLGVESwLR8NbiNJks6AzEU+fOdh+WA==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:41:04 GMT", + "content-length" : "1276", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2c19706d-ba30-4fa8-a73d-ac750dad742f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104105Z:2c19706d-ba30-4fa8-a73d-ac750dad742f", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"bdd4d1dd-5948-4bb3-888c-bc689d005da6\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498?api-version=2018-06-01-preview", + "x-ms-request-id" : "ce7c80d2-7594-4e3e-8fdb-31b2df7508ac", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498\",\"name\":\"hdisdk-sparkcomponentversions92498\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"bdd4d1dd-5948-4bb3-888c-bc689d005da6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.3.1810270004.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T10:41:04.44\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:41:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2adf358b-7cc9-435b-9566-04705c0938e4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104105Z:2adf358b-7cc9-435b-9566-04705c0938e4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "699a40a9-820a-4158-96c5-5ca4b0aafb99", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:41:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "11452e29-bb8e-41fb-94a1-03a224cf78e7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104136Z:11452e29-bb8e-41fb-94a1-03a224cf78e7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7a6ada10-a962-4d54-a370-8fbe5a36637d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:42:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6a84dd42-54ca-4380-8b51-1d1230ebd8f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104206Z:6a84dd42-54ca-4380-8b51-1d1230ebd8f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a9a853b2-d278-49da-80c2-a65e19c194ad", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:42:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1f4cf8f0-6157-475c-966b-04b174a35d57", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104237Z:1f4cf8f0-6157-475c-966b-04b174a35d57", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8f35ebb7-454a-4e8a-bf65-46fe1520d156", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:43:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "28c577df-e2ae-4bb8-9d4f-261d7e2e8a2b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104307Z:28c577df-e2ae-4bb8-9d4f-261d7e2e8a2b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9538cc84-0fe6-405c-b73d-9b18f77f7b2c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:43:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1fb47c12-eae6-46f9-8330-ccb946978c86", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104338Z:1fb47c12-eae6-46f9-8330-ccb946978c86", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c9d663aa-11ee-4cd5-a4e2-d8309ef25a4a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:44:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8bc329f0-aefc-4f96-9cdc-713c341aaaf0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104408Z:8bc329f0-aefc-4f96-9cdc-713c341aaaf0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f0c08a37-88ec-48c7-a380-5eecf93023a2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:44:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ba37a2ee-e278-48de-bbae-d764fe4f01b6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104439Z:ba37a2ee-e278-48de-bbae-d764fe4f01b6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3da5b4ee-a039-4e03-b379-09016e6ed827", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:45:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d3afd1ea-ac99-442e-9451-f87be589345d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104509Z:d3afd1ea-ac99-442e-9451-f87be589345d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "928a7c75-a19f-48f2-9a45-a0c784d5503a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:45:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d711e2f7-7642-44fb-83b8-97a3667d5b21", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104540Z:d711e2f7-7642-44fb-83b8-97a3667d5b21", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b0ecfbd4-f400-471a-aee8-bfacdd685b3b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:46:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "14a2dda2-0c02-4f00-9ac2-c0f1f3fe5a67", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104610Z:14a2dda2-0c02-4f00-9ac2-c0f1f3fe5a67", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b765f6d1-dd5f-4b66-9682-452c7893ebcb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:46:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "017dbc3a-74a0-4bcc-b778-bfa3f73dc579", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104641Z:017dbc3a-74a0-4bcc-b778-bfa3f73dc579", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d3bad336-d3d5-40d3-bbf2-68f8b93e0600", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:47:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "11a67cee-9446-4108-8854-5b9b5f43ce1e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104712Z:11a67cee-9446-4108-8854-5b9b5f43ce1e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d4f76542-f2c9-476f-80db-8b003824abf2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:47:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c7e5119a-6608-4b77-808f-5255da39ad2b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104742Z:c7e5119a-6608-4b77-808f-5255da39ad2b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bd90a9e4-a8dd-47e1-ae4c-f8973ad98697", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:48:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a76d51f6-130d-4504-92be-e057514c00a7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104813Z:a76d51f6-130d-4504-92be-e057514c00a7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d3e4e35d-fee1-498b-ac38-373d811f7a4e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:48:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "40ade791-42c5-4bc0-ab79-978480d4552b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104843Z:40ade791-42c5-4bc0-ab79-978480d4552b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "86de3dd4-c0fa-4677-b1cb-f768e9d34510", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:49:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "628a0127-ad10-42f8-bff4-be7bfedf75ae", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104914Z:628a0127-ad10-42f8-bff4-be7bfedf75ae", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "354acac3-18df-4499-91ad-43ab7f93fa0e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:49:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "db48b41c-87a1-4630-a5a7-1a1ad0b00bd3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104945Z:db48b41c-87a1-4630-a5a7-1a1ad0b00bd3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5d692b72-0d35-4ea5-ac1e-7a59a9ffcd50", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:50:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5483c5d4-4fa4-4e2f-a4c7-8171f058400f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105015Z:5483c5d4-4fa4-4e2f-a4c7-8171f058400f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "91f13d3f-7130-49d9-847f-a3857ed18b18", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:50:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "92851b6a-437d-4e0d-9fd4-05dd48580d21", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105045Z:92851b6a-437d-4e0d-9fd4-05dd48580d21", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4296f0a1-d856-49c8-9391-7f15d2843316", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:51:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5dfb5f62-c7e7-4911-b002-410e5eb582c7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105116Z:5dfb5f62-c7e7-4911-b002-410e5eb582c7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "caee2d10-3b63-4a45-93c1-c1867047c36c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:51:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5cf500c6-bc9b-41c3-9879-111851c7c86e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105147Z:5cf500c6-bc9b-41c3-9879-111851c7c86e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ac1c34d7-9cc8-44c0-9e69-c719a0d216d6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:52:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a0779bc9-11e8-454a-9bcb-80da77067015", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105217Z:a0779bc9-11e8-454a-9bcb-80da77067015", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "996257e0-9c67-476a-9757-d29348ba3697", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:52:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "afa6e31f-462a-4b27-a578-1c2f459bb210", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105248Z:afa6e31f-462a-4b27-a578-1c2f459bb210", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6db0c4ba-b3c7-411a-bcfb-37312e4fa5fa", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:53:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0382ed5f-78ba-4813-844d-03df4bafabb9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105318Z:0382ed5f-78ba-4813-844d-03df4bafabb9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1da6fa1b-a4bb-44e6-bc42-bbd1c1038161", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:53:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8a9af0d3-46ff-48c3-9f1b-47d2a16fb0fb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105348Z:8a9af0d3-46ff-48c3-9f1b-47d2a16fb0fb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0fc9d63d-0842-4fd7-9606-baaaf619e732", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:54:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f5d8f0e6-daa1-4316-b681-f52565b70c5e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105419Z:f5d8f0e6-daa1-4316-b681-f52565b70c5e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ee3e0747-256b-41c2-aa76-810e66448d39", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:54:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0c8ec2ca-025a-454a-9e37-bdee3a7ff085", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105450Z:0c8ec2ca-025a-454a-9e37-bdee3a7ff085", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b0ac1090-4351-4613-b096-f8a1cb97931e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:55:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "eb1a2c2e-ab0a-46fb-a395-5a1b8cc692c0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105520Z:eb1a2c2e-ab0a-46fb-a395-5a1b8cc692c0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6615c73b-a3b4-44ed-8c87-77ae285c1beb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:55:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fd1dc907-02f3-471d-aab1-f49538eafb06", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105551Z:fd1dc907-02f3-471d-aab1-f49538eafb06", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "92c29245-7e85-48df-bae1-191498ca87ac", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:56:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6407b673-642c-4622-8991-32b736b4c8d2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105621Z:6407b673-642c-4622-8991-32b736b4c8d2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d720e0c6-ceca-4c50-b6de-ce53f42beea3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:56:51 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bd810022-ac31-47c4-b56c-b27f7274df4e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105652Z:bd810022-ac31-47c4-b56c-b27f7274df4e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b9c1be5f-b0b9-48cd-8660-9496aab464d8", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:56:51 GMT", + "content-length" : "1535", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "637446f3-2f05-48af-b029-e6edd55c2d31", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105652Z:637446f3-2f05-48af-b029-e6edd55c2d31", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "04428b5e-20d1-4a98-9fa2-18a2d5c15019", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-12395515dcd1/providers/Microsoft.HDInsight/clusters/hdisdk-sparkcomponentversions92498\",\"name\":\"hdisdk-sparkcomponentversions92498\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"bdd4d1dd-5948-4bb3-888c-bc689d005da6\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"2.6.3.84-1\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.3.1810270004.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T10:41:04.44\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-sparkcomponentversions92498-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-sparkcomponentversions92498.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-12395515dcd1?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:56:53 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8edfc68e-2dbf-4ab3-bcfc-2ac82d7e2233", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T105654Z:8edfc68e-2dbf-4ab3-bcfc-2ac82d7e2233", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMTIzOTU1MTVEQ0QxLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "8edfc68e-2dbf-4ab3-bcfc-2ac82d7e2233", + "Body" : "" + } + } ], + "variables" : [ "hdijava-12395515dcd1", "hdijava1d33948070b2", "hdisdk-sparkcomponentversions92498" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateMLServicesCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateMLServicesCluster.json index 377ee50feeb73..afbfcbab1f134 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateMLServicesCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateMLServicesCluster.json @@ -1,1772 +1,1772 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-8af50033fa24?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:38 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8426d3a4-66da-4c52-930d-b4c51cfa1f11", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T101038Z:8426d3a4-66da-4c52-930d-b4c51cfa1f11", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8426d3a4-66da-4c52-930d-b4c51cfa1f11", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-8af50033fa24?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:40 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f9370b55-79a6-4423-942d-0f1ecbd7a09b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101040Z:f9370b55-79a6-4423-942d-0f1ecbd7a09b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f9370b55-79a6-4423-942d-0f1ecbd7a09b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24\",\"name\":\"hdijava-8af50033fa24\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:41 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f47180f7-c55e-49a1-97d3-7644fd0bd0ea", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101042Z:f47180f7-c55e-49a1-97d3-7644fd0bd0ea", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "1c972e37-93b1-4cb9-a373-ad0400ea6126", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:41 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dee35a63-61f0-4e63-a7f5-f067b646d66f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101042Z:dee35a63-61f0-4e63-a7f5-f067b646d66f", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "7c545b87-e206-43ef-b03e-3a393e14c434", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:58 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "81ff459b-8f59-4667-a270-1dae64b5c96c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101059Z:81ff459b-8f59-4667-a270-1dae64b5c96c", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "b4740df2-30ae-448f-9ab2-b8d3be70037e", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804\",\"name\":\"hdijava444224038804\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:10:41.5994494Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava444224038804.blob.core.windows.net/\",\"queue\":\"https://hdijava444224038804.queue.core.windows.net/\",\"table\":\"https://hdijava444224038804.table.core.windows.net/\",\"file\":\"https://hdijava444224038804.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:58 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b164353c-a40c-4a89-bb33-618c3477c40f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101059Z:b164353c-a40c-4a89-bb33-618c3477c40f", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "f313a561-a51e-449a-ba18-4644aed479d9", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804\",\"name\":\"hdijava444224038804\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:10:41.5994494Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava444224038804.blob.core.windows.net/\",\"queue\":\"https://hdijava444224038804.queue.core.windows.net/\",\"table\":\"https://hdijava444224038804.table.core.windows.net/\",\"file\":\"https://hdijava444224038804.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:10:58 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e72793f7-06c7-4c6c-89c8-500c0782678b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101059Z:e72793f7-06c7-4c6c-89c8-500c0782678b", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "46ddc604-a440-46f0-9cef-bcd7b4fb60bd", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"LLgluLnFBwNj2hhmSPaEuAEonb2POU4yzAYoDjKoWXkcIkQDOirDmwG2gdgz8O6jqfAC1HC5BGO0J5c/ABtTgQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"AqviqKdOd0Kiv7ID6mAJCbUvRof7hs+JtTJHmAZJ191hzo6ixkM08+Io7ykckL3KOoCXM+3UK5b0VzuM8DIyrw==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:11:18 GMT", - "content-length" : "1460", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ce16647f-b7cc-459a-a49e-d94a02d07f4a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101119Z:ce16647f-b7cc-459a-a49e-d94a02d07f4a", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"be263769-8297-43d8-b9a0-2f8779773e80\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba?api-version=2018-06-01-preview", - "x-ms-request-id" : "9d928fcd-b566-4518-b556-42b651849df7", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba\",\"name\":\"hdisdk-mlservices0a8497330cbba\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"be263769-8297-43d8-b9a0-2f8779773e80\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/mlservices-3.6.1000.3.1810270004.json\",\"kind\":\"MLServices\",\"componentVersion\":{\"spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T10:11:18.33\",\"quotaInfo\":{\"coresUsed\":28},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:11:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d4f71a26-5a97-4c08-aa35-bbc0fc63be18", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101119Z:d4f71a26-5a97-4c08-aa35-bbc0fc63be18", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "635bfe29-c2c6-40a6-9333-7df23ed0a4cd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:11:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4fd4a54b-8c6f-4b84-96c3-892d98acf79e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101150Z:4fd4a54b-8c6f-4b84-96c3-892d98acf79e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "69872600-a3c4-45f8-b9b5-15aa961cdf10", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:12:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0cc23a66-9c69-4f6c-b521-b79f6ae7bf76", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101220Z:0cc23a66-9c69-4f6c-b521-b79f6ae7bf76", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b102db11-fe7a-4559-8f8b-93898aaba2e9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:12:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "453e600e-ff45-4a29-9d7f-1e53c57540ae", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101251Z:453e600e-ff45-4a29-9d7f-1e53c57540ae", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4e4d26c0-801b-462c-97b3-47b7acb0aa89", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:13:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8d23d2c8-0e5e-4042-8e6a-1f74e15ea7ba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101321Z:8d23d2c8-0e5e-4042-8e6a-1f74e15ea7ba", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9cd57ee0-36bb-4e1d-a152-2e6a498d6500", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:13:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "26eba027-e158-4c09-a7c6-51c1ae5088d7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101352Z:26eba027-e158-4c09-a7c6-51c1ae5088d7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8b3f29f8-23ca-43b4-b0ad-e3b15efe7b41", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:14:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "25de5742-cdef-4aac-8fd2-31d281774267", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101423Z:25de5742-cdef-4aac-8fd2-31d281774267", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "210e5616-26b7-4f0e-9306-038592a0de18", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:14:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b1dae03a-bc02-438c-a054-0d70e7af7bff", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101453Z:b1dae03a-bc02-438c-a054-0d70e7af7bff", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b7f109ef-7b2a-45e4-b254-d74a12bea48e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:15:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6bb83235-4f69-48a2-8d77-ac817593d202", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101524Z:6bb83235-4f69-48a2-8d77-ac817593d202", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "43da2800-8715-404a-aada-c6b94977ff83", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:15:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0ee08c55-cc3e-4252-8f6b-8ead04a86ec9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101554Z:0ee08c55-cc3e-4252-8f6b-8ead04a86ec9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1e77c80c-4310-434a-9f54-1cbb84117df1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:16:24 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "75358d67-7171-4590-aa65-5a43e1bbf7f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101625Z:75358d67-7171-4590-aa65-5a43e1bbf7f1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0622dda8-98a4-4696-95c7-49994a260fce", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:16:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "761aff51-0a8c-43b7-8061-325d0fb45f81", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101655Z:761aff51-0a8c-43b7-8061-325d0fb45f81", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0adfd8a7-dd51-47de-94f2-3d8235d4ed87", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:17:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "efb10028-a946-457d-8dde-ed708a4cc216", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101726Z:efb10028-a946-457d-8dde-ed708a4cc216", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d60d5495-b516-4a14-ab48-180ba98d5cc5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:17:56 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "19ecd61e-d620-43a8-b344-f6686c8258d1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101756Z:19ecd61e-d620-43a8-b344-f6686c8258d1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e7ed1e31-fe81-4d2e-847c-d83577d686af", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:18:26 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "960aef4b-76e2-4cff-b899-d83f102adef7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101827Z:960aef4b-76e2-4cff-b899-d83f102adef7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e8bf7371-80bc-43d1-844a-90200784b104", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:18:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "56a3f38f-a594-4991-815c-7866c98968fc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101857Z:56a3f38f-a594-4991-815c-7866c98968fc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "21360cd7-7fd4-4d43-ac46-4c0522c044b8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:19:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "69f60a11-3ca2-4a23-8592-cfa5c403a2ba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101928Z:69f60a11-3ca2-4a23-8592-cfa5c403a2ba", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "47e4dbc0-2c74-4108-b9f2-475cce20f148", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:19:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0e335ca0-ed90-4067-bdae-cd4a7006fb8a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T101958Z:0e335ca0-ed90-4067-bdae-cd4a7006fb8a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e100f699-0a7d-42b7-bd9e-94841a3f945b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:20:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "35aac0bd-41b7-4dfe-8d32-512274797d92", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102028Z:35aac0bd-41b7-4dfe-8d32-512274797d92", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7961b180-54b3-4994-8f46-ac12c6259a04", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:20:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a8165695-adc0-42b8-8519-5c5341e1b422", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102059Z:a8165695-adc0-42b8-8519-5c5341e1b422", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "addbd206-9379-45b6-aff4-b8b65c2def43", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:21:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b4c93d56-7d7f-46a5-a1d9-e3714ddb4d35", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102129Z:b4c93d56-7d7f-46a5-a1d9-e3714ddb4d35", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e685d9f5-d4f5-49f7-bb5a-dc9cfc103600", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:21:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "82372064-b6b7-4b91-8102-d1c33e03e7bb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102200Z:82372064-b6b7-4b91-8102-d1c33e03e7bb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "17542a4c-7a7f-4a80-a31c-bb2540231459", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:22:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ee3f38ca-4daf-4c2a-9e3e-51f5084788d4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102231Z:ee3f38ca-4daf-4c2a-9e3e-51f5084788d4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "063e26cb-5655-45b2-a2f2-11f8dbc8f0ad", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:23:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "65418e70-1a5c-48bf-85c0-3bb000cbcd43", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102301Z:65418e70-1a5c-48bf-85c0-3bb000cbcd43", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b963cb55-8a30-4c2e-8046-508003edda9b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:23:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c68955df-1482-450d-a51c-486f6a976fd4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102331Z:c68955df-1482-450d-a51c-486f6a976fd4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b1e97048-8d16-4703-9efa-b2f955e8b96f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:24:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3c217c13-51cf-4844-b2f5-8e9888ca1cb3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102402Z:3c217c13-51cf-4844-b2f5-8e9888ca1cb3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "89867c84-fddd-42cd-b993-16c2d88fc832", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:24:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8089a2fc-5ecc-4081-b4cb-23e7a4dce77d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102432Z:8089a2fc-5ecc-4081-b4cb-23e7a4dce77d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "313096ed-b16f-4f29-b9a8-e524bb475eff", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:25:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cee84b9c-3eb4-4c28-9eba-3621fac32d50", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102503Z:cee84b9c-3eb4-4c28-9eba-3621fac32d50", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d52750d8-8a3c-4493-b481-b1990688c7c6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:25:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "656f45ca-6b2e-45e4-b60c-593a203000b7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102534Z:656f45ca-6b2e-45e4-b60c-593a203000b7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "858d255f-6d6a-44e2-82fa-d200c0fd7734", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:26:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "07280760-6751-441b-a59b-b6ee5c433253", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102604Z:07280760-6751-441b-a59b-b6ee5c433253", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2fd32cf-df23-4cfa-8c52-477c9524955d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:26:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "676f6e30-037d-4551-9be0-7468257d7702", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102634Z:676f6e30-037d-4551-9be0-7468257d7702", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "eefece0b-274f-4eeb-b468-8fb2384f9e10", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:27:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1cc62b28-35f1-44f8-b3fc-108418cd4ec3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102705Z:1cc62b28-35f1-44f8-b3fc-108418cd4ec3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3e69bb5f-0ee6-4782-9714-75ef3511df1d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:27:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6746922d-a424-4e8f-a73c-a031f14e01b0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102736Z:6746922d-a424-4e8f-a73c-a031f14e01b0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8c4dd5a7-a3e2-4269-bf68-b0f38d2ced4d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:28:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c7e212b5-cd56-4dcd-ad79-bb28e4fa451d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102806Z:c7e212b5-cd56-4dcd-ad79-bb28e4fa451d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "79998395-c941-4060-9364-697496df7820", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:28:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "00409969-2435-4362-bc54-325eb470e4fa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102837Z:00409969-2435-4362-bc54-325eb470e4fa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "19bbf804-3115-4b4c-b838-b5f27da6404f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:29:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3c0b43ce-18e9-4c22-a629-c2bf7993422d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102907Z:3c0b43ce-18e9-4c22-a629-c2bf7993422d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4e1fdffd-4496-4902-9c14-77dbbe95509e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:29:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1d9c2ac6-a7da-4e36-bbe1-f64f6d2511f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T102938Z:1d9c2ac6-a7da-4e36-bbe1-f64f6d2511f1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c6a5ac2d-4883-4fc8-a86c-a0c4133791d4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:30:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a13bed5a-eec0-4685-adda-21f9a871b3f4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103009Z:a13bed5a-eec0-4685-adda-21f9a871b3f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "772c71c4-361c-47c0-ae2a-b608c7603fc5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:30:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1a04a063-a09c-472e-b35f-04d9900538e9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103039Z:1a04a063-a09c-472e-b35f-04d9900538e9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0ee97f45-3549-4573-9e5d-f18679aeb55b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:31:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "52dd876d-1aad-4103-83dc-11fe0a27dec2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103110Z:52dd876d-1aad-4103-83dc-11fe0a27dec2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "926aac9c-03a7-401c-b3f1-511aaadc6c5b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:31:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "132a154b-5d3e-4560-a1a1-449fa61c9607", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103141Z:132a154b-5d3e-4560-a1a1-449fa61c9607", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2e0a2967-3ffb-4d6c-aba8-08e72db762e4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:32:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f66949e1-d1e9-4dbe-8ab2-7eb9672bb963", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103211Z:f66949e1-d1e9-4dbe-8ab2-7eb9672bb963", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "749ac5e0-6b11-4ffd-9467-be1ed22d5287", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:32:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c2c6e8bb-c7f2-4429-b078-eb162e1baf8b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103242Z:c2c6e8bb-c7f2-4429-b078-eb162e1baf8b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c8f8b0a4-3dac-414a-af0a-98191177c8db", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:33:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "00e92cc6-1fea-46ae-a6aa-6ad8209e3de8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103313Z:00e92cc6-1fea-46ae-a6aa-6ad8209e3de8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a28da71-4dcb-4776-8719-c881ebef87ea", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:33:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "17c6949a-5d5f-4c68-ad68-c618f95e6782", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103344Z:17c6949a-5d5f-4c68-ad68-c618f95e6782", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a7625642-aef5-4074-a01f-a89a341dfca4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:34:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6c9c778a-c78f-40eb-861d-9e2a263ce566", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103414Z:6c9c778a-c78f-40eb-861d-9e2a263ce566", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7def60a4-1fb7-4823-ab13-ffa24bbdeb2f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:34:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e9465155-6cf9-489b-8b9d-10cf5ac24a6b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103445Z:e9465155-6cf9-489b-8b9d-10cf5ac24a6b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f4b6a44e-f96d-4989-b134-c7d09d803f89", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:35:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "da976be3-675f-4dc9-815b-cb4c7b841a1c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103516Z:da976be3-675f-4dc9-815b-cb4c7b841a1c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "cf89d07b-db04-41ed-a50b-f59d89c6a2c2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:35:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "70d8f25e-0041-4c5d-8a09-7c0f3ec2deca", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103547Z:70d8f25e-0041-4c5d-8a09-7c0f3ec2deca", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d0a52f48-8d93-416f-b51e-1b733448469a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:36:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cd9c4ffc-5ad6-40a1-b849-a2bfcae20b74", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103617Z:cd9c4ffc-5ad6-40a1-b849-a2bfcae20b74", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "012bb6d0-94b6-4dd0-8887-cbc3a604d18a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:36:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "65a7b489-7bec-49d5-b923-744a14f84e1f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103648Z:65a7b489-7bec-49d5-b923-744a14f84e1f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f43d1691-ba74-4a96-a7bf-043f0a78e003", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:37:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "87a063b1-55d2-4e5c-95e8-0b45db51e14e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103718Z:87a063b1-55d2-4e5c-95e8-0b45db51e14e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1f943445-612f-44ed-8fc7-f38a3da9dca0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:37:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4535f25e-e806-4181-93b8-1478bc650a37", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103749Z:4535f25e-e806-4181-93b8-1478bc650a37", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4f3b6b15-fed3-4110-9888-78cd5d26e4b6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:38:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "38f73c75-9779-474d-ab33-43678e122990", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103819Z:38f73c75-9779-474d-ab33-43678e122990", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f8f5dc6f-d9f6-41f7-83e2-3c4c92b694a2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:38:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11941", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e2b9e961-46ec-4ff0-935c-1a5ae30a1427", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103850Z:e2b9e961-46ec-4ff0-935c-1a5ae30a1427", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ac3b8915-ee2b-4c61-9645-7b1b61e532bf", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:39:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11940", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "29c95009-ebd9-4f95-8ee2-680363030670", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103921Z:29c95009-ebd9-4f95-8ee2-680363030670", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c31c85c0-08d4-4e52-80c6-ba1cf3bdcb0c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:39:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11939", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b4654f00-e1fa-4f6a-be10-ff692eb42c16", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T103952Z:b4654f00-e1fa-4f6a-be10-ff692eb42c16", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3afa6a93-93c2-463d-902d-d646adbc93d4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:22 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11938", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a065f136-cd2b-4606-8e7c-f0518233d08b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104022Z:a065f136-cd2b-4606-8e7c-f0518233d08b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "87d58747-cfb2-468e-ad2b-cd49e4d31942", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:23 GMT", - "content-length" : "1827", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11937", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a333b16c-7461-4e76-8138-a7660375c1c4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104023Z:a333b16c-7461-4e76-8138-a7660375c1c4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8e2357c3-e1ce-4e11-aca6-57863a1fe9db", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba\",\"name\":\"hdisdk-mlservices0a8497330cbba\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"be263769-8297-43d8-b9a0-2f8779773e80\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"2.6.3.84-1\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/mlservices-3.6.1000.3.1810270004.json\",\"kind\":\"MLServices\",\"componentVersion\":{\"spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T10:11:18.33\",\"quotaInfo\":{\"coresUsed\":28},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-mlservices0a8497330cbba-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"EDGESSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-mlservices0a8497330cbba-ed-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-mlservices0a8497330cbba.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-8af50033fa24?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 10:40:24 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a167e048-5cc6-46d4-9115-c1e74caf1e3d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T104024Z:a167e048-5cc6-46d4-9115-c1e74caf1e3d", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEOEFGNTAwMzNGQTI0LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "a167e048-5cc6-46d4-9115-c1e74caf1e3d", - "Body" : "" - } - } ], - "variables" : [ "hdijava-8af50033fa24", "hdijava444224038804", "hdisdk-mlservices0a8497330cbba" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-8af50033fa24?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:38 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8426d3a4-66da-4c52-930d-b4c51cfa1f11", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T101038Z:8426d3a4-66da-4c52-930d-b4c51cfa1f11", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8426d3a4-66da-4c52-930d-b4c51cfa1f11", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-8af50033fa24?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:40 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f9370b55-79a6-4423-942d-0f1ecbd7a09b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101040Z:f9370b55-79a6-4423-942d-0f1ecbd7a09b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f9370b55-79a6-4423-942d-0f1ecbd7a09b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24\",\"name\":\"hdijava-8af50033fa24\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:41 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f47180f7-c55e-49a1-97d3-7644fd0bd0ea", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101042Z:f47180f7-c55e-49a1-97d3-7644fd0bd0ea", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "1c972e37-93b1-4cb9-a373-ad0400ea6126", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:41 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dee35a63-61f0-4e63-a7f5-f067b646d66f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101042Z:dee35a63-61f0-4e63-a7f5-f067b646d66f", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "7c545b87-e206-43ef-b03e-3a393e14c434", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1c972e37-93b1-4cb9-a373-ad0400ea6126?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:58 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "81ff459b-8f59-4667-a270-1dae64b5c96c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101059Z:81ff459b-8f59-4667-a270-1dae64b5c96c", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "b4740df2-30ae-448f-9ab2-b8d3be70037e", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804\",\"name\":\"hdijava444224038804\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:10:41.5994494Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava444224038804.blob.core.windows.net/\",\"queue\":\"https://hdijava444224038804.queue.core.windows.net/\",\"table\":\"https://hdijava444224038804.table.core.windows.net/\",\"file\":\"https://hdijava444224038804.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:58 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b164353c-a40c-4a89-bb33-618c3477c40f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101059Z:b164353c-a40c-4a89-bb33-618c3477c40f", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "f313a561-a51e-449a-ba18-4644aed479d9", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804\",\"name\":\"hdijava444224038804\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T10:10:41.7557085Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T10:10:41.5994494Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava444224038804.blob.core.windows.net/\",\"queue\":\"https://hdijava444224038804.queue.core.windows.net/\",\"table\":\"https://hdijava444224038804.table.core.windows.net/\",\"file\":\"https://hdijava444224038804.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.Storage/storageAccounts/hdijava444224038804/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:10:58 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e72793f7-06c7-4c6c-89c8-500c0782678b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101059Z:e72793f7-06c7-4c6c-89c8-500c0782678b", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "46ddc604-a440-46f0-9cef-bcd7b4fb60bd", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"LLgluLnFBwNj2hhmSPaEuAEonb2POU4yzAYoDjKoWXkcIkQDOirDmwG2gdgz8O6jqfAC1HC5BGO0J5c/ABtTgQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"AqviqKdOd0Kiv7ID6mAJCbUvRof7hs+JtTJHmAZJ191hzo6ixkM08+Io7ykckL3KOoCXM+3UK5b0VzuM8DIyrw==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:11:18 GMT", + "content-length" : "1460", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ce16647f-b7cc-459a-a49e-d94a02d07f4a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101119Z:ce16647f-b7cc-459a-a49e-d94a02d07f4a", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"be263769-8297-43d8-b9a0-2f8779773e80\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba?api-version=2018-06-01-preview", + "x-ms-request-id" : "9d928fcd-b566-4518-b556-42b651849df7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba\",\"name\":\"hdisdk-mlservices0a8497330cbba\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"be263769-8297-43d8-b9a0-2f8779773e80\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/mlservices-3.6.1000.3.1810270004.json\",\"kind\":\"MLServices\",\"componentVersion\":{\"spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T10:11:18.33\",\"quotaInfo\":{\"coresUsed\":28},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:11:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d4f71a26-5a97-4c08-aa35-bbc0fc63be18", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101119Z:d4f71a26-5a97-4c08-aa35-bbc0fc63be18", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "635bfe29-c2c6-40a6-9333-7df23ed0a4cd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:11:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4fd4a54b-8c6f-4b84-96c3-892d98acf79e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101150Z:4fd4a54b-8c6f-4b84-96c3-892d98acf79e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "69872600-a3c4-45f8-b9b5-15aa961cdf10", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:12:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0cc23a66-9c69-4f6c-b521-b79f6ae7bf76", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101220Z:0cc23a66-9c69-4f6c-b521-b79f6ae7bf76", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b102db11-fe7a-4559-8f8b-93898aaba2e9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:12:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "453e600e-ff45-4a29-9d7f-1e53c57540ae", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101251Z:453e600e-ff45-4a29-9d7f-1e53c57540ae", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4e4d26c0-801b-462c-97b3-47b7acb0aa89", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:13:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8d23d2c8-0e5e-4042-8e6a-1f74e15ea7ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101321Z:8d23d2c8-0e5e-4042-8e6a-1f74e15ea7ba", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9cd57ee0-36bb-4e1d-a152-2e6a498d6500", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:13:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "26eba027-e158-4c09-a7c6-51c1ae5088d7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101352Z:26eba027-e158-4c09-a7c6-51c1ae5088d7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8b3f29f8-23ca-43b4-b0ad-e3b15efe7b41", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:14:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "25de5742-cdef-4aac-8fd2-31d281774267", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101423Z:25de5742-cdef-4aac-8fd2-31d281774267", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "210e5616-26b7-4f0e-9306-038592a0de18", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:14:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b1dae03a-bc02-438c-a054-0d70e7af7bff", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101453Z:b1dae03a-bc02-438c-a054-0d70e7af7bff", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b7f109ef-7b2a-45e4-b254-d74a12bea48e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:15:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6bb83235-4f69-48a2-8d77-ac817593d202", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101524Z:6bb83235-4f69-48a2-8d77-ac817593d202", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "43da2800-8715-404a-aada-c6b94977ff83", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:15:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0ee08c55-cc3e-4252-8f6b-8ead04a86ec9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101554Z:0ee08c55-cc3e-4252-8f6b-8ead04a86ec9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1e77c80c-4310-434a-9f54-1cbb84117df1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:16:24 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "75358d67-7171-4590-aa65-5a43e1bbf7f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101625Z:75358d67-7171-4590-aa65-5a43e1bbf7f1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0622dda8-98a4-4696-95c7-49994a260fce", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:16:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "761aff51-0a8c-43b7-8061-325d0fb45f81", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101655Z:761aff51-0a8c-43b7-8061-325d0fb45f81", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0adfd8a7-dd51-47de-94f2-3d8235d4ed87", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:17:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "efb10028-a946-457d-8dde-ed708a4cc216", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101726Z:efb10028-a946-457d-8dde-ed708a4cc216", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d60d5495-b516-4a14-ab48-180ba98d5cc5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:17:56 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "19ecd61e-d620-43a8-b344-f6686c8258d1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101756Z:19ecd61e-d620-43a8-b344-f6686c8258d1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e7ed1e31-fe81-4d2e-847c-d83577d686af", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:18:26 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "960aef4b-76e2-4cff-b899-d83f102adef7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101827Z:960aef4b-76e2-4cff-b899-d83f102adef7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e8bf7371-80bc-43d1-844a-90200784b104", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:18:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "56a3f38f-a594-4991-815c-7866c98968fc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101857Z:56a3f38f-a594-4991-815c-7866c98968fc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "21360cd7-7fd4-4d43-ac46-4c0522c044b8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:19:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "69f60a11-3ca2-4a23-8592-cfa5c403a2ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101928Z:69f60a11-3ca2-4a23-8592-cfa5c403a2ba", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "47e4dbc0-2c74-4108-b9f2-475cce20f148", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:19:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0e335ca0-ed90-4067-bdae-cd4a7006fb8a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T101958Z:0e335ca0-ed90-4067-bdae-cd4a7006fb8a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e100f699-0a7d-42b7-bd9e-94841a3f945b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:20:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "35aac0bd-41b7-4dfe-8d32-512274797d92", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102028Z:35aac0bd-41b7-4dfe-8d32-512274797d92", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7961b180-54b3-4994-8f46-ac12c6259a04", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:20:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a8165695-adc0-42b8-8519-5c5341e1b422", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102059Z:a8165695-adc0-42b8-8519-5c5341e1b422", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "addbd206-9379-45b6-aff4-b8b65c2def43", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:21:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b4c93d56-7d7f-46a5-a1d9-e3714ddb4d35", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102129Z:b4c93d56-7d7f-46a5-a1d9-e3714ddb4d35", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e685d9f5-d4f5-49f7-bb5a-dc9cfc103600", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:21:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "82372064-b6b7-4b91-8102-d1c33e03e7bb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102200Z:82372064-b6b7-4b91-8102-d1c33e03e7bb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "17542a4c-7a7f-4a80-a31c-bb2540231459", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:22:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ee3f38ca-4daf-4c2a-9e3e-51f5084788d4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102231Z:ee3f38ca-4daf-4c2a-9e3e-51f5084788d4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "063e26cb-5655-45b2-a2f2-11f8dbc8f0ad", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:23:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "65418e70-1a5c-48bf-85c0-3bb000cbcd43", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102301Z:65418e70-1a5c-48bf-85c0-3bb000cbcd43", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b963cb55-8a30-4c2e-8046-508003edda9b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:23:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c68955df-1482-450d-a51c-486f6a976fd4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102331Z:c68955df-1482-450d-a51c-486f6a976fd4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b1e97048-8d16-4703-9efa-b2f955e8b96f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:24:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3c217c13-51cf-4844-b2f5-8e9888ca1cb3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102402Z:3c217c13-51cf-4844-b2f5-8e9888ca1cb3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "89867c84-fddd-42cd-b993-16c2d88fc832", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:24:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8089a2fc-5ecc-4081-b4cb-23e7a4dce77d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102432Z:8089a2fc-5ecc-4081-b4cb-23e7a4dce77d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "313096ed-b16f-4f29-b9a8-e524bb475eff", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:25:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cee84b9c-3eb4-4c28-9eba-3621fac32d50", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102503Z:cee84b9c-3eb4-4c28-9eba-3621fac32d50", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d52750d8-8a3c-4493-b481-b1990688c7c6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:25:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "656f45ca-6b2e-45e4-b60c-593a203000b7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102534Z:656f45ca-6b2e-45e4-b60c-593a203000b7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "858d255f-6d6a-44e2-82fa-d200c0fd7734", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:26:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "07280760-6751-441b-a59b-b6ee5c433253", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102604Z:07280760-6751-441b-a59b-b6ee5c433253", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d2fd32cf-df23-4cfa-8c52-477c9524955d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:26:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "676f6e30-037d-4551-9be0-7468257d7702", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102634Z:676f6e30-037d-4551-9be0-7468257d7702", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "eefece0b-274f-4eeb-b468-8fb2384f9e10", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:27:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1cc62b28-35f1-44f8-b3fc-108418cd4ec3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102705Z:1cc62b28-35f1-44f8-b3fc-108418cd4ec3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3e69bb5f-0ee6-4782-9714-75ef3511df1d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:27:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6746922d-a424-4e8f-a73c-a031f14e01b0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102736Z:6746922d-a424-4e8f-a73c-a031f14e01b0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8c4dd5a7-a3e2-4269-bf68-b0f38d2ced4d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:28:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c7e212b5-cd56-4dcd-ad79-bb28e4fa451d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102806Z:c7e212b5-cd56-4dcd-ad79-bb28e4fa451d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "79998395-c941-4060-9364-697496df7820", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:28:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "00409969-2435-4362-bc54-325eb470e4fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102837Z:00409969-2435-4362-bc54-325eb470e4fa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "19bbf804-3115-4b4c-b838-b5f27da6404f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:29:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3c0b43ce-18e9-4c22-a629-c2bf7993422d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102907Z:3c0b43ce-18e9-4c22-a629-c2bf7993422d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4e1fdffd-4496-4902-9c14-77dbbe95509e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:29:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1d9c2ac6-a7da-4e36-bbe1-f64f6d2511f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T102938Z:1d9c2ac6-a7da-4e36-bbe1-f64f6d2511f1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c6a5ac2d-4883-4fc8-a86c-a0c4133791d4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:30:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a13bed5a-eec0-4685-adda-21f9a871b3f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103009Z:a13bed5a-eec0-4685-adda-21f9a871b3f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "772c71c4-361c-47c0-ae2a-b608c7603fc5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:30:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1a04a063-a09c-472e-b35f-04d9900538e9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103039Z:1a04a063-a09c-472e-b35f-04d9900538e9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0ee97f45-3549-4573-9e5d-f18679aeb55b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:31:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "52dd876d-1aad-4103-83dc-11fe0a27dec2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103110Z:52dd876d-1aad-4103-83dc-11fe0a27dec2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "926aac9c-03a7-401c-b3f1-511aaadc6c5b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:31:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "132a154b-5d3e-4560-a1a1-449fa61c9607", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103141Z:132a154b-5d3e-4560-a1a1-449fa61c9607", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2e0a2967-3ffb-4d6c-aba8-08e72db762e4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:32:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f66949e1-d1e9-4dbe-8ab2-7eb9672bb963", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103211Z:f66949e1-d1e9-4dbe-8ab2-7eb9672bb963", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "749ac5e0-6b11-4ffd-9467-be1ed22d5287", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:32:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c2c6e8bb-c7f2-4429-b078-eb162e1baf8b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103242Z:c2c6e8bb-c7f2-4429-b078-eb162e1baf8b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c8f8b0a4-3dac-414a-af0a-98191177c8db", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:33:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "00e92cc6-1fea-46ae-a6aa-6ad8209e3de8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103313Z:00e92cc6-1fea-46ae-a6aa-6ad8209e3de8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5a28da71-4dcb-4776-8719-c881ebef87ea", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:33:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "17c6949a-5d5f-4c68-ad68-c618f95e6782", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103344Z:17c6949a-5d5f-4c68-ad68-c618f95e6782", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a7625642-aef5-4074-a01f-a89a341dfca4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:34:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6c9c778a-c78f-40eb-861d-9e2a263ce566", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103414Z:6c9c778a-c78f-40eb-861d-9e2a263ce566", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7def60a4-1fb7-4823-ab13-ffa24bbdeb2f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:34:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e9465155-6cf9-489b-8b9d-10cf5ac24a6b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103445Z:e9465155-6cf9-489b-8b9d-10cf5ac24a6b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f4b6a44e-f96d-4989-b134-c7d09d803f89", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:35:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "da976be3-675f-4dc9-815b-cb4c7b841a1c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103516Z:da976be3-675f-4dc9-815b-cb4c7b841a1c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cf89d07b-db04-41ed-a50b-f59d89c6a2c2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:35:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "70d8f25e-0041-4c5d-8a09-7c0f3ec2deca", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103547Z:70d8f25e-0041-4c5d-8a09-7c0f3ec2deca", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d0a52f48-8d93-416f-b51e-1b733448469a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:36:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cd9c4ffc-5ad6-40a1-b849-a2bfcae20b74", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103617Z:cd9c4ffc-5ad6-40a1-b849-a2bfcae20b74", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "012bb6d0-94b6-4dd0-8887-cbc3a604d18a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:36:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "65a7b489-7bec-49d5-b923-744a14f84e1f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103648Z:65a7b489-7bec-49d5-b923-744a14f84e1f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f43d1691-ba74-4a96-a7bf-043f0a78e003", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:37:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "87a063b1-55d2-4e5c-95e8-0b45db51e14e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103718Z:87a063b1-55d2-4e5c-95e8-0b45db51e14e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1f943445-612f-44ed-8fc7-f38a3da9dca0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:37:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4535f25e-e806-4181-93b8-1478bc650a37", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103749Z:4535f25e-e806-4181-93b8-1478bc650a37", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4f3b6b15-fed3-4110-9888-78cd5d26e4b6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:38:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "38f73c75-9779-474d-ab33-43678e122990", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103819Z:38f73c75-9779-474d-ab33-43678e122990", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f8f5dc6f-d9f6-41f7-83e2-3c4c92b694a2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:38:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11941", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e2b9e961-46ec-4ff0-935c-1a5ae30a1427", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103850Z:e2b9e961-46ec-4ff0-935c-1a5ae30a1427", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ac3b8915-ee2b-4c61-9645-7b1b61e532bf", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:39:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11940", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "29c95009-ebd9-4f95-8ee2-680363030670", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103921Z:29c95009-ebd9-4f95-8ee2-680363030670", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c31c85c0-08d4-4e52-80c6-ba1cf3bdcb0c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:39:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11939", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b4654f00-e1fa-4f6a-be10-ff692eb42c16", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T103952Z:b4654f00-e1fa-4f6a-be10-ff692eb42c16", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3afa6a93-93c2-463d-902d-d646adbc93d4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:22 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11938", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a065f136-cd2b-4606-8e7c-f0518233d08b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104022Z:a065f136-cd2b-4606-8e7c-f0518233d08b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "87d58747-cfb2-468e-ad2b-cd49e4d31942", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:23 GMT", + "content-length" : "1827", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11937", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a333b16c-7461-4e76-8138-a7660375c1c4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104023Z:a333b16c-7461-4e76-8138-a7660375c1c4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8e2357c3-e1ce-4e11-aca6-57863a1fe9db", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-8af50033fa24/providers/Microsoft.HDInsight/clusters/hdisdk-mlservices0a8497330cbba\",\"name\":\"hdisdk-mlservices0a8497330cbba\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"be263769-8297-43d8-b9a0-2f8779773e80\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.3\",\"clusterHdpVersion\":\"2.6.3.84-1\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/mlservices-3.6.1000.3.1810270004.json\",\"kind\":\"MLServices\",\"componentVersion\":{\"spark\":\"2.2\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T10:11:18.33\",\"quotaInfo\":{\"coresUsed\":28},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-mlservices0a8497330cbba-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"EDGESSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-mlservices0a8497330cbba-ed-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-mlservices0a8497330cbba.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-8af50033fa24?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 10:40:24 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a167e048-5cc6-46d4-9115-c1e74caf1e3d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T104024Z:a167e048-5cc6-46d4-9115-c1e74caf1e3d", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEOEFGNTAwMzNGQTI0LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "a167e048-5cc6-46d4-9115-c1e74caf1e3d", + "Body" : "" + } + } ], + "variables" : [ "hdijava-8af50033fa24", "hdijava444224038804", "hdisdk-mlservices0a8497330cbba" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateRServerCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateRServerCluster.json index da4dcd2e5e777..5805d4de0d034 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateRServerCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateRServerCluster.json @@ -1,1642 +1,1642 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-d8262679f9be?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:45 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9206852c-a222-4b9d-9786-49a81296d9e5", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T085745Z:9206852c-a222-4b9d-9786-49a81296d9e5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9206852c-a222-4b9d-9786-49a81296d9e5", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-d8262679f9be?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:46 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b004988a-525d-4a25-9886-96fbda3dc211", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085747Z:b004988a-525d-4a25-9886-96fbda3dc211", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b004988a-525d-4a25-9886-96fbda3dc211", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be\",\"name\":\"hdijava-d8262679f9be\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:48 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "59049466-f9fd-4207-a6c0-da64a4f4d793", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085748Z:59049466-f9fd-4207-a6c0-da64a4f4d793", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "2781f19a-764a-440f-b881-25d2ae41fef6", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:48 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "71be2d65-3846-47ba-8451-b1ec6f59d91a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085749Z:71be2d65-3846-47ba-8451-b1ec6f59d91a", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "541a3863-121f-410c-9936-7fb5e7e80e0e", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:58:05 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6e595bf6-b685-4bf6-99cc-1cb8f6bf770c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085806Z:6e595bf6-b685-4bf6-99cc-1cb8f6bf770c", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "96837ea8-c1a4-4c00-a9b0-ea39ae27faf7", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b\",\"name\":\"hdijava4c524368496b\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:57:48.5786356Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava4c524368496b.blob.core.windows.net/\",\"queue\":\"https://hdijava4c524368496b.queue.core.windows.net/\",\"table\":\"https://hdijava4c524368496b.table.core.windows.net/\",\"file\":\"https://hdijava4c524368496b.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:58:06 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e5a8d8fc-7fce-4e24-b7c8-d07c59b67e26", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085806Z:e5a8d8fc-7fce-4e24-b7c8-d07c59b67e26", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b86a0e5-7577-4a19-a1ec-521bd9988807", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b\",\"name\":\"hdijava4c524368496b\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:57:48.5786356Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava4c524368496b.blob.core.windows.net/\",\"queue\":\"https://hdijava4c524368496b.queue.core.windows.net/\",\"table\":\"https://hdijava4c524368496b.table.core.windows.net/\",\"file\":\"https://hdijava4c524368496b.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:58:06 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b2e799b0-99a9-4a2c-973f-0eb84c31ed50", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085806Z:b2e799b0-99a9-4a2c-973f-0eb84c31ed50", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "bfa47d43-315d-4c6d-b60b-76b1884d04ac", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"jO4JYBbp+t/SYzNAHgsf3aK+f7nKFqJ5oqzO+MSdbI12/+yUogHj1nj0ywQA9qfqpgXL58EJvvTWyNJBayjLYg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"Au1akV7mbt4F5Nwpeu+ltMOciGJsPHrUYUFsqR4RLCQuuFJOIs68O+eo2/fqAvgfWjZSL5eRC8gIIko6q6/rFg==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:58:25 GMT", - "content-length" : "1451", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e74ba52d-6706-440d-908f-1c0238490c35", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085826Z:e74ba52d-6706-440d-908f-1c0238490c35", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"fc91b8d7-0f6e-44ca-901e-a4381375dd6e\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa?api-version=2018-06-01-preview", - "x-ms-request-id" : "9f17ca48-1a94-47df-8e0f-5938cf8cc919", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa\",\"name\":\"hdisdk-rserver114611971813aa\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"fc91b8d7-0f6e-44ca-901e-a4381375dd6e\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.0\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.1812120705.json\",\"kind\":\"RServer\",\"componentVersion\":{\"spark\":\"2.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:58:25.687\",\"quotaInfo\":{\"coresUsed\":28},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:58:26 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0af62bd6-4463-4960-af29-132eb7aef666", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085827Z:0af62bd6-4463-4960-af29-132eb7aef666", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d491dea-2871-4920-9b8f-05b2003a3a83", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:58:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "371437d9-b5d3-4b20-96f7-499c9ca98785", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085857Z:371437d9-b5d3-4b20-96f7-499c9ca98785", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b1a7ad9c-8ad5-41d9-b320-ff4989d160c9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:59:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1e0fe92f-5952-48dc-9440-70f7cef56bea", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085928Z:1e0fe92f-5952-48dc-9440-70f7cef56bea", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2d2a764-db3d-45ef-ad51-b051917ed528", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:59:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9a91b13a-f4c2-4418-9709-dc13288ab43a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085958Z:9a91b13a-f4c2-4418-9709-dc13288ab43a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fda94fb2-71a4-4cab-965d-11b1779fcdd8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:00:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "77fba956-406a-42c3-a1d1-2c0801ff578c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090029Z:77fba956-406a-42c3-a1d1-2c0801ff578c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e9be7789-a979-4ed9-b474-e82d1437d51d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:00:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "36bb0dfe-4723-4830-8137-c0bc4787e9a9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090059Z:36bb0dfe-4723-4830-8137-c0bc4787e9a9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e2c6441e-7326-43db-91dd-398beed6e45b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:01:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "24205bd9-714d-4556-97b6-055872ad3c17", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090130Z:24205bd9-714d-4556-97b6-055872ad3c17", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a360b548-e969-49ee-a2f4-b4f8a980cfb7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:02:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e15ab696-a02e-4455-9140-1071497daedd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090200Z:e15ab696-a02e-4455-9140-1071497daedd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "672ee384-73bd-4002-a49b-291c944e26ed", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:02:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "87782bdf-be1a-4337-a8f8-0c97b40b230d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090231Z:87782bdf-be1a-4337-a8f8-0c97b40b230d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8a7dcedf-8a7a-420e-b1dd-974b44ed4cbd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:03:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e511d5cc-b13b-4b83-a090-82f36efd33d7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090301Z:e511d5cc-b13b-4b83-a090-82f36efd33d7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2461d434-8cb4-4a7b-acb9-32125797d1ab", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:03:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "41367a88-a42e-4977-8d15-204dc56d0b08", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090332Z:41367a88-a42e-4977-8d15-204dc56d0b08", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3e81bf8b-bc9e-4e0c-a650-16bc06e73e2c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:04:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9ccaea02-dd72-4c5b-be5a-afa3051db18b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090402Z:9ccaea02-dd72-4c5b-be5a-afa3051db18b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d69000d0-59a3-4e79-b782-4f09269ec135", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:04:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "136e0a58-e691-4252-8b6b-7dda9b644628", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090432Z:136e0a58-e691-4252-8b6b-7dda9b644628", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b2970827-26e4-4dbf-869e-1ec012f461ca", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:05:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "eb29bed0-6254-4ec6-bffc-59ef4303f9fb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090503Z:eb29bed0-6254-4ec6-bffc-59ef4303f9fb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4034bb82-91d7-4ec8-bd1f-de9fa5d10dff", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:05:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "33d42ef7-f813-424f-9578-298628a72a80", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090533Z:33d42ef7-f813-424f-9578-298628a72a80", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ffaeeec7-2b12-427c-a0f4-278a51e3d333", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:06:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b6d7f0fe-8144-4977-9f49-6588db5ab120", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090604Z:b6d7f0fe-8144-4977-9f49-6588db5ab120", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3906d0b1-e1ac-4625-9d1e-1d67fdd43a12", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:06:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "72a2e97d-e3a6-4240-af28-6aaa0a40ef04", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090634Z:72a2e97d-e3a6-4240-af28-6aaa0a40ef04", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dd0dc1b6-62da-4e12-9632-d77a9983a4b5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:07:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6f69cf32-668d-45a4-91fc-a93b4af81f25", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090705Z:6f69cf32-668d-45a4-91fc-a93b4af81f25", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c979d74a-615e-4ff1-83a2-d9fba06d119f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:07:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cb48e3c0-b11d-47d7-8f40-ff8b8decd34e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090735Z:cb48e3c0-b11d-47d7-8f40-ff8b8decd34e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "771e2295-4166-4063-83d3-35a9ad45bcba", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:08:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9c32d0b9-d75b-430c-b7a4-238b829f3e27", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090806Z:9c32d0b9-d75b-430c-b7a4-238b829f3e27", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "95786ed9-779a-4630-a217-b6716a2c8f93", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:08:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "894ea13f-6e31-4953-a1f6-a756dc390458", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090836Z:894ea13f-6e31-4953-a1f6-a756dc390458", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "cd105f38-c4ec-4594-be04-26c960cacac4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:09:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f4263244-4368-4d75-9d26-e2b43c1e6faf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090906Z:f4263244-4368-4d75-9d26-e2b43c1e6faf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2fa4578b-fa33-4632-8b00-9777a6fb5c7e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:09:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9e30c07d-c5e3-4a7e-8c82-f205a8411718", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T090937Z:9e30c07d-c5e3-4a7e-8c82-f205a8411718", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f51bb731-e4f3-41e3-94ff-67d974c2316c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:10:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "91b7b44d-c768-44c6-aea8-29f2bf8d81cb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091007Z:91b7b44d-c768-44c6-aea8-29f2bf8d81cb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "45e15375-5395-43e7-9a39-dfbc0b7369e8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:10:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "71ad7afb-01ca-43aa-bb7e-ebfba71b8501", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091038Z:71ad7afb-01ca-43aa-bb7e-ebfba71b8501", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8e76360-40f4-4952-8a97-a2b653e64cee", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:11:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "854a2fd1-0e71-4d9b-a062-5738d5300fe5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091108Z:854a2fd1-0e71-4d9b-a062-5738d5300fe5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "29b5853f-5d0e-4383-916b-6095cddbcbbb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:11:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0aea228e-2a0f-4008-a889-970cd9d0cfff", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091139Z:0aea228e-2a0f-4008-a889-970cd9d0cfff", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "acc6a37f-a430-4895-8888-afc4507e68fa", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:12:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "228ed305-9013-4eee-bd28-eb6eda2bcba6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091209Z:228ed305-9013-4eee-bd28-eb6eda2bcba6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "be6815bd-e700-4e44-87ff-d3248a8ffdb0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:12:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0ddca241-0e7f-4a8d-9b92-f72edb231220", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091240Z:0ddca241-0e7f-4a8d-9b92-f72edb231220", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a5113012-0b0f-4158-acf6-4408746fb89f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:13:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1decca1b-a265-40de-8e6a-71432311e479", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091310Z:1decca1b-a265-40de-8e6a-71432311e479", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "25bdb0d9-e3b0-4a20-a921-1aeaf5472480", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:13:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f0fdf140-d42f-48c0-b65b-ea3fdca4dd83", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091341Z:f0fdf140-d42f-48c0-b65b-ea3fdca4dd83", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ef637078-e65d-411b-8d9b-fd2939729a95", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:14:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "919ca44b-e831-485f-b869-106203697651", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091411Z:919ca44b-e831-485f-b869-106203697651", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d28a8094-3b6c-4bbc-8384-0589bb4e540c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:14:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b84c683f-14ac-43e6-8a2d-45280c53ba67", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091442Z:b84c683f-14ac-43e6-8a2d-45280c53ba67", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c943ec84-3ca8-418e-88a1-7590eb5661eb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:15:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bb77c29e-b2db-427a-8f4e-fbf64949be17", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091513Z:bb77c29e-b2db-427a-8f4e-fbf64949be17", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "badac180-52d6-4c80-a7d6-9911dc6cbcaa", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:15:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "10c19fc1-9819-4f07-bc0d-28ad04c14897", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091544Z:10c19fc1-9819-4f07-bc0d-28ad04c14897", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd63366b-93bf-420a-b3bf-3aae5ed5d134", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:16:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "75d0dc5a-0e7a-4710-b6ec-7b09708d3a69", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091614Z:75d0dc5a-0e7a-4710-b6ec-7b09708d3a69", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9540efd4-57ac-4908-8051-d7eb1cd71f6e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:16:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4612abe4-12fa-4b56-88cf-316bfc5b0b92", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091644Z:4612abe4-12fa-4b56-88cf-316bfc5b0b92", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "099099f8-7d5c-4330-a7c9-c86221862578", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:17:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0ec7fd10-c9cd-4a8b-93a2-cf21ae1aedf0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091715Z:0ec7fd10-c9cd-4a8b-93a2-cf21ae1aedf0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a1c90866-09f7-477b-be57-4887ab837fc2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:17:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1b75a721-1b29-46f8-8bbe-ecb7c1ca2138", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091745Z:1b75a721-1b29-46f8-8bbe-ecb7c1ca2138", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f6f8c352-f984-4cc2-9c3e-ae44bab7c9ab", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:18:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1a0b332d-a743-4afb-aabf-b87fa3cce960", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091816Z:1a0b332d-a743-4afb-aabf-b87fa3cce960", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "de9c89c7-b9c8-4924-a32b-d50f2190e904", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:18:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e1f150bb-5be0-4d62-aafd-b40bb4cdd07a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091847Z:e1f150bb-5be0-4d62-aafd-b40bb4cdd07a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4416168a-ce89-4561-9525-717f953b88e2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:19:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8c5aaf2f-6c22-4ef3-9983-34941be57f3e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091917Z:8c5aaf2f-6c22-4ef3-9983-34941be57f3e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bdc6b0eb-bbef-4df6-bf80-af526260576c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:19:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "70163d1d-68e2-4648-8df3-d6314a6412ec", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T091948Z:70163d1d-68e2-4648-8df3-d6314a6412ec", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "da9e8f17-54bb-4c2b-bd37-a461762e619f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:20:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "472aeb77-e3cc-4add-845c-0a1ef1d8fe9d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092019Z:472aeb77-e3cc-4add-845c-0a1ef1d8fe9d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e50b9853-235b-40d8-bce7-dd086247ed31", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:20:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1a7a4fef-2f2b-4197-90df-7c142b442b61", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092049Z:1a7a4fef-2f2b-4197-90df-7c142b442b61", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8fcf37e-6c29-4179-a4fc-0936ca57870a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:21:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5d91b1b4-4757-4bca-b9be-48ddd23c3d92", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092120Z:5d91b1b4-4757-4bca-b9be-48ddd23c3d92", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a8d402b7-099a-4412-b8ad-db2f9bd817f3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:21:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fd190a7f-ded2-4360-8123-72ab76d862c2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092150Z:fd190a7f-ded2-4360-8123-72ab76d862c2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bfd21257-7162-43eb-841c-1bdb60c9eb81", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:22:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "15e33180-e2f6-43e9-b584-00fac334a62e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092221Z:15e33180-e2f6-43e9-b584-00fac334a62e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2ac2769-493b-4d0d-bc01-2618164f3b9e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:22:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6a4833a5-8c35-431b-87a9-462617bdd986", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092251Z:6a4833a5-8c35-431b-87a9-462617bdd986", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d9e13ff1-2909-4ec2-82b3-4abbaa6edcdd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:23:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e8ae6258-80cf-4624-a5a5-a5e5467af0e6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092322Z:e8ae6258-80cf-4624-a5a5-a5e5467af0e6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7af81080-50f9-4cfb-8081-a7da869e2656", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:23:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "aa8d4473-5ac7-4d8e-b28d-c764912883b7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092352Z:aa8d4473-5ac7-4d8e-b28d-c764912883b7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "113d92e6-0784-44b7-858e-b0883816c29d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:24:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2da5856b-6a5c-422f-b470-5fd6d648285e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092423Z:2da5856b-6a5c-422f-b470-5fd6d648285e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ebc23cad-6cf9-4274-8693-f5e56a7e7221", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:24:53 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e468d746-a654-4d16-9b60-c744f199bf62", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092454Z:e468d746-a654-4d16-9b60-c744f199bf62", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d771515-56a8-414f-aba1-c4ebfe16b046", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:24:53 GMT", - "content-length" : "1812", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4a8eb4e6-9bec-48f4-90fb-f90503784428", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092454Z:4a8eb4e6-9bec-48f4-90fb-f90503784428", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "eb770874-9dcb-4925-bedc-767b3d6190ea", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa\",\"name\":\"hdisdk-rserver114611971813aa\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"fc91b8d7-0f6e-44ca-901e-a4381375dd6e\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.0\",\"clusterHdpVersion\":\"2.6.2.38-1\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.1812120705.json\",\"kind\":\"RServer\",\"componentVersion\":{\"spark\":\"2.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T08:58:25.687\",\"quotaInfo\":{\"coresUsed\":28},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-rserver114611971813aa-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"EDGESSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-rserver114611971813aa-ed-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-rserver114611971813aa.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-d8262679f9be?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:24:55 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c5bfa9af-3f21-4b71-a9d2-49e708bd3025", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092456Z:c5bfa9af-3f21-4b71-a9d2-49e708bd3025", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJERDgyNjI2NzlGOUJFLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "c5bfa9af-3f21-4b71-a9d2-49e708bd3025", - "Body" : "" - } - } ], - "variables" : [ "hdijava-d8262679f9be", "hdijava4c524368496b", "hdisdk-rserver114611971813aa" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-d8262679f9be?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:45 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9206852c-a222-4b9d-9786-49a81296d9e5", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T085745Z:9206852c-a222-4b9d-9786-49a81296d9e5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9206852c-a222-4b9d-9786-49a81296d9e5", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-d8262679f9be?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:46 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b004988a-525d-4a25-9886-96fbda3dc211", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085747Z:b004988a-525d-4a25-9886-96fbda3dc211", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b004988a-525d-4a25-9886-96fbda3dc211", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be\",\"name\":\"hdijava-d8262679f9be\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:48 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "59049466-f9fd-4207-a6c0-da64a4f4d793", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085748Z:59049466-f9fd-4207-a6c0-da64a4f4d793", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "2781f19a-764a-440f-b881-25d2ae41fef6", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:48 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "71be2d65-3846-47ba-8451-b1ec6f59d91a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085749Z:71be2d65-3846-47ba-8451-b1ec6f59d91a", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "541a3863-121f-410c-9936-7fb5e7e80e0e", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/2781f19a-764a-440f-b881-25d2ae41fef6?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:58:05 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6e595bf6-b685-4bf6-99cc-1cb8f6bf770c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085806Z:6e595bf6-b685-4bf6-99cc-1cb8f6bf770c", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "96837ea8-c1a4-4c00-a9b0-ea39ae27faf7", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b\",\"name\":\"hdijava4c524368496b\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:57:48.5786356Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava4c524368496b.blob.core.windows.net/\",\"queue\":\"https://hdijava4c524368496b.queue.core.windows.net/\",\"table\":\"https://hdijava4c524368496b.table.core.windows.net/\",\"file\":\"https://hdijava4c524368496b.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:58:06 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e5a8d8fc-7fce-4e24-b7c8-d07c59b67e26", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085806Z:e5a8d8fc-7fce-4e24-b7c8-d07c59b67e26", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "1b86a0e5-7577-4a19-a1ec-521bd9988807", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b\",\"name\":\"hdijava4c524368496b\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:57:48.7192647Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:57:48.5786356Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava4c524368496b.blob.core.windows.net/\",\"queue\":\"https://hdijava4c524368496b.queue.core.windows.net/\",\"table\":\"https://hdijava4c524368496b.table.core.windows.net/\",\"file\":\"https://hdijava4c524368496b.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.Storage/storageAccounts/hdijava4c524368496b/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:58:06 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b2e799b0-99a9-4a2c-973f-0eb84c31ed50", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085806Z:b2e799b0-99a9-4a2c-973f-0eb84c31ed50", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "bfa47d43-315d-4c6d-b60b-76b1884d04ac", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"jO4JYBbp+t/SYzNAHgsf3aK+f7nKFqJ5oqzO+MSdbI12/+yUogHj1nj0ywQA9qfqpgXL58EJvvTWyNJBayjLYg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"Au1akV7mbt4F5Nwpeu+ltMOciGJsPHrUYUFsqR4RLCQuuFJOIs68O+eo2/fqAvgfWjZSL5eRC8gIIko6q6/rFg==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:58:25 GMT", + "content-length" : "1451", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e74ba52d-6706-440d-908f-1c0238490c35", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085826Z:e74ba52d-6706-440d-908f-1c0238490c35", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"fc91b8d7-0f6e-44ca-901e-a4381375dd6e\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa?api-version=2018-06-01-preview", + "x-ms-request-id" : "9f17ca48-1a94-47df-8e0f-5938cf8cc919", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa\",\"name\":\"hdisdk-rserver114611971813aa\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"fc91b8d7-0f6e-44ca-901e-a4381375dd6e\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.0\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.1812120705.json\",\"kind\":\"RServer\",\"componentVersion\":{\"spark\":\"2.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:58:25.687\",\"quotaInfo\":{\"coresUsed\":28},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:58:26 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0af62bd6-4463-4960-af29-132eb7aef666", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085827Z:0af62bd6-4463-4960-af29-132eb7aef666", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1d491dea-2871-4920-9b8f-05b2003a3a83", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:58:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "371437d9-b5d3-4b20-96f7-499c9ca98785", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085857Z:371437d9-b5d3-4b20-96f7-499c9ca98785", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b1a7ad9c-8ad5-41d9-b320-ff4989d160c9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:59:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1e0fe92f-5952-48dc-9440-70f7cef56bea", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085928Z:1e0fe92f-5952-48dc-9440-70f7cef56bea", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d2d2a764-db3d-45ef-ad51-b051917ed528", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:59:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9a91b13a-f4c2-4418-9709-dc13288ab43a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085958Z:9a91b13a-f4c2-4418-9709-dc13288ab43a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fda94fb2-71a4-4cab-965d-11b1779fcdd8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:00:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "77fba956-406a-42c3-a1d1-2c0801ff578c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090029Z:77fba956-406a-42c3-a1d1-2c0801ff578c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e9be7789-a979-4ed9-b474-e82d1437d51d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:00:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "36bb0dfe-4723-4830-8137-c0bc4787e9a9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090059Z:36bb0dfe-4723-4830-8137-c0bc4787e9a9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e2c6441e-7326-43db-91dd-398beed6e45b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:01:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "24205bd9-714d-4556-97b6-055872ad3c17", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090130Z:24205bd9-714d-4556-97b6-055872ad3c17", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a360b548-e969-49ee-a2f4-b4f8a980cfb7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:02:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e15ab696-a02e-4455-9140-1071497daedd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090200Z:e15ab696-a02e-4455-9140-1071497daedd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "672ee384-73bd-4002-a49b-291c944e26ed", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:02:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "87782bdf-be1a-4337-a8f8-0c97b40b230d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090231Z:87782bdf-be1a-4337-a8f8-0c97b40b230d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8a7dcedf-8a7a-420e-b1dd-974b44ed4cbd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:03:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e511d5cc-b13b-4b83-a090-82f36efd33d7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090301Z:e511d5cc-b13b-4b83-a090-82f36efd33d7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2461d434-8cb4-4a7b-acb9-32125797d1ab", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:03:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "41367a88-a42e-4977-8d15-204dc56d0b08", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090332Z:41367a88-a42e-4977-8d15-204dc56d0b08", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3e81bf8b-bc9e-4e0c-a650-16bc06e73e2c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:04:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9ccaea02-dd72-4c5b-be5a-afa3051db18b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090402Z:9ccaea02-dd72-4c5b-be5a-afa3051db18b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d69000d0-59a3-4e79-b782-4f09269ec135", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:04:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "136e0a58-e691-4252-8b6b-7dda9b644628", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090432Z:136e0a58-e691-4252-8b6b-7dda9b644628", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b2970827-26e4-4dbf-869e-1ec012f461ca", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:05:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "eb29bed0-6254-4ec6-bffc-59ef4303f9fb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090503Z:eb29bed0-6254-4ec6-bffc-59ef4303f9fb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4034bb82-91d7-4ec8-bd1f-de9fa5d10dff", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:05:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "33d42ef7-f813-424f-9578-298628a72a80", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090533Z:33d42ef7-f813-424f-9578-298628a72a80", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ffaeeec7-2b12-427c-a0f4-278a51e3d333", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:06:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b6d7f0fe-8144-4977-9f49-6588db5ab120", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090604Z:b6d7f0fe-8144-4977-9f49-6588db5ab120", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3906d0b1-e1ac-4625-9d1e-1d67fdd43a12", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:06:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "72a2e97d-e3a6-4240-af28-6aaa0a40ef04", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090634Z:72a2e97d-e3a6-4240-af28-6aaa0a40ef04", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dd0dc1b6-62da-4e12-9632-d77a9983a4b5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:07:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6f69cf32-668d-45a4-91fc-a93b4af81f25", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090705Z:6f69cf32-668d-45a4-91fc-a93b4af81f25", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c979d74a-615e-4ff1-83a2-d9fba06d119f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:07:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cb48e3c0-b11d-47d7-8f40-ff8b8decd34e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090735Z:cb48e3c0-b11d-47d7-8f40-ff8b8decd34e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "771e2295-4166-4063-83d3-35a9ad45bcba", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:08:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9c32d0b9-d75b-430c-b7a4-238b829f3e27", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090806Z:9c32d0b9-d75b-430c-b7a4-238b829f3e27", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "95786ed9-779a-4630-a217-b6716a2c8f93", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:08:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "894ea13f-6e31-4953-a1f6-a756dc390458", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090836Z:894ea13f-6e31-4953-a1f6-a756dc390458", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cd105f38-c4ec-4594-be04-26c960cacac4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:09:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f4263244-4368-4d75-9d26-e2b43c1e6faf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090906Z:f4263244-4368-4d75-9d26-e2b43c1e6faf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2fa4578b-fa33-4632-8b00-9777a6fb5c7e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:09:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9e30c07d-c5e3-4a7e-8c82-f205a8411718", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T090937Z:9e30c07d-c5e3-4a7e-8c82-f205a8411718", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f51bb731-e4f3-41e3-94ff-67d974c2316c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:10:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "91b7b44d-c768-44c6-aea8-29f2bf8d81cb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091007Z:91b7b44d-c768-44c6-aea8-29f2bf8d81cb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "45e15375-5395-43e7-9a39-dfbc0b7369e8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:10:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "71ad7afb-01ca-43aa-bb7e-ebfba71b8501", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091038Z:71ad7afb-01ca-43aa-bb7e-ebfba71b8501", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8e76360-40f4-4952-8a97-a2b653e64cee", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:11:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "854a2fd1-0e71-4d9b-a062-5738d5300fe5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091108Z:854a2fd1-0e71-4d9b-a062-5738d5300fe5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "29b5853f-5d0e-4383-916b-6095cddbcbbb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:11:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0aea228e-2a0f-4008-a889-970cd9d0cfff", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091139Z:0aea228e-2a0f-4008-a889-970cd9d0cfff", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "acc6a37f-a430-4895-8888-afc4507e68fa", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:12:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "228ed305-9013-4eee-bd28-eb6eda2bcba6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091209Z:228ed305-9013-4eee-bd28-eb6eda2bcba6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "be6815bd-e700-4e44-87ff-d3248a8ffdb0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:12:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0ddca241-0e7f-4a8d-9b92-f72edb231220", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091240Z:0ddca241-0e7f-4a8d-9b92-f72edb231220", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a5113012-0b0f-4158-acf6-4408746fb89f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:13:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1decca1b-a265-40de-8e6a-71432311e479", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091310Z:1decca1b-a265-40de-8e6a-71432311e479", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "25bdb0d9-e3b0-4a20-a921-1aeaf5472480", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:13:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f0fdf140-d42f-48c0-b65b-ea3fdca4dd83", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091341Z:f0fdf140-d42f-48c0-b65b-ea3fdca4dd83", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ef637078-e65d-411b-8d9b-fd2939729a95", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:14:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "919ca44b-e831-485f-b869-106203697651", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091411Z:919ca44b-e831-485f-b869-106203697651", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d28a8094-3b6c-4bbc-8384-0589bb4e540c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:14:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b84c683f-14ac-43e6-8a2d-45280c53ba67", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091442Z:b84c683f-14ac-43e6-8a2d-45280c53ba67", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c943ec84-3ca8-418e-88a1-7590eb5661eb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:15:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bb77c29e-b2db-427a-8f4e-fbf64949be17", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091513Z:bb77c29e-b2db-427a-8f4e-fbf64949be17", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "badac180-52d6-4c80-a7d6-9911dc6cbcaa", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:15:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "10c19fc1-9819-4f07-bc0d-28ad04c14897", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091544Z:10c19fc1-9819-4f07-bc0d-28ad04c14897", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd63366b-93bf-420a-b3bf-3aae5ed5d134", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:16:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "75d0dc5a-0e7a-4710-b6ec-7b09708d3a69", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091614Z:75d0dc5a-0e7a-4710-b6ec-7b09708d3a69", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9540efd4-57ac-4908-8051-d7eb1cd71f6e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:16:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4612abe4-12fa-4b56-88cf-316bfc5b0b92", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091644Z:4612abe4-12fa-4b56-88cf-316bfc5b0b92", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "099099f8-7d5c-4330-a7c9-c86221862578", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:17:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0ec7fd10-c9cd-4a8b-93a2-cf21ae1aedf0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091715Z:0ec7fd10-c9cd-4a8b-93a2-cf21ae1aedf0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a1c90866-09f7-477b-be57-4887ab837fc2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:17:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1b75a721-1b29-46f8-8bbe-ecb7c1ca2138", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091745Z:1b75a721-1b29-46f8-8bbe-ecb7c1ca2138", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f6f8c352-f984-4cc2-9c3e-ae44bab7c9ab", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:18:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1a0b332d-a743-4afb-aabf-b87fa3cce960", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091816Z:1a0b332d-a743-4afb-aabf-b87fa3cce960", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "de9c89c7-b9c8-4924-a32b-d50f2190e904", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:18:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e1f150bb-5be0-4d62-aafd-b40bb4cdd07a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091847Z:e1f150bb-5be0-4d62-aafd-b40bb4cdd07a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4416168a-ce89-4561-9525-717f953b88e2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:19:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8c5aaf2f-6c22-4ef3-9983-34941be57f3e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091917Z:8c5aaf2f-6c22-4ef3-9983-34941be57f3e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bdc6b0eb-bbef-4df6-bf80-af526260576c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:19:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "70163d1d-68e2-4648-8df3-d6314a6412ec", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T091948Z:70163d1d-68e2-4648-8df3-d6314a6412ec", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "da9e8f17-54bb-4c2b-bd37-a461762e619f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:20:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "472aeb77-e3cc-4add-845c-0a1ef1d8fe9d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092019Z:472aeb77-e3cc-4add-845c-0a1ef1d8fe9d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e50b9853-235b-40d8-bce7-dd086247ed31", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:20:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1a7a4fef-2f2b-4197-90df-7c142b442b61", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092049Z:1a7a4fef-2f2b-4197-90df-7c142b442b61", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8fcf37e-6c29-4179-a4fc-0936ca57870a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:21:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5d91b1b4-4757-4bca-b9be-48ddd23c3d92", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092120Z:5d91b1b4-4757-4bca-b9be-48ddd23c3d92", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a8d402b7-099a-4412-b8ad-db2f9bd817f3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:21:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fd190a7f-ded2-4360-8123-72ab76d862c2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092150Z:fd190a7f-ded2-4360-8123-72ab76d862c2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bfd21257-7162-43eb-841c-1bdb60c9eb81", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:22:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "15e33180-e2f6-43e9-b584-00fac334a62e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092221Z:15e33180-e2f6-43e9-b584-00fac334a62e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d2ac2769-493b-4d0d-bc01-2618164f3b9e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:22:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6a4833a5-8c35-431b-87a9-462617bdd986", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092251Z:6a4833a5-8c35-431b-87a9-462617bdd986", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d9e13ff1-2909-4ec2-82b3-4abbaa6edcdd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:23:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e8ae6258-80cf-4624-a5a5-a5e5467af0e6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092322Z:e8ae6258-80cf-4624-a5a5-a5e5467af0e6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7af81080-50f9-4cfb-8081-a7da869e2656", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:23:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "aa8d4473-5ac7-4d8e-b28d-c764912883b7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092352Z:aa8d4473-5ac7-4d8e-b28d-c764912883b7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "113d92e6-0784-44b7-858e-b0883816c29d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:24:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2da5856b-6a5c-422f-b470-5fd6d648285e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092423Z:2da5856b-6a5c-422f-b470-5fd6d648285e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ebc23cad-6cf9-4274-8693-f5e56a7e7221", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:24:53 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e468d746-a654-4d16-9b60-c744f199bf62", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092454Z:e468d746-a654-4d16-9b60-c744f199bf62", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1d771515-56a8-414f-aba1-c4ebfe16b046", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:24:53 GMT", + "content-length" : "1812", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4a8eb4e6-9bec-48f4-90fb-f90503784428", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092454Z:4a8eb4e6-9bec-48f4-90fb-f90503784428", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "eb770874-9dcb-4925-bedc-767b3d6190ea", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-d8262679f9be/providers/Microsoft.HDInsight/clusters/hdisdk-rserver114611971813aa\",\"name\":\"hdisdk-rserver114611971813aa\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"fc91b8d7-0f6e-44ca-901e-a4381375dd6e\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.0\",\"clusterHdpVersion\":\"2.6.2.38-1\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/rserver-3.6.1000.0.1812120705.json\",\"kind\":\"RServer\",\"componentVersion\":{\"spark\":\"2.1\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Standard_D4_v2\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T08:58:25.687\",\"quotaInfo\":{\"coresUsed\":28},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-rserver114611971813aa-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"EDGESSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-rserver114611971813aa-ed-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-rserver114611971813aa.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-d8262679f9be?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:24:55 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c5bfa9af-3f21-4b71-a9d2-49e708bd3025", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092456Z:c5bfa9af-3f21-4b71-a9d2-49e708bd3025", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJERDgyNjI2NzlGOUJFLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "c5bfa9af-3f21-4b71-a9d2-49e708bd3025", + "Body" : "" + } + } ], + "variables" : [ "hdijava-d8262679f9be", "hdijava4c524368496b", "hdisdk-rserver114611971813aa" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithADLSv2.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithADLSv2.json index afca5855ee601..2bf8e2e97fcdf 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithADLSv2.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithADLSv2.json @@ -1,1487 +1,1487 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-27274423e632?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:10 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6ce83e4f-d061-4664-86d9-6ab356a5717d", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T092610Z:6ce83e4f-d061-4664-86d9-6ab356a5717d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6ce83e4f-d061-4664-86d9-6ab356a5717d", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-27274423e632?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:11 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "43057434-aeeb-47ca-9282-938b3a1c668d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092612Z:43057434-aeeb-47ca-9282-938b3a1c668d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "43057434-aeeb-47ca-9282-938b3a1c668d", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632\",\"name\":\"hdijava-27274423e632\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:13 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7e98db05-fb51-4a6d-8000-2cf60443d818", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092613Z:7e98db05-fb51-4a6d-8000-2cf60443d818", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "1463adc4-602d-4012-ae27-b039a34955a9", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:13 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3fbe97d9-c7ed-4908-a1d4-7c887f0f0f3b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092613Z:3fbe97d9-c7ed-4908-a1d4-7c887f0f0f3b", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "029674e4-8a01-4cd3-9985-4b0a5b0f261a", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:29 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7273554a-680f-4c82-8677-a91855c9159d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092630Z:7273554a-680f-4c82-8677-a91855c9159d", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "c832d7df-3703-45cb-9824-87118cc41421", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c\",\"name\":\"hdijavabd772944c17c\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:13.3440371Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabd772944c17c.blob.core.windows.net/\",\"queue\":\"https://hdijavabd772944c17c.queue.core.windows.net/\",\"table\":\"https://hdijavabd772944c17c.table.core.windows.net/\",\"file\":\"https://hdijavabd772944c17c.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:31 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1f073dc1-0370-48a8-8b28-7fe95188ce2c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092631Z:1f073dc1-0370-48a8-8b28-7fe95188ce2c", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "2fbb6819-6355-4858-855e-9502c0247bf1", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c\",\"name\":\"hdijavabd772944c17c\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:13.3440371Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabd772944c17c.blob.core.windows.net/\",\"queue\":\"https://hdijavabd772944c17c.queue.core.windows.net/\",\"table\":\"https://hdijavabd772944c17c.table.core.windows.net/\",\"file\":\"https://hdijavabd772944c17c.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:31 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "78f8c612-6d16-47b4-a9ef-5e8a712310c7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092632Z:78f8c612-6d16-47b4-a9ef-5e8a712310c7", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "16b1aef2-e527-41f2-afcc-985826642c3c", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:32 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "04456cf0-0dc2-416e-aac7-094645669708", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092632Z:04456cf0-0dc2-416e-aac7-094645669708", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "5db08af9-bff9-4a36-828d-7379ee4a1d20", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:48 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1125", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fa2c5a80-a867-4420-9c6b-0c186de495be", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:fa2c5a80-a867-4420-9c6b-0c186de495be", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "8b182115-d13a-4465-a28e-255ff5eb1d34", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d\",\"name\":\"hdijavaadlsv2d4f91958d\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:31.7042103Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaadlsv2d4f91958d.blob.core.windows.net/\",\"queue\":\"https://hdijavaadlsv2d4f91958d.queue.core.windows.net/\",\"table\":\"https://hdijavaadlsv2d4f91958d.table.core.windows.net/\",\"file\":\"https://hdijavaadlsv2d4f91958d.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:48 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1125", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5f2dbb41-8a1d-4a2e-ba46-9c2c0494245c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:5f2dbb41-8a1d-4a2e-ba46-9c2c0494245c", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "434fcaaa-4588-45b0-b7f3-eca203436cc8", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d\",\"name\":\"hdijavaadlsv2d4f91958d\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:31.7042103Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaadlsv2d4f91958d.blob.core.windows.net/\",\"queue\":\"https://hdijavaadlsv2d4f91958d.queue.core.windows.net/\",\"table\":\"https://hdijavaadlsv2d4f91958d.table.core.windows.net/\",\"file\":\"https://hdijavaadlsv2d4f91958d.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:49 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2edf631f-df81-4b0a-94ca-5df8cfdedcd7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:2edf631f-df81-4b0a-94ca-5df8cfdedcd7", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "83f4f420-cda6-4429-92b5-98faa49446c0", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"9Wrcidi5Qw+Zv9xiwtksMDIecJEcZwit0vVJG5U1R0JnckzsusDpOwM8oSTBhz7a3LTznvMEO0aSqH0BvP4hDg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"iBCQRetsoYaD5wkCo4SZKRmrJ++XnZjaRaEx4E4ClihoopIJ9lPFcUdSQX5FTrdlWjIzeR4higp4tPPK55sGsA==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:26:49 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7ec5770d-3a5a-4f4e-98e0-db8a0c1648f3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:7ec5770d-3a5a-4f4e-98e0-db8a0c1648f3", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "322e437e-61b2-4c47-b388-2b5380a0b440", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"qX60lpOIgQ+4D7yWnYmMMDacF74YU3SG9fJfIa8e/KLfnN/EICy+0ZFe+hWd5MGT8zjZ5Efx1z6/qKDVfLyBUg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"b1wbQbYDT03Vr5hMQbPluenqeODB2faCDnIlKDMsVAJe5EbhVgJ980hcPadKT9GVq6SNf3o4PqnENiSud76f5Q==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:27:08 GMT", - "content-length" : "1269", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "81c0581a-77dc-4d49-a1ec-1023c20205a6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092709Z:81c0581a-77dc-4d49-a1ec-1023c20205a6", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"62b656d6-a00a-425a-b1de-1cdde2af5e5c\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9?api-version=2018-06-01-preview", - "x-ms-request-id" : "32b7f345-abdf-4638-985c-ae09a9b4230a", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9\",\"name\":\"hdisdk-adlgen218d14421d5cfc9\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"62b656d6-a00a-425a-b1de-1cdde2af5e5c\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T09:27:08.56\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:27:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "338631c5-8352-492b-b83f-94433ecfc80e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092709Z:338631c5-8352-492b-b83f-94433ecfc80e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9dbef13d-21e2-4863-b1ba-68212a495196", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:27:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "802d72f2-dafa-4a68-83a2-1cb2e8e5ba63", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092740Z:802d72f2-dafa-4a68-83a2-1cb2e8e5ba63", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ac61d3c0-a571-4be0-9c55-de351d2141ea", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:28:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a837191f-b08f-4f39-8a0d-7ea0f1340598", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092811Z:a837191f-b08f-4f39-8a0d-7ea0f1340598", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c75eb109-8cb0-4e1f-90aa-9c7b0208d508", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:28:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cfd9f3ce-31b8-4792-a494-4e2ea1b9b298", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092841Z:cfd9f3ce-31b8-4792-a494-4e2ea1b9b298", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "939d91f2-6671-4b71-88cd-3b940d7abf08", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:29:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "67289b82-240c-451d-9594-0ac9e71a1312", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092912Z:67289b82-240c-451d-9594-0ac9e71a1312", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c6285d7f-5397-4057-adf2-83c4530d8167", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:29:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0728c025-00df-4fdb-b63b-80629d6a3e33", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T092942Z:0728c025-00df-4fdb-b63b-80629d6a3e33", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "da9363d8-f314-4846-9d7b-fb1469c7fc55", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:30:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d5317777-e5b0-4926-b024-b4bf8b2a6bc9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093013Z:d5317777-e5b0-4926-b024-b4bf8b2a6bc9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a34fadbe-69a1-4e7b-9a59-373d32e15393", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:30:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c7ea6668-7421-48d6-b1f7-30f33915b022", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093043Z:c7ea6668-7421-48d6-b1f7-30f33915b022", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "46a55b3d-0a64-41bd-bfd2-a1272cbe5921", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:31:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9f1229ae-a136-4703-a0e1-47592dcdafe4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093114Z:9f1229ae-a136-4703-a0e1-47592dcdafe4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e5189d91-b671-40f8-b147-0cf21da422bb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:31:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8e21179e-c567-416d-8a40-99849f8b8fa3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093144Z:8e21179e-c567-416d-8a40-99849f8b8fa3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "38a08e1a-c5d5-4675-ab77-a047df7ef750", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:32:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4bb186f3-8051-4e84-ad9f-7f2b5b55080c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093215Z:4bb186f3-8051-4e84-ad9f-7f2b5b55080c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8a0190fe-7336-45af-b762-361614303544", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:32:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1fb8bf1e-2cde-49c8-b19c-edfbca009344", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093245Z:1fb8bf1e-2cde-49c8-b19c-edfbca009344", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "76fdefb5-e4ba-4292-8625-60a2c236ab51", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:33:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "40b888c0-d134-4c51-99af-903947f397e6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093316Z:40b888c0-d134-4c51-99af-903947f397e6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8df9ca6-a7a6-4c72-a039-4eafef247dd5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:33:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "279a5986-a8d8-4366-b435-3e66870d8d3a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093346Z:279a5986-a8d8-4366-b435-3e66870d8d3a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "547bfc2d-fb23-468c-9831-58e20c3195ce", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:34:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "31ae52d7-c64c-4f7f-a080-00b26542a66d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093417Z:31ae52d7-c64c-4f7f-a080-00b26542a66d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33f7e311-b3e5-4c25-93d1-23304b161424", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:34:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6d7f13dd-d1ea-415a-ae97-264113e844c8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093447Z:6d7f13dd-d1ea-415a-ae97-264113e844c8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "11ff00cc-bfe9-453d-a0aa-8de4dea49ed0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:35:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "29bc34e9-2864-4b94-be41-8eba4f73ae1c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093518Z:29bc34e9-2864-4b94-be41-8eba4f73ae1c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8d8cc3b1-be6e-4538-aada-ee11e96eec1f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:35:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ffc37ebc-df58-46b8-9464-65e9aa122429", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093548Z:ffc37ebc-df58-46b8-9464-65e9aa122429", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "de5780bb-a787-4da2-9525-7356274ff354", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:36:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "72630924-cb5a-4984-8dab-cafb10d03f03", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093619Z:72630924-cb5a-4984-8dab-cafb10d03f03", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "74c55443-14e8-44b6-8433-57ae88130294", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:36:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9ed4c86c-9658-4598-8706-8b5808d74a0c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093649Z:9ed4c86c-9658-4598-8706-8b5808d74a0c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5163a597-c420-425f-af7b-77599667fe08", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:37:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e9a5ae45-07bc-494b-b048-30daf5482c8b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093720Z:e9a5ae45-07bc-494b-b048-30daf5482c8b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1cb4f718-1b2d-448b-8cc2-7d850dcdc090", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:37:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0b339b8c-bea8-44c9-9b5a-7732bafe41f6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093750Z:0b339b8c-bea8-44c9-9b5a-7732bafe41f6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f5195919-3a9b-4f36-8387-473656c47c9e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:38:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f999e449-613b-4067-83a4-e9d16d1db9eb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093821Z:f999e449-613b-4067-83a4-e9d16d1db9eb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7e35d930-cae2-4e77-b232-25b0f01d2212", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:38:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "83a15fb2-ab8e-45a0-9f1c-c35c6d5c9543", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093851Z:83a15fb2-ab8e-45a0-9f1c-c35c6d5c9543", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd13e9d2-a266-4645-b99a-0b4677beb3f1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:39:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "80321aec-c657-4934-a90b-95dca69a9895", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093922Z:80321aec-c657-4934-a90b-95dca69a9895", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b0b88b84-0621-4c6a-b74b-af0731ced935", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:39:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4592b1bf-d85d-49d9-ad72-7193e53b25a8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T093952Z:4592b1bf-d85d-49d9-ad72-7193e53b25a8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5b77b4d9-33b6-4bec-bb6d-e87ba70db9be", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:40:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dc2f6c67-e8f1-4e4e-908d-c5fe1d2d88cd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094023Z:dc2f6c67-e8f1-4e4e-908d-c5fe1d2d88cd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "900b452f-7d50-4cc0-88c1-dab92f298ec8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:40:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fdca2729-b085-49b2-9186-ff99e0a36203", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094053Z:fdca2729-b085-49b2-9186-ff99e0a36203", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d2d7e8b6-e790-4318-8d31-10b67c555ce6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:41:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "869f3c44-cafa-4bf4-becc-8e26dcb77416", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094124Z:869f3c44-cafa-4bf4-becc-8e26dcb77416", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4574434b-4bfc-4228-8225-5a9d9e1bbdbd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:41:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "db6a1c4a-2619-4678-8aa5-9f80c2551854", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094154Z:db6a1c4a-2619-4678-8aa5-9f80c2551854", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5ea9d003-00f1-480d-b348-6b089e210052", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:42:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d4e7b38f-d82f-46fa-b5bf-58437dfe22e8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094225Z:d4e7b38f-d82f-46fa-b5bf-58437dfe22e8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "542c392a-4d8f-4415-932c-fe4dfab2605b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:42:55 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2c6e5d62-80dc-4f66-8c9f-84799771082c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094255Z:2c6e5d62-80dc-4f66-8c9f-84799771082c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "56f34104-1643-4fe3-9560-604e5a38bd09", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:43:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4b178b1c-31a4-47a4-9e15-811f8f9617f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094326Z:4b178b1c-31a4-47a4-9e15-811f8f9617f1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ed37cd47-6f69-455a-9ead-401b1b098113", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:43:56 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "107e15e5-3229-4b67-b0a2-c5e9ac19154e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094356Z:107e15e5-3229-4b67-b0a2-c5e9ac19154e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bc25683d-e2bd-4754-ad38-ff6bbab1fc0b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:44:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d23312a5-95b0-4a54-b38a-314b7278705b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094427Z:d23312a5-95b0-4a54-b38a-314b7278705b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6cc1cafc-3349-4b32-adf3-fd1ce39a1884", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:44:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9ac052fc-573b-4b4d-a257-76316f9f52ce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094457Z:9ac052fc-573b-4b4d-a257-76316f9f52ce", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "210c2203-e8ac-440f-b5b0-0255c69b1133", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:45:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2aadcd95-540a-4ab2-a3da-d9ebb7a0914e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094528Z:2aadcd95-540a-4ab2-a3da-d9ebb7a0914e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9b309126-27b9-4281-a405-4b2b92a560bf", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:45:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5fe8e324-a880-4f5e-9530-ce16bf60f6f8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094558Z:5fe8e324-a880-4f5e-9530-ce16bf60f6f8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "42b71334-58e0-4942-8ff9-ae1dea04fbcd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:46:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f10eb19a-8428-4476-8219-fe74ce66b50b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094629Z:f10eb19a-8428-4476-8219-fe74ce66b50b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1985f45b-7eda-4c2f-b7c0-2b6c404f8550", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:46:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d95bcbf7-db28-426b-a837-57adf1c4db1a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094700Z:d95bcbf7-db28-426b-a837-57adf1c4db1a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "751b271b-75ba-4e4c-a1af-b7cb230ca4d0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:47:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "28155376-f6d2-449f-975e-50bee3d55e77", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094730Z:28155376-f6d2-449f-975e-50bee3d55e77", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9610dbe4-e0fd-428b-b110-fe798ce3667e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:00 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e02072d5-584a-4424-bf03-0937f15ccb8d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094800Z:e02072d5-584a-4424-bf03-0937f15ccb8d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c1cffedd-3795-425c-b26b-fca61a25b265", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:01 GMT", - "content-length" : "1519", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "80b3b7ce-aa2b-48ae-bd02-e664709bc5d1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094801Z:80b3b7ce-aa2b-48ae-bd02-e664709bc5d1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "638757d6-5745-4ea8-874c-21bf6cf9a26c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9\",\"name\":\"hdisdk-adlgen218d14421d5cfc9\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"62b656d6-a00a-425a-b1de-1cdde2af5e5c\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T09:27:08.56\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-adlgen218d14421d5cfc9-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-adlgen218d14421d5cfc9.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-27274423e632?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 09:48:02 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cfa8220b-ad88-4d78-a142-d2e8560507cd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T094803Z:cfa8220b-ad88-4d78-a142-d2e8560507cd", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMjcyNzQ0MjNFNjMyLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "cfa8220b-ad88-4d78-a142-d2e8560507cd", - "Body" : "" - } - } ], - "variables" : [ "hdijava-27274423e632", "hdijavabd772944c17c", "hdijavaadlsv2d4f91958d", "hdisdk-adlgen218d14421d5cfc9" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-27274423e632?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:10 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6ce83e4f-d061-4664-86d9-6ab356a5717d", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T092610Z:6ce83e4f-d061-4664-86d9-6ab356a5717d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6ce83e4f-d061-4664-86d9-6ab356a5717d", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-27274423e632?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:11 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "43057434-aeeb-47ca-9282-938b3a1c668d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092612Z:43057434-aeeb-47ca-9282-938b3a1c668d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "43057434-aeeb-47ca-9282-938b3a1c668d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632\",\"name\":\"hdijava-27274423e632\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:13 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7e98db05-fb51-4a6d-8000-2cf60443d818", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092613Z:7e98db05-fb51-4a6d-8000-2cf60443d818", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "1463adc4-602d-4012-ae27-b039a34955a9", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:13 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3fbe97d9-c7ed-4908-a1d4-7c887f0f0f3b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092613Z:3fbe97d9-c7ed-4908-a1d4-7c887f0f0f3b", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "029674e4-8a01-4cd3-9985-4b0a5b0f261a", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1463adc4-602d-4012-ae27-b039a34955a9?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:29 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7273554a-680f-4c82-8677-a91855c9159d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092630Z:7273554a-680f-4c82-8677-a91855c9159d", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "c832d7df-3703-45cb-9824-87118cc41421", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c\",\"name\":\"hdijavabd772944c17c\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:13.3440371Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabd772944c17c.blob.core.windows.net/\",\"queue\":\"https://hdijavabd772944c17c.queue.core.windows.net/\",\"table\":\"https://hdijavabd772944c17c.table.core.windows.net/\",\"file\":\"https://hdijavabd772944c17c.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:31 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1f073dc1-0370-48a8-8b28-7fe95188ce2c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092631Z:1f073dc1-0370-48a8-8b28-7fe95188ce2c", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "2fbb6819-6355-4858-855e-9502c0247bf1", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c\",\"name\":\"hdijavabd772944c17c\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:13.4846650Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:13.3440371Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabd772944c17c.blob.core.windows.net/\",\"queue\":\"https://hdijavabd772944c17c.queue.core.windows.net/\",\"table\":\"https://hdijavabd772944c17c.table.core.windows.net/\",\"file\":\"https://hdijavabd772944c17c.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:31 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "78f8c612-6d16-47b4-a9ef-5e8a712310c7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092632Z:78f8c612-6d16-47b4-a9ef-5e8a712310c7", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "16b1aef2-e527-41f2-afcc-985826642c3c", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:32 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "04456cf0-0dc2-416e-aac7-094645669708", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092632Z:04456cf0-0dc2-416e-aac7-094645669708", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "5db08af9-bff9-4a36-828d-7379ee4a1d20", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/16b1aef2-e527-41f2-afcc-985826642c3c?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:48 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1125", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fa2c5a80-a867-4420-9c6b-0c186de495be", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:fa2c5a80-a867-4420-9c6b-0c186de495be", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "8b182115-d13a-4465-a28e-255ff5eb1d34", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d\",\"name\":\"hdijavaadlsv2d4f91958d\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:31.7042103Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaadlsv2d4f91958d.blob.core.windows.net/\",\"queue\":\"https://hdijavaadlsv2d4f91958d.queue.core.windows.net/\",\"table\":\"https://hdijavaadlsv2d4f91958d.table.core.windows.net/\",\"file\":\"https://hdijavaadlsv2d4f91958d.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:48 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1125", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5f2dbb41-8a1d-4a2e-ba46-9c2c0494245c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:5f2dbb41-8a1d-4a2e-ba46-9c2c0494245c", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "434fcaaa-4588-45b0-b7f3-eca203436cc8", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d\",\"name\":\"hdijavaadlsv2d4f91958d\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T09:26:31.8448415Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T09:26:31.7042103Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaadlsv2d4f91958d.blob.core.windows.net/\",\"queue\":\"https://hdijavaadlsv2d4f91958d.queue.core.windows.net/\",\"table\":\"https://hdijavaadlsv2d4f91958d.table.core.windows.net/\",\"file\":\"https://hdijavaadlsv2d4f91958d.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavaadlsv2d4f91958d/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:49 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2edf631f-df81-4b0a-94ca-5df8cfdedcd7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:2edf631f-df81-4b0a-94ca-5df8cfdedcd7", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "83f4f420-cda6-4429-92b5-98faa49446c0", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"9Wrcidi5Qw+Zv9xiwtksMDIecJEcZwit0vVJG5U1R0JnckzsusDpOwM8oSTBhz7a3LTznvMEO0aSqH0BvP4hDg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"iBCQRetsoYaD5wkCo4SZKRmrJ++XnZjaRaEx4E4ClihoopIJ9lPFcUdSQX5FTrdlWjIzeR4higp4tPPK55sGsA==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.Storage/storageAccounts/hdijavabd772944c17c/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:26:49 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7ec5770d-3a5a-4f4e-98e0-db8a0c1648f3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092649Z:7ec5770d-3a5a-4f4e-98e0-db8a0c1648f3", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "322e437e-61b2-4c47-b388-2b5380a0b440", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"qX60lpOIgQ+4D7yWnYmMMDacF74YU3SG9fJfIa8e/KLfnN/EICy+0ZFe+hWd5MGT8zjZ5Efx1z6/qKDVfLyBUg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"b1wbQbYDT03Vr5hMQbPluenqeODB2faCDnIlKDMsVAJe5EbhVgJ980hcPadKT9GVq6SNf3o4PqnENiSud76f5Q==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:27:08 GMT", + "content-length" : "1269", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "81c0581a-77dc-4d49-a1ec-1023c20205a6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092709Z:81c0581a-77dc-4d49-a1ec-1023c20205a6", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"62b656d6-a00a-425a-b1de-1cdde2af5e5c\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9?api-version=2018-06-01-preview", + "x-ms-request-id" : "32b7f345-abdf-4638-985c-ae09a9b4230a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9\",\"name\":\"hdisdk-adlgen218d14421d5cfc9\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"62b656d6-a00a-425a-b1de-1cdde2af5e5c\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T09:27:08.56\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:27:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "338631c5-8352-492b-b83f-94433ecfc80e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092709Z:338631c5-8352-492b-b83f-94433ecfc80e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9dbef13d-21e2-4863-b1ba-68212a495196", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:27:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "802d72f2-dafa-4a68-83a2-1cb2e8e5ba63", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092740Z:802d72f2-dafa-4a68-83a2-1cb2e8e5ba63", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ac61d3c0-a571-4be0-9c55-de351d2141ea", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:28:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a837191f-b08f-4f39-8a0d-7ea0f1340598", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092811Z:a837191f-b08f-4f39-8a0d-7ea0f1340598", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c75eb109-8cb0-4e1f-90aa-9c7b0208d508", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:28:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cfd9f3ce-31b8-4792-a494-4e2ea1b9b298", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092841Z:cfd9f3ce-31b8-4792-a494-4e2ea1b9b298", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "939d91f2-6671-4b71-88cd-3b940d7abf08", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:29:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "67289b82-240c-451d-9594-0ac9e71a1312", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092912Z:67289b82-240c-451d-9594-0ac9e71a1312", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c6285d7f-5397-4057-adf2-83c4530d8167", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:29:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0728c025-00df-4fdb-b63b-80629d6a3e33", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T092942Z:0728c025-00df-4fdb-b63b-80629d6a3e33", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "da9363d8-f314-4846-9d7b-fb1469c7fc55", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:30:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d5317777-e5b0-4926-b024-b4bf8b2a6bc9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093013Z:d5317777-e5b0-4926-b024-b4bf8b2a6bc9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a34fadbe-69a1-4e7b-9a59-373d32e15393", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:30:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c7ea6668-7421-48d6-b1f7-30f33915b022", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093043Z:c7ea6668-7421-48d6-b1f7-30f33915b022", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "46a55b3d-0a64-41bd-bfd2-a1272cbe5921", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:31:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9f1229ae-a136-4703-a0e1-47592dcdafe4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093114Z:9f1229ae-a136-4703-a0e1-47592dcdafe4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e5189d91-b671-40f8-b147-0cf21da422bb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:31:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8e21179e-c567-416d-8a40-99849f8b8fa3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093144Z:8e21179e-c567-416d-8a40-99849f8b8fa3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "38a08e1a-c5d5-4675-ab77-a047df7ef750", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:32:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4bb186f3-8051-4e84-ad9f-7f2b5b55080c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093215Z:4bb186f3-8051-4e84-ad9f-7f2b5b55080c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8a0190fe-7336-45af-b762-361614303544", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:32:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1fb8bf1e-2cde-49c8-b19c-edfbca009344", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093245Z:1fb8bf1e-2cde-49c8-b19c-edfbca009344", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "76fdefb5-e4ba-4292-8625-60a2c236ab51", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:33:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "40b888c0-d134-4c51-99af-903947f397e6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093316Z:40b888c0-d134-4c51-99af-903947f397e6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8df9ca6-a7a6-4c72-a039-4eafef247dd5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:33:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "279a5986-a8d8-4366-b435-3e66870d8d3a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093346Z:279a5986-a8d8-4366-b435-3e66870d8d3a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "547bfc2d-fb23-468c-9831-58e20c3195ce", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:34:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "31ae52d7-c64c-4f7f-a080-00b26542a66d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093417Z:31ae52d7-c64c-4f7f-a080-00b26542a66d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "33f7e311-b3e5-4c25-93d1-23304b161424", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:34:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6d7f13dd-d1ea-415a-ae97-264113e844c8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093447Z:6d7f13dd-d1ea-415a-ae97-264113e844c8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "11ff00cc-bfe9-453d-a0aa-8de4dea49ed0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:35:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "29bc34e9-2864-4b94-be41-8eba4f73ae1c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093518Z:29bc34e9-2864-4b94-be41-8eba4f73ae1c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8d8cc3b1-be6e-4538-aada-ee11e96eec1f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:35:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ffc37ebc-df58-46b8-9464-65e9aa122429", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093548Z:ffc37ebc-df58-46b8-9464-65e9aa122429", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "de5780bb-a787-4da2-9525-7356274ff354", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:36:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "72630924-cb5a-4984-8dab-cafb10d03f03", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093619Z:72630924-cb5a-4984-8dab-cafb10d03f03", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "74c55443-14e8-44b6-8433-57ae88130294", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:36:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9ed4c86c-9658-4598-8706-8b5808d74a0c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093649Z:9ed4c86c-9658-4598-8706-8b5808d74a0c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5163a597-c420-425f-af7b-77599667fe08", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:37:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e9a5ae45-07bc-494b-b048-30daf5482c8b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093720Z:e9a5ae45-07bc-494b-b048-30daf5482c8b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1cb4f718-1b2d-448b-8cc2-7d850dcdc090", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:37:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0b339b8c-bea8-44c9-9b5a-7732bafe41f6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093750Z:0b339b8c-bea8-44c9-9b5a-7732bafe41f6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f5195919-3a9b-4f36-8387-473656c47c9e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:38:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f999e449-613b-4067-83a4-e9d16d1db9eb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093821Z:f999e449-613b-4067-83a4-e9d16d1db9eb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7e35d930-cae2-4e77-b232-25b0f01d2212", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:38:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "83a15fb2-ab8e-45a0-9f1c-c35c6d5c9543", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093851Z:83a15fb2-ab8e-45a0-9f1c-c35c6d5c9543", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd13e9d2-a266-4645-b99a-0b4677beb3f1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:39:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "80321aec-c657-4934-a90b-95dca69a9895", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093922Z:80321aec-c657-4934-a90b-95dca69a9895", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b0b88b84-0621-4c6a-b74b-af0731ced935", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:39:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4592b1bf-d85d-49d9-ad72-7193e53b25a8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T093952Z:4592b1bf-d85d-49d9-ad72-7193e53b25a8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5b77b4d9-33b6-4bec-bb6d-e87ba70db9be", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:40:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dc2f6c67-e8f1-4e4e-908d-c5fe1d2d88cd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094023Z:dc2f6c67-e8f1-4e4e-908d-c5fe1d2d88cd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "900b452f-7d50-4cc0-88c1-dab92f298ec8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:40:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fdca2729-b085-49b2-9186-ff99e0a36203", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094053Z:fdca2729-b085-49b2-9186-ff99e0a36203", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d2d7e8b6-e790-4318-8d31-10b67c555ce6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:41:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "869f3c44-cafa-4bf4-becc-8e26dcb77416", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094124Z:869f3c44-cafa-4bf4-becc-8e26dcb77416", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4574434b-4bfc-4228-8225-5a9d9e1bbdbd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:41:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "db6a1c4a-2619-4678-8aa5-9f80c2551854", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094154Z:db6a1c4a-2619-4678-8aa5-9f80c2551854", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5ea9d003-00f1-480d-b348-6b089e210052", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:42:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d4e7b38f-d82f-46fa-b5bf-58437dfe22e8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094225Z:d4e7b38f-d82f-46fa-b5bf-58437dfe22e8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "542c392a-4d8f-4415-932c-fe4dfab2605b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:42:55 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2c6e5d62-80dc-4f66-8c9f-84799771082c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094255Z:2c6e5d62-80dc-4f66-8c9f-84799771082c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "56f34104-1643-4fe3-9560-604e5a38bd09", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:43:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4b178b1c-31a4-47a4-9e15-811f8f9617f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094326Z:4b178b1c-31a4-47a4-9e15-811f8f9617f1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ed37cd47-6f69-455a-9ead-401b1b098113", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:43:56 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "107e15e5-3229-4b67-b0a2-c5e9ac19154e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094356Z:107e15e5-3229-4b67-b0a2-c5e9ac19154e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bc25683d-e2bd-4754-ad38-ff6bbab1fc0b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:44:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d23312a5-95b0-4a54-b38a-314b7278705b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094427Z:d23312a5-95b0-4a54-b38a-314b7278705b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6cc1cafc-3349-4b32-adf3-fd1ce39a1884", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:44:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9ac052fc-573b-4b4d-a257-76316f9f52ce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094457Z:9ac052fc-573b-4b4d-a257-76316f9f52ce", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "210c2203-e8ac-440f-b5b0-0255c69b1133", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:45:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2aadcd95-540a-4ab2-a3da-d9ebb7a0914e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094528Z:2aadcd95-540a-4ab2-a3da-d9ebb7a0914e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9b309126-27b9-4281-a405-4b2b92a560bf", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:45:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5fe8e324-a880-4f5e-9530-ce16bf60f6f8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094558Z:5fe8e324-a880-4f5e-9530-ce16bf60f6f8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "42b71334-58e0-4942-8ff9-ae1dea04fbcd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:46:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f10eb19a-8428-4476-8219-fe74ce66b50b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094629Z:f10eb19a-8428-4476-8219-fe74ce66b50b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1985f45b-7eda-4c2f-b7c0-2b6c404f8550", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:46:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d95bcbf7-db28-426b-a837-57adf1c4db1a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094700Z:d95bcbf7-db28-426b-a837-57adf1c4db1a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "751b271b-75ba-4e4c-a1af-b7cb230ca4d0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:47:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "28155376-f6d2-449f-975e-50bee3d55e77", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094730Z:28155376-f6d2-449f-975e-50bee3d55e77", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9610dbe4-e0fd-428b-b110-fe798ce3667e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:00 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e02072d5-584a-4424-bf03-0937f15ccb8d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094800Z:e02072d5-584a-4424-bf03-0937f15ccb8d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c1cffedd-3795-425c-b26b-fca61a25b265", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:01 GMT", + "content-length" : "1519", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "80b3b7ce-aa2b-48ae-bd02-e664709bc5d1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094801Z:80b3b7ce-aa2b-48ae-bd02-e664709bc5d1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "638757d6-5745-4ea8-874c-21bf6cf9a26c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-27274423e632/providers/Microsoft.HDInsight/clusters/hdisdk-adlgen218d14421d5cfc9\",\"name\":\"hdisdk-adlgen218d14421d5cfc9\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"62b656d6-a00a-425a-b1de-1cdde2af5e5c\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T09:27:08.56\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-adlgen218d14421d5cfc9-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-adlgen218d14421d5cfc9.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-27274423e632?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 09:48:02 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cfa8220b-ad88-4d78-a142-d2e8560507cd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T094803Z:cfa8220b-ad88-4d78-a142-d2e8560507cd", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMjcyNzQ0MjNFNjMyLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "cfa8220b-ad88-4d78-a142-d2e8560507cd", + "Body" : "" + } + } ], + "variables" : [ "hdijava-27274423e632", "hdijavabd772944c17c", "hdijavaadlsv2d4f91958d", "hdisdk-adlgen218d14421d5cfc9" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithAdditionalStorageAccount.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithAdditionalStorageAccount.json index 9e41b410c3124..2c8bd1c84a457 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithAdditionalStorageAccount.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithAdditionalStorageAccount.json @@ -1,1461 +1,1461 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-4c249363c96a?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:00 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e2e1bd46-440b-4fe9-9eb4-70cccd3ecec3", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T124400Z:e2e1bd46-440b-4fe9-9eb4-70cccd3ecec3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e2e1bd46-440b-4fe9-9eb4-70cccd3ecec3", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-4c249363c96a?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:01 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fb7bd4c1-0802-4adc-9cdf-facb6b47ff3f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124402Z:fb7bd4c1-0802-4adc-9cdf-facb6b47ff3f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fb7bd4c1-0802-4adc-9cdf-facb6b47ff3f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a\",\"name\":\"hdijava-4c249363c96a\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:03 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ac047e8d-aff0-417d-8ad4-a3bfdb3c6778", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124403Z:ac047e8d-aff0-417d-8ad4-a3bfdb3c6778", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "759982ba-3fef-449a-9b77-13d8dc4d0b55", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:03 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fdcfd33a-6e91-42b3-94a0-30fa37a46eac", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124403Z:fdcfd33a-6e91-42b3-94a0-30fa37a46eac", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "b4c52991-2b76-44aa-a638-1f6691e6f5e1", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:20 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1a3fe42c-052c-4af7-8a4e-c307394e945f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124420Z:1a3fe42c-052c-4af7-8a4e-c307394e945f", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "495a6d02-6a19-44a1-ab9d-27e1af3c6051", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499\",\"name\":\"hdijava315542448499\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:03.0387652Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava315542448499.blob.core.windows.net/\",\"queue\":\"https://hdijava315542448499.queue.core.windows.net/\",\"table\":\"https://hdijava315542448499.table.core.windows.net/\",\"file\":\"https://hdijava315542448499.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:20 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "836ca562-a78b-4b36-8048-befb1b494525", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124420Z:836ca562-a78b-4b36-8048-befb1b494525", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "294fc9bc-f983-4de3-8674-cfbccc7e722b", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499\",\"name\":\"hdijava315542448499\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:03.0387652Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava315542448499.blob.core.windows.net/\",\"queue\":\"https://hdijava315542448499.queue.core.windows.net/\",\"table\":\"https://hdijava315542448499.table.core.windows.net/\",\"file\":\"https://hdijava315542448499.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:21 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f42fa6c7-7c4a-4fbf-94c2-22b8e32a6bbc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124421Z:f42fa6c7-7c4a-4fbf-94c2-22b8e32a6bbc", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "14dc896e-b633-4757-8105-9bc16a9bf617", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:21 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "28ad4ca8-e952-4095-b6fd-e670c4c9adeb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124421Z:28ad4ca8-e952-4095-b6fd-e670c4c9adeb", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "69df1edd-94f7-4b9e-aa21-2d1c1bf1ddef", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:38 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1092", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "42940f9c-24fc-4047-bff2-c153b282ae21", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:42940f9c-24fc-4047-bff2-c153b282ae21", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "44ea38a7-1c81-4b65-8f76-9b4dcc7c3c43", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893\",\"name\":\"hdijava239c893621893\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:21.5450064Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava239c893621893.blob.core.windows.net/\",\"queue\":\"https://hdijava239c893621893.queue.core.windows.net/\",\"table\":\"https://hdijava239c893621893.table.core.windows.net/\",\"file\":\"https://hdijava239c893621893.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:38 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1092", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4dfed67d-15ff-4ee8-ab0f-e9891d42b372", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:4dfed67d-15ff-4ee8-ab0f-e9891d42b372", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "929a19ea-aa32-498d-af28-a6089aadca73", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893\",\"name\":\"hdijava239c893621893\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:21.5450064Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava239c893621893.blob.core.windows.net/\",\"queue\":\"https://hdijava239c893621893.queue.core.windows.net/\",\"table\":\"https://hdijava239c893621893.table.core.windows.net/\",\"file\":\"https://hdijava239c893621893.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:38 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fb17c794-ea2b-451a-b2d8-4ee3ea54b26f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:fb17c794-ea2b-451a-b2d8-4ee3ea54b26f", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "82dc9ea9-fe03-47f1-a64b-7ea89d558349", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"XXCifEYoCHvI68mwW8I36NpU3qIWcW1xLNd53fnOf5QiPYX6r+JcTsX2mtmlOmKvCJO/Tp6ZpijwfLsmeD+yiQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"ZCdCmnG4OphBEnkoRCxQcpHmyHcbh4SHfK+tvHJy0Nb99IRUEQq31VPrdKiM6OKp+PFDBKo3tucL3SAH893/zA==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:38 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "da09abcc-3a6d-423f-afdf-aec43fe6eeee", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:da09abcc-3a6d-423f-afdf-aec43fe6eeee", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "498ea85b-4abb-405b-8834-d32e434e2f69", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"FoafO5OlzS9wdJ4mO2ME3MWKE6jp5hxAC4v6+1rfyPKB92QxcH2YgJl8vMWgWBtu6BTVii8SYCeImQ0wPrrfFg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"ArXPL9sp+6Ojq+3ifOuzDO3qT1MgDIwrg0cJ6utTC9+hEqZyWm5H5FFmFcd+tEx6W7YQ5kcinFOkm6je1WoMig==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:58 GMT", - "content-length" : "1273", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d5009424-0631-46e0-a1d3-9deb9f4b3e1d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124458Z:d5009424-0631-46e0-a1d3-9deb9f4b3e1d", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"4d80572c-33b6-40e8-91eb-90377fe78ee9\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe?api-version=2018-06-01-preview", - "x-ms-request-id" : "23dd6e6c-976c-4de7-8b6a-0ba295243024", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe\",\"name\":\"hdisdk-additional54676124723fe\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"4d80572c-33b6-40e8-91eb-90377fe78ee9\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T12:44:57.83\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:44:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8de25a70-e6ad-47bf-a876-bebdab6a1f1f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124459Z:8de25a70-e6ad-47bf-a876-bebdab6a1f1f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "555cdbe1-e670-4715-bb89-159574498622", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:45:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e961f774-57a0-42cb-ab98-5c3d1335ec8c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124529Z:e961f774-57a0-42cb-ab98-5c3d1335ec8c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "798be5fe-b412-4170-8567-664789fac889", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:45:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ac77cb04-202c-4c79-a99a-c8032d550592", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124600Z:ac77cb04-202c-4c79-a99a-c8032d550592", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d529d090-9858-4342-9dc3-fa47641a1d3b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:46:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cf468586-d14c-4f05-b280-73841de6ec47", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124630Z:cf468586-d14c-4f05-b280-73841de6ec47", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "289b03aa-7dfa-42a7-857e-eda11b1b1484", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:47:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "48f31c61-a2fa-4754-a438-da4efabe7794", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124701Z:48f31c61-a2fa-4754-a438-da4efabe7794", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9625e2ec-bfb3-4d03-9eeb-71de96a7be97", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:47:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0280e04c-0fc3-4a1a-a112-624fc422b33b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124731Z:0280e04c-0fc3-4a1a-a112-624fc422b33b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0a00d333-b6ad-4da2-9a7d-777667f2df18", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:48:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7f71bb0a-3974-47e8-80a6-77b2055c1633", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124802Z:7f71bb0a-3974-47e8-80a6-77b2055c1633", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b509bb9a-01e8-4de0-8149-07b5e40b013b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:48:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "edc163b4-ca3b-4f41-a082-ada172793cd3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124832Z:edc163b4-ca3b-4f41-a082-ada172793cd3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c774a8f0-978c-454f-9d87-dba56c13b715", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:49:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a6cf2ccd-1cdb-484f-89ce-65bf6a3e5e8e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124903Z:a6cf2ccd-1cdb-484f-89ce-65bf6a3e5e8e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e4b35b38-f176-433a-b835-bb20ace4a36b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:49:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5a91dbfb-1374-4963-ab56-d9920ff2487f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T124933Z:5a91dbfb-1374-4963-ab56-d9920ff2487f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "833ba850-ab82-4fce-8b4d-6c74b9629261", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:50:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9d2dc98c-42d9-4074-a419-55e4608d9e6a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125004Z:9d2dc98c-42d9-4074-a419-55e4608d9e6a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a43b10b4-46a8-4e2f-b743-dd1ce2ad38fd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:50:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "36d2d8a2-62b0-439d-bda8-4c9cd7f968f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125034Z:36d2d8a2-62b0-439d-bda8-4c9cd7f968f1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "26767db3-9035-47a2-911f-a31bc1747e87", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:51:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5f4723a2-2dec-4446-aa54-9a833be5d97f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125105Z:5f4723a2-2dec-4446-aa54-9a833be5d97f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "30535c77-a951-4a21-83aa-3458962ad7b8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:51:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e428c240-4072-44ad-92c8-57ddd9a90b04", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125135Z:e428c240-4072-44ad-92c8-57ddd9a90b04", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "cc193172-6ff8-4af0-b4c7-3dbc0f9ddc60", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:52:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e276a478-e198-4de2-9ffc-b0f7d15e0c96", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125206Z:e276a478-e198-4de2-9ffc-b0f7d15e0c96", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "567ec2cf-0d7d-4589-a2f5-eb81448ef160", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:52:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6d2ae190-3dbc-45e6-bf38-79d94b86e5d8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125236Z:6d2ae190-3dbc-45e6-bf38-79d94b86e5d8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "86f35e98-637e-4f49-aaeb-13ba52fe5acc", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:53:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ad97f466-a99e-47b0-ba9b-63e3eeb49aad", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125307Z:ad97f466-a99e-47b0-ba9b-63e3eeb49aad", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d87eed5a-8609-46a5-8168-aa61e603cfe9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:53:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f6d9d9af-b9c9-4775-85d6-13ed93e0af68", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125337Z:f6d9d9af-b9c9-4775-85d6-13ed93e0af68", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8c1ef7ba-f4df-437e-a666-c20196314dba", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:54:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9027d0aa-268c-44fa-85c5-9d03deac2438", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125408Z:9027d0aa-268c-44fa-85c5-9d03deac2438", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "df4f4a07-6d76-439f-ac36-c79485b46f4b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:54:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "14698b5f-f4c2-41b0-916e-f0d3cf2705ba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125438Z:14698b5f-f4c2-41b0-916e-f0d3cf2705ba", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "49a6773b-f365-4c7c-887b-c92c7a65b8e1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:55:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "73909e05-46a1-4b73-b253-4c2b06829499", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125509Z:73909e05-46a1-4b73-b253-4c2b06829499", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6a0f4160-c23e-4a9f-ae21-ff0fa85042d5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:55:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4d0a5068-5cde-45ac-8964-cec854c3c945", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125539Z:4d0a5068-5cde-45ac-8964-cec854c3c945", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a6d9d4d2-1b31-40b5-a08c-24134aaf3ec2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:56:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "41a18a8a-b2e8-4814-99e2-3f7acafff8cf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125610Z:41a18a8a-b2e8-4814-99e2-3f7acafff8cf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e18affe3-594a-42b0-a103-e1ec36feb26a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:56:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ad32b215-ae1e-4e73-a9af-86cff8c8063e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125640Z:ad32b215-ae1e-4e73-a9af-86cff8c8063e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fb284b73-4a72-464c-81e0-d516c89caa80", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:57:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d8738f8b-df92-46d0-912b-67a75851d524", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125711Z:d8738f8b-df92-46d0-912b-67a75851d524", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d494c5a2-5dd5-41ae-a462-529e31c38de7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:57:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3aa4f42d-bef7-4375-a780-f5f102dd370e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125741Z:3aa4f42d-bef7-4375-a780-f5f102dd370e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "16e269b7-5144-44b4-879f-555d0c9dbf42", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:58:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2b558e09-83c5-493f-a5d9-809478d2ca10", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125812Z:2b558e09-83c5-493f-a5d9-809478d2ca10", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fc247d9b-ee88-404d-a4f9-9f347e4b138c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:58:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f77de078-f161-4702-a3da-92beda553de6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125842Z:f77de078-f161-4702-a3da-92beda553de6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2d526d2b-dd13-4466-b4d6-b10b407f8a22", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:59:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2c242b99-9f85-4907-8d00-08c99daeb17c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125913Z:2c242b99-9f85-4907-8d00-08c99daeb17c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "26d37d83-5eb9-48e8-8d73-ca347905c08c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:59:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "87bb5fee-ce0d-4da7-85aa-010a8ed858d0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T125943Z:87bb5fee-ce0d-4da7-85aa-010a8ed858d0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3072bc89-8f5a-4c88-82c2-cf1ddd614712", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:00:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "44ecfc0e-2b77-4657-ab54-851bc761c919", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130013Z:44ecfc0e-2b77-4657-ab54-851bc761c919", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9ad6f5c5-3f85-4f92-9071-3fb04e850291", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:00:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dc6574f7-3d5d-4c61-8033-ca0b7785b223", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130044Z:dc6574f7-3d5d-4c61-8033-ca0b7785b223", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8280e299-50f6-4ecf-9bc2-1857008ed04b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:01:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c292c7a4-9f38-4827-a4f7-ce78b7cc1317", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130115Z:c292c7a4-9f38-4827-a4f7-ce78b7cc1317", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "582b0324-68ff-4430-8e45-336cb7cdcd65", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:01:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b9d499fa-fd10-4efc-bec3-1434a90bb3f0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130145Z:b9d499fa-fd10-4efc-bec3-1434a90bb3f0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1888df32-26ec-487c-963f-12a9e819b498", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:02:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3c357ee6-41fb-491c-aa99-e346f94bc9b5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130216Z:3c357ee6-41fb-491c-aa99-e346f94bc9b5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c4a7b328-e787-49c3-9531-569ca8bc008c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:02:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ceb6f7a3-ea4f-421a-af3d-f9f97386968e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130246Z:ceb6f7a3-ea4f-421a-af3d-f9f97386968e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "157ba7ea-2415-41f4-af0c-383df4dea0bd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:03:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d4f21aef-a7d3-4001-9d57-557758ebbf83", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130317Z:d4f21aef-a7d3-4001-9d57-557758ebbf83", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dd7ca4c9-3b21-4a4e-9053-e3f1f9bdcbad", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:03:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8759e145-2a5e-4b9d-983c-f97f7127f48d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130347Z:8759e145-2a5e-4b9d-983c-f97f7127f48d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8a5cd25d-e9b6-455c-9e1b-9b452b77cd24", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:04:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fd3b8021-c78c-4087-82e3-60c0646dc8e7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130418Z:fd3b8021-c78c-4087-82e3-60c0646dc8e7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "891676f0-13af-4ac4-8e05-73ec5507a9bc", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:04:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8e58b1fb-5307-4f26-8b74-8ebd83154b6c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130448Z:8e58b1fb-5307-4f26-8b74-8ebd83154b6c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "13b1ca48-beb5-4fba-9e8e-3624498d8d02", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:19 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c4634e2f-841d-4678-ae51-5f78d52b44ee", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130519Z:c4634e2f-841d-4678-ae51-5f78d52b44ee", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6c1580cd-fef1-4632-b9ee-e9e41fc9ad1d", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:19 GMT", - "content-length" : "1527", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7099955a-4268-4b7e-8d11-3af170219e51", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130520Z:7099955a-4268-4b7e-8d11-3af170219e51", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "02bd7224-744f-461e-8335-978a56363b84", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe\",\"name\":\"hdisdk-additional54676124723fe\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"4d80572c-33b6-40e8-91eb-90377fe78ee9\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T12:44:57.83\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-additional54676124723fe-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-additional54676124723fe.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-4c249363c96a?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:21 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "63221ffc-5a7f-4de3-81c7-ea0319d03228", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130521Z:63221ffc-5a7f-4de3-81c7-ea0319d03228", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJENEMyNDkzNjNDOTZBLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "63221ffc-5a7f-4de3-81c7-ea0319d03228", - "Body" : "" - } - } ], - "variables" : [ "hdijava-4c249363c96a", "hdijava315542448499", "hdijava239c893621893", "hdisdk-additional54676124723fe" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-4c249363c96a?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:00 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e2e1bd46-440b-4fe9-9eb4-70cccd3ecec3", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T124400Z:e2e1bd46-440b-4fe9-9eb4-70cccd3ecec3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e2e1bd46-440b-4fe9-9eb4-70cccd3ecec3", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-4c249363c96a?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:01 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fb7bd4c1-0802-4adc-9cdf-facb6b47ff3f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124402Z:fb7bd4c1-0802-4adc-9cdf-facb6b47ff3f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fb7bd4c1-0802-4adc-9cdf-facb6b47ff3f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a\",\"name\":\"hdijava-4c249363c96a\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:03 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ac047e8d-aff0-417d-8ad4-a3bfdb3c6778", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124403Z:ac047e8d-aff0-417d-8ad4-a3bfdb3c6778", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "759982ba-3fef-449a-9b77-13d8dc4d0b55", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:03 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fdcfd33a-6e91-42b3-94a0-30fa37a46eac", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124403Z:fdcfd33a-6e91-42b3-94a0-30fa37a46eac", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "b4c52991-2b76-44aa-a638-1f6691e6f5e1", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/759982ba-3fef-449a-9b77-13d8dc4d0b55?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:20 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1a3fe42c-052c-4af7-8a4e-c307394e945f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124420Z:1a3fe42c-052c-4af7-8a4e-c307394e945f", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "495a6d02-6a19-44a1-ab9d-27e1af3c6051", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499\",\"name\":\"hdijava315542448499\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:03.0387652Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava315542448499.blob.core.windows.net/\",\"queue\":\"https://hdijava315542448499.queue.core.windows.net/\",\"table\":\"https://hdijava315542448499.table.core.windows.net/\",\"file\":\"https://hdijava315542448499.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:20 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "836ca562-a78b-4b36-8048-befb1b494525", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124420Z:836ca562-a78b-4b36-8048-befb1b494525", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "294fc9bc-f983-4de3-8674-cfbccc7e722b", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499\",\"name\":\"hdijava315542448499\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:03.1793954Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:03.0387652Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava315542448499.blob.core.windows.net/\",\"queue\":\"https://hdijava315542448499.queue.core.windows.net/\",\"table\":\"https://hdijava315542448499.table.core.windows.net/\",\"file\":\"https://hdijava315542448499.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:21 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f42fa6c7-7c4a-4fbf-94c2-22b8e32a6bbc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124421Z:f42fa6c7-7c4a-4fbf-94c2-22b8e32a6bbc", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "14dc896e-b633-4757-8105-9bc16a9bf617", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:21 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "28ad4ca8-e952-4095-b6fd-e670c4c9adeb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124421Z:28ad4ca8-e952-4095-b6fd-e670c4c9adeb", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "69df1edd-94f7-4b9e-aa21-2d1c1bf1ddef", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/14dc896e-b633-4757-8105-9bc16a9bf617?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:38 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1092", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "42940f9c-24fc-4047-bff2-c153b282ae21", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:42940f9c-24fc-4047-bff2-c153b282ae21", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "44ea38a7-1c81-4b65-8f76-9b4dcc7c3c43", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893\",\"name\":\"hdijava239c893621893\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:21.5450064Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava239c893621893.blob.core.windows.net/\",\"queue\":\"https://hdijava239c893621893.queue.core.windows.net/\",\"table\":\"https://hdijava239c893621893.table.core.windows.net/\",\"file\":\"https://hdijava239c893621893.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:38 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1092", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4dfed67d-15ff-4ee8-ab0f-e9891d42b372", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:4dfed67d-15ff-4ee8-ab0f-e9891d42b372", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "929a19ea-aa32-498d-af28-a6089aadca73", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893\",\"name\":\"hdijava239c893621893\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T12:44:21.6856400Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T12:44:21.5450064Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava239c893621893.blob.core.windows.net/\",\"queue\":\"https://hdijava239c893621893.queue.core.windows.net/\",\"table\":\"https://hdijava239c893621893.table.core.windows.net/\",\"file\":\"https://hdijava239c893621893.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava315542448499/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:38 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fb17c794-ea2b-451a-b2d8-4ee3ea54b26f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:fb17c794-ea2b-451a-b2d8-4ee3ea54b26f", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "82dc9ea9-fe03-47f1-a64b-7ea89d558349", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"XXCifEYoCHvI68mwW8I36NpU3qIWcW1xLNd53fnOf5QiPYX6r+JcTsX2mtmlOmKvCJO/Tp6ZpijwfLsmeD+yiQ==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"ZCdCmnG4OphBEnkoRCxQcpHmyHcbh4SHfK+tvHJy0Nb99IRUEQq31VPrdKiM6OKp+PFDBKo3tucL3SAH893/zA==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.Storage/storageAccounts/hdijava239c893621893/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:38 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "da09abcc-3a6d-423f-afdf-aec43fe6eeee", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124439Z:da09abcc-3a6d-423f-afdf-aec43fe6eeee", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "498ea85b-4abb-405b-8834-d32e434e2f69", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"FoafO5OlzS9wdJ4mO2ME3MWKE6jp5hxAC4v6+1rfyPKB92QxcH2YgJl8vMWgWBtu6BTVii8SYCeImQ0wPrrfFg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"ArXPL9sp+6Ojq+3ifOuzDO3qT1MgDIwrg0cJ6utTC9+hEqZyWm5H5FFmFcd+tEx6W7YQ5kcinFOkm6je1WoMig==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:58 GMT", + "content-length" : "1273", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d5009424-0631-46e0-a1d3-9deb9f4b3e1d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124458Z:d5009424-0631-46e0-a1d3-9deb9f4b3e1d", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"4d80572c-33b6-40e8-91eb-90377fe78ee9\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe?api-version=2018-06-01-preview", + "x-ms-request-id" : "23dd6e6c-976c-4de7-8b6a-0ba295243024", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe\",\"name\":\"hdisdk-additional54676124723fe\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"4d80572c-33b6-40e8-91eb-90377fe78ee9\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T12:44:57.83\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:44:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8de25a70-e6ad-47bf-a876-bebdab6a1f1f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124459Z:8de25a70-e6ad-47bf-a876-bebdab6a1f1f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "555cdbe1-e670-4715-bb89-159574498622", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:45:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e961f774-57a0-42cb-ab98-5c3d1335ec8c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124529Z:e961f774-57a0-42cb-ab98-5c3d1335ec8c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "798be5fe-b412-4170-8567-664789fac889", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:45:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ac77cb04-202c-4c79-a99a-c8032d550592", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124600Z:ac77cb04-202c-4c79-a99a-c8032d550592", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d529d090-9858-4342-9dc3-fa47641a1d3b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:46:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cf468586-d14c-4f05-b280-73841de6ec47", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124630Z:cf468586-d14c-4f05-b280-73841de6ec47", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "289b03aa-7dfa-42a7-857e-eda11b1b1484", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:47:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "48f31c61-a2fa-4754-a438-da4efabe7794", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124701Z:48f31c61-a2fa-4754-a438-da4efabe7794", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9625e2ec-bfb3-4d03-9eeb-71de96a7be97", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:47:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0280e04c-0fc3-4a1a-a112-624fc422b33b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124731Z:0280e04c-0fc3-4a1a-a112-624fc422b33b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0a00d333-b6ad-4da2-9a7d-777667f2df18", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:48:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7f71bb0a-3974-47e8-80a6-77b2055c1633", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124802Z:7f71bb0a-3974-47e8-80a6-77b2055c1633", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b509bb9a-01e8-4de0-8149-07b5e40b013b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:48:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "edc163b4-ca3b-4f41-a082-ada172793cd3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124832Z:edc163b4-ca3b-4f41-a082-ada172793cd3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c774a8f0-978c-454f-9d87-dba56c13b715", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:49:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a6cf2ccd-1cdb-484f-89ce-65bf6a3e5e8e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124903Z:a6cf2ccd-1cdb-484f-89ce-65bf6a3e5e8e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e4b35b38-f176-433a-b835-bb20ace4a36b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:49:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5a91dbfb-1374-4963-ab56-d9920ff2487f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T124933Z:5a91dbfb-1374-4963-ab56-d9920ff2487f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "833ba850-ab82-4fce-8b4d-6c74b9629261", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:50:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9d2dc98c-42d9-4074-a419-55e4608d9e6a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125004Z:9d2dc98c-42d9-4074-a419-55e4608d9e6a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a43b10b4-46a8-4e2f-b743-dd1ce2ad38fd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:50:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "36d2d8a2-62b0-439d-bda8-4c9cd7f968f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125034Z:36d2d8a2-62b0-439d-bda8-4c9cd7f968f1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "26767db3-9035-47a2-911f-a31bc1747e87", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:51:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5f4723a2-2dec-4446-aa54-9a833be5d97f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125105Z:5f4723a2-2dec-4446-aa54-9a833be5d97f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "30535c77-a951-4a21-83aa-3458962ad7b8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:51:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e428c240-4072-44ad-92c8-57ddd9a90b04", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125135Z:e428c240-4072-44ad-92c8-57ddd9a90b04", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cc193172-6ff8-4af0-b4c7-3dbc0f9ddc60", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:52:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e276a478-e198-4de2-9ffc-b0f7d15e0c96", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125206Z:e276a478-e198-4de2-9ffc-b0f7d15e0c96", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "567ec2cf-0d7d-4589-a2f5-eb81448ef160", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:52:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6d2ae190-3dbc-45e6-bf38-79d94b86e5d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125236Z:6d2ae190-3dbc-45e6-bf38-79d94b86e5d8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "86f35e98-637e-4f49-aaeb-13ba52fe5acc", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:53:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad97f466-a99e-47b0-ba9b-63e3eeb49aad", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125307Z:ad97f466-a99e-47b0-ba9b-63e3eeb49aad", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d87eed5a-8609-46a5-8168-aa61e603cfe9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:53:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f6d9d9af-b9c9-4775-85d6-13ed93e0af68", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125337Z:f6d9d9af-b9c9-4775-85d6-13ed93e0af68", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8c1ef7ba-f4df-437e-a666-c20196314dba", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:54:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9027d0aa-268c-44fa-85c5-9d03deac2438", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125408Z:9027d0aa-268c-44fa-85c5-9d03deac2438", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "df4f4a07-6d76-439f-ac36-c79485b46f4b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:54:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "14698b5f-f4c2-41b0-916e-f0d3cf2705ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125438Z:14698b5f-f4c2-41b0-916e-f0d3cf2705ba", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "49a6773b-f365-4c7c-887b-c92c7a65b8e1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:55:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "73909e05-46a1-4b73-b253-4c2b06829499", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125509Z:73909e05-46a1-4b73-b253-4c2b06829499", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6a0f4160-c23e-4a9f-ae21-ff0fa85042d5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:55:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4d0a5068-5cde-45ac-8964-cec854c3c945", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125539Z:4d0a5068-5cde-45ac-8964-cec854c3c945", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a6d9d4d2-1b31-40b5-a08c-24134aaf3ec2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:56:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "41a18a8a-b2e8-4814-99e2-3f7acafff8cf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125610Z:41a18a8a-b2e8-4814-99e2-3f7acafff8cf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e18affe3-594a-42b0-a103-e1ec36feb26a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:56:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad32b215-ae1e-4e73-a9af-86cff8c8063e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125640Z:ad32b215-ae1e-4e73-a9af-86cff8c8063e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fb284b73-4a72-464c-81e0-d516c89caa80", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:57:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d8738f8b-df92-46d0-912b-67a75851d524", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125711Z:d8738f8b-df92-46d0-912b-67a75851d524", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d494c5a2-5dd5-41ae-a462-529e31c38de7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:57:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3aa4f42d-bef7-4375-a780-f5f102dd370e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125741Z:3aa4f42d-bef7-4375-a780-f5f102dd370e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "16e269b7-5144-44b4-879f-555d0c9dbf42", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:58:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2b558e09-83c5-493f-a5d9-809478d2ca10", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125812Z:2b558e09-83c5-493f-a5d9-809478d2ca10", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fc247d9b-ee88-404d-a4f9-9f347e4b138c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:58:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f77de078-f161-4702-a3da-92beda553de6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125842Z:f77de078-f161-4702-a3da-92beda553de6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2d526d2b-dd13-4466-b4d6-b10b407f8a22", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:59:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2c242b99-9f85-4907-8d00-08c99daeb17c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125913Z:2c242b99-9f85-4907-8d00-08c99daeb17c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "26d37d83-5eb9-48e8-8d73-ca347905c08c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:59:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "87bb5fee-ce0d-4da7-85aa-010a8ed858d0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T125943Z:87bb5fee-ce0d-4da7-85aa-010a8ed858d0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3072bc89-8f5a-4c88-82c2-cf1ddd614712", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:00:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "44ecfc0e-2b77-4657-ab54-851bc761c919", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130013Z:44ecfc0e-2b77-4657-ab54-851bc761c919", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9ad6f5c5-3f85-4f92-9071-3fb04e850291", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:00:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dc6574f7-3d5d-4c61-8033-ca0b7785b223", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130044Z:dc6574f7-3d5d-4c61-8033-ca0b7785b223", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8280e299-50f6-4ecf-9bc2-1857008ed04b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:01:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c292c7a4-9f38-4827-a4f7-ce78b7cc1317", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130115Z:c292c7a4-9f38-4827-a4f7-ce78b7cc1317", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "582b0324-68ff-4430-8e45-336cb7cdcd65", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:01:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b9d499fa-fd10-4efc-bec3-1434a90bb3f0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130145Z:b9d499fa-fd10-4efc-bec3-1434a90bb3f0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1888df32-26ec-487c-963f-12a9e819b498", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:02:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3c357ee6-41fb-491c-aa99-e346f94bc9b5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130216Z:3c357ee6-41fb-491c-aa99-e346f94bc9b5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c4a7b328-e787-49c3-9531-569ca8bc008c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:02:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ceb6f7a3-ea4f-421a-af3d-f9f97386968e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130246Z:ceb6f7a3-ea4f-421a-af3d-f9f97386968e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "157ba7ea-2415-41f4-af0c-383df4dea0bd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:03:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d4f21aef-a7d3-4001-9d57-557758ebbf83", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130317Z:d4f21aef-a7d3-4001-9d57-557758ebbf83", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dd7ca4c9-3b21-4a4e-9053-e3f1f9bdcbad", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:03:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8759e145-2a5e-4b9d-983c-f97f7127f48d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130347Z:8759e145-2a5e-4b9d-983c-f97f7127f48d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8a5cd25d-e9b6-455c-9e1b-9b452b77cd24", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:04:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fd3b8021-c78c-4087-82e3-60c0646dc8e7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130418Z:fd3b8021-c78c-4087-82e3-60c0646dc8e7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "891676f0-13af-4ac4-8e05-73ec5507a9bc", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:04:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8e58b1fb-5307-4f26-8b74-8ebd83154b6c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130448Z:8e58b1fb-5307-4f26-8b74-8ebd83154b6c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "13b1ca48-beb5-4fba-9e8e-3624498d8d02", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:19 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c4634e2f-841d-4678-ae51-5f78d52b44ee", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130519Z:c4634e2f-841d-4678-ae51-5f78d52b44ee", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6c1580cd-fef1-4632-b9ee-e9e41fc9ad1d", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:19 GMT", + "content-length" : "1527", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7099955a-4268-4b7e-8d11-3af170219e51", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130520Z:7099955a-4268-4b7e-8d11-3af170219e51", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "02bd7224-744f-461e-8335-978a56363b84", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-4c249363c96a/providers/Microsoft.HDInsight/clusters/hdisdk-additional54676124723fe\",\"name\":\"hdisdk-additional54676124723fe\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"4d80572c-33b6-40e8-91eb-90377fe78ee9\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T12:44:57.83\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-additional54676124723fe-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-additional54676124723fe.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-4c249363c96a?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:21 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "63221ffc-5a7f-4de3-81c7-ea0319d03228", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130521Z:63221ffc-5a7f-4de3-81c7-ea0319d03228", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJENEMyNDkzNjNDOTZBLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "63221ffc-5a7f-4de3-81c7-ea0319d03228", + "Body" : "" + } + } ], + "variables" : [ "hdijava-4c249363c96a", "hdijava315542448499", "hdijava239c893621893", "hdisdk-additional54676124723fe" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithEmptyExtendedParameters.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithEmptyExtendedParameters.json index c93f3593021c4..d4cc826c7f18d 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithEmptyExtendedParameters.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testCreateWithEmptyExtendedParameters.json @@ -1,205 +1,205 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-82066083fd19?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:21 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9efc8871-0f14-44ec-9417-b819a2dc01cf", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T130522Z:9efc8871-0f14-44ec-9417-b819a2dc01cf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9efc8871-0f14-44ec-9417-b819a2dc01cf", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-82066083fd19?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:23 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8682128d-d151-42fe-b66d-0a3d5d5b660e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130523Z:8682128d-d151-42fe-b66d-0a3d5d5b660e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8682128d-d151-42fe-b66d-0a3d5d5b660e", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19\",\"name\":\"hdijava-82066083fd19\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:24 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7bd0c02d-20f5-4d47-9c9b-c9875c714412", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130525Z:7bd0c02d-20f5-4d47-9c9b-c9875c714412", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "9627065b-e586-4134-b04d-3c3c11fa61df", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:24 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "32c5f6c3-8f2c-4c84-b414-858fc2566492", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130525Z:32c5f6c3-8f2c-4c84-b414-858fc2566492", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "0a0e3497-11e2-46ee-b0b4-29d7ccbddac5", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:42 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f621b095-030d-4fa3-a320-58d1ea660db6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130542Z:f621b095-030d-4fa3-a320-58d1ea660db6", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "72a17310-107a-4ef4-9388-552860e2abf7", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87\",\"name\":\"hdijavaf8437194de87\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:24.6459270Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaf8437194de87.blob.core.windows.net/\",\"queue\":\"https://hdijavaf8437194de87.queue.core.windows.net/\",\"table\":\"https://hdijavaf8437194de87.table.core.windows.net/\",\"file\":\"https://hdijavaf8437194de87.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:42 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "34953344-e03a-4247-b678-c2d03f393745", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130542Z:34953344-e03a-4247-b678-c2d03f393745", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "fa11ffce-39cc-4ace-a229-985a93662e82", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87\",\"name\":\"hdijavaf8437194de87\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:24.6459270Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaf8437194de87.blob.core.windows.net/\",\"queue\":\"https://hdijavaf8437194de87.queue.core.windows.net/\",\"table\":\"https://hdijavaf8437194de87.table.core.windows.net/\",\"file\":\"https://hdijavaf8437194de87.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.HDInsight/clusters/hdisdk-cluster54a34285759142?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:42 GMT", - "content-length" : "104", - "expires" : "-1", - "retry-after" : "0", - "StatusCode" : "400", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "37a1b319-be78-4e17-bac7-4983b1fdeecc", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T130542Z:37a1b319-be78-4e17-bac7-4983b1fdeecc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "37a1b319-be78-4e17-bac7-4983b1fdeecc", - "Body" : "{\"error\":{\"code\":\"LocationRequired\",\"message\":\"The location property is required for this definition.\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-82066083fd19?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:05:43 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "61e006c0-ce06-4c03-8534-2b1e2fbf8f63", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T130543Z:61e006c0-ce06-4c03-8534-2b1e2fbf8f63", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEODIwNjYwODNGRDE5LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "61e006c0-ce06-4c03-8534-2b1e2fbf8f63", - "Body" : "" - } - } ], - "variables" : [ "hdijava-82066083fd19", "hdijavaf8437194de87", "hdisdk-cluster54a34285759142" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-82066083fd19?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:21 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9efc8871-0f14-44ec-9417-b819a2dc01cf", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T130522Z:9efc8871-0f14-44ec-9417-b819a2dc01cf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9efc8871-0f14-44ec-9417-b819a2dc01cf", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-82066083fd19?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:23 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8682128d-d151-42fe-b66d-0a3d5d5b660e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130523Z:8682128d-d151-42fe-b66d-0a3d5d5b660e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8682128d-d151-42fe-b66d-0a3d5d5b660e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19\",\"name\":\"hdijava-82066083fd19\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:24 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7bd0c02d-20f5-4d47-9c9b-c9875c714412", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130525Z:7bd0c02d-20f5-4d47-9c9b-c9875c714412", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "9627065b-e586-4134-b04d-3c3c11fa61df", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:24 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "32c5f6c3-8f2c-4c84-b414-858fc2566492", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130525Z:32c5f6c3-8f2c-4c84-b414-858fc2566492", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "0a0e3497-11e2-46ee-b0b4-29d7ccbddac5", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/9627065b-e586-4134-b04d-3c3c11fa61df?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:42 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f621b095-030d-4fa3-a320-58d1ea660db6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130542Z:f621b095-030d-4fa3-a320-58d1ea660db6", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "72a17310-107a-4ef4-9388-552860e2abf7", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87\",\"name\":\"hdijavaf8437194de87\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:24.6459270Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaf8437194de87.blob.core.windows.net/\",\"queue\":\"https://hdijavaf8437194de87.queue.core.windows.net/\",\"table\":\"https://hdijavaf8437194de87.table.core.windows.net/\",\"file\":\"https://hdijavaf8437194de87.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:42 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "34953344-e03a-4247-b678-c2d03f393745", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130542Z:34953344-e03a-4247-b678-c2d03f393745", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "fa11ffce-39cc-4ace-a229-985a93662e82", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.Storage/storageAccounts/hdijavaf8437194de87\",\"name\":\"hdijavaf8437194de87\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:05:24.7865639Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:05:24.6459270Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaf8437194de87.blob.core.windows.net/\",\"queue\":\"https://hdijavaf8437194de87.queue.core.windows.net/\",\"table\":\"https://hdijavaf8437194de87.table.core.windows.net/\",\"file\":\"https://hdijavaf8437194de87.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-82066083fd19/providers/Microsoft.HDInsight/clusters/hdisdk-cluster54a34285759142?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:42 GMT", + "content-length" : "104", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "400", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "37a1b319-be78-4e17-bac7-4983b1fdeecc", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T130542Z:37a1b319-be78-4e17-bac7-4983b1fdeecc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "37a1b319-be78-4e17-bac7-4983b1fdeecc", + "Body" : "{\"error\":{\"code\":\"LocationRequired\",\"message\":\"The location property is required for this definition.\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-82066083fd19?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:05:43 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "61e006c0-ce06-4c03-8534-2b1e2fbf8f63", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T130543Z:61e006c0-ce06-4c03-8534-2b1e2fbf8f63", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEODIwNjYwODNGRDE5LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "61e006c0-ce06-4c03-8534-2b1e2fbf8f63", + "Body" : "" + } + } ], + "variables" : [ "hdijava-82066083fd19", "hdijavaf8437194de87", "hdisdk-cluster54a34285759142" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetConfigurations.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetConfigurations.json index 93bd9b1371599..19279d2d5da50 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetConfigurations.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetConfigurations.json @@ -1,1465 +1,1465 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-347614195f49?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:08 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "55b20695-8d1e-4c77-b5ca-3bd95430c5c2", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T140909Z:55b20695-8d1e-4c77-b5ca-3bd95430c5c2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "55b20695-8d1e-4c77-b5ca-3bd95430c5c2", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-347614195f49?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:10 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5efc33ed-c9f5-4cc1-8b90-76c1893095aa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140911Z:5efc33ed-c9f5-4cc1-8b90-76c1893095aa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5efc33ed-c9f5-4cc1-8b90-76c1893095aa", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49\",\"name\":\"hdijava-347614195f49\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:11 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a451fdb3-12c0-4847-a6d0-00a08d745185", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140912Z:a451fdb3-12c0-4847-a6d0-00a08d745185", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:11 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0c8ed5c-03e9-4b95-bf48-8ceb8e871c62", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140912Z:e0c8ed5c-03e9-4b95-bf48-8ceb8e871c62", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "a296db95-cbc3-4abf-9f54-8e9bf9bb1160", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:29 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d64c4a2a-0dea-4987-af21-5af61b444fd2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140929Z:d64c4a2a-0dea-4987-af21-5af61b444fd2", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "fc692336-ee98-48e2-a446-3f652646f31c", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a\",\"name\":\"hdijava05548733090a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:09:12.1357712Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava05548733090a.blob.core.windows.net/\",\"queue\":\"https://hdijava05548733090a.queue.core.windows.net/\",\"table\":\"https://hdijava05548733090a.table.core.windows.net/\",\"file\":\"https://hdijava05548733090a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:29 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8b3bd976-0290-44b0-af85-33690f396a15", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140930Z:8b3bd976-0290-44b0-af85-33690f396a15", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "f8d9f55d-7049-4736-be9b-e8dc45c411d7", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a\",\"name\":\"hdijava05548733090a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:09:12.1357712Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava05548733090a.blob.core.windows.net/\",\"queue\":\"https://hdijava05548733090a.queue.core.windows.net/\",\"table\":\"https://hdijava05548733090a.table.core.windows.net/\",\"file\":\"https://hdijava05548733090a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:29 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5a4c41c3-0733-4589-a38b-70b5b1b6c79a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140930Z:5a4c41c3-0733-4589-a38b-70b5b1b6c79a", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "32920312-b877-45c4-8d2b-b8acbc3f3fc0", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"FOPSCczp3EAPniDpEG0JfSH1YFmkvHFj4fc4MIhI+ac6gE273fVvt1m34CIXFokSschOgXTCpjI4kiCaEUmZYw==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"qDtDbKD+HLot0Xh0e1z2TYl8Y0yLKWKSWTLa4nO9L29oQnikX/2tlPvfrOX2VUg+H6IKVYYFSbkivqV1Th8xTQ==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:49 GMT", - "content-length" : "1269", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a05bb3b2-be50-4df6-a10c-1a6a09f83169", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140950Z:a05bb3b2-be50-4df6-a10c-1a6a09f83169", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"3fa51c03-983f-43e9-a550-0109028bcfc1\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec?api-version=2018-06-01-preview", - "x-ms-request-id" : "d552a006-21cc-440d-a28e-00fbf47cb450", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec\",\"name\":\"hdisdk-configscf1656410a35ec\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3fa51c03-983f-43e9-a550-0109028bcfc1\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T14:09:49.51\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5fbebb45-b10a-42e1-8e2d-42d1b34d32f5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140950Z:5fbebb45-b10a-42e1-8e2d-42d1b34d32f5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d6e2dbc8-d809-4bff-b2dd-d4c0105ddf93", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:10:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "87a982d8-8f30-4f9f-9d33-85db27d9f3b4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141021Z:87a982d8-8f30-4f9f-9d33-85db27d9f3b4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "23f56f73-fb6a-424e-b6af-ded48cd03d2f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:10:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "671617ee-0f3a-47f7-9e23-394b01f9ed7b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141051Z:671617ee-0f3a-47f7-9e23-394b01f9ed7b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8c48886-f135-4ce0-a1a1-9bcae8ff1c4b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:11:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8d995a03-d32b-41ff-bc96-17a760a20147", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141122Z:8d995a03-d32b-41ff-bc96-17a760a20147", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "113b0ffd-6c25-4e08-a3a8-9a5d5340bb86", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:11:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4fbd6a61-d946-444b-af48-1b11db53253e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141153Z:4fbd6a61-d946-444b-af48-1b11db53253e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "37552551-1b40-4b89-ace7-71200bb91be9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:12:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fe671ff9-83f5-4ecb-b529-c18caa10e06b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141223Z:fe671ff9-83f5-4ecb-b529-c18caa10e06b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a74731ef-08fc-452a-9470-2affc42b17de", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:12:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8d9cfb00-0955-4683-96dd-b6c0edfc2092", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141253Z:8d9cfb00-0955-4683-96dd-b6c0edfc2092", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b2b5e0ee-d82a-4f0e-ba5e-26e5cdedfde6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:13:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b02c7523-c659-4e75-b04f-bf03d239eeac", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141324Z:b02c7523-c659-4e75-b04f-bf03d239eeac", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "539dc122-ee3f-4bd1-a390-faf68662f343", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:13:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "97a0a133-928f-4bff-ae70-c1c2fcf73788", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141354Z:97a0a133-928f-4bff-ae70-c1c2fcf73788", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a9f99abe-6588-484b-b41e-80ccc6ed10cb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:14:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2a98720d-390e-47f5-94a8-f699bb198434", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141425Z:2a98720d-390e-47f5-94a8-f699bb198434", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b16b8c81-e3c3-4515-a20f-e9f0416c511b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:14:55 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "29c45416-5d1f-4b94-994e-59cf1e9042c4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141455Z:29c45416-5d1f-4b94-994e-59cf1e9042c4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fadb8bce-57f9-46d5-8379-ca842728dcb9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:15:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5b7fccba-aa7b-4238-bfd1-285f00f8618e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141526Z:5b7fccba-aa7b-4238-bfd1-285f00f8618e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "947d2977-dc4f-4d8f-8b9b-6788127d0d91", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:15:56 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0d8f533a-499c-4d40-b01b-37a07cd1b21d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141557Z:0d8f533a-499c-4d40-b01b-37a07cd1b21d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e1c95f46-5702-4b66-9458-804713bfb890", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:16:26 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "42f69909-842d-4d7c-8d17-1da8e60e2c95", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141627Z:42f69909-842d-4d7c-8d17-1da8e60e2c95", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "689af00c-f57f-45f9-8bfa-a20ed4735384", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:16:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1bbda859-ad30-402e-bc76-adb1a972c701", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141658Z:1bbda859-ad30-402e-bc76-adb1a972c701", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b313ce5d-37f1-4c68-b852-99d99049195b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:17:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cd53a5e8-f09d-4260-aa93-8cd2d46a5b4d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141728Z:cd53a5e8-f09d-4260-aa93-8cd2d46a5b4d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "65766e45-3195-4d32-97c1-9d1a55f2b7ab", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:17:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5308ab31-e639-4109-97f6-b9e05762c854", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141759Z:5308ab31-e639-4109-97f6-b9e05762c854", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "431f0483-af00-44ba-9921-cf0f778a6a05", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:18:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b97b3657-12c1-4577-9c90-9ff280d8cd69", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141830Z:b97b3657-12c1-4577-9c90-9ff280d8cd69", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bdc5dc95-5dbd-464a-be33-2fd2d244a0bf", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:19:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5c0d100e-2539-431b-bd04-f92e4ca58ff9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141900Z:5c0d100e-2539-431b-bd04-f92e4ca58ff9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e07d2452-ccde-4d0a-aae7-56aa1ec3b0a4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:19:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a753e602-8c2f-4d77-ba0d-21c493d9b99c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T141931Z:a753e602-8c2f-4d77-ba0d-21c493d9b99c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9d285146-3d49-403a-9b6f-04a1f6d6a354", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:20:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "085818e6-0dd9-4183-b7fc-6bc7e6787d74", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142001Z:085818e6-0dd9-4183-b7fc-6bc7e6787d74", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dda432c7-9a44-409b-b148-0d9085c4bbae", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:20:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d71c68e0-5bc4-4bf1-bda1-b26a6354b168", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142032Z:d71c68e0-5bc4-4bf1-bda1-b26a6354b168", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5cb56d38-be6c-4460-8d88-534c9bdff8c6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:21:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f544c8dd-0a18-4e86-a119-0729bc9ef1f2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142102Z:f544c8dd-0a18-4e86-a119-0729bc9ef1f2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6b0e844e-7f03-4aa3-85e3-ef88c04ab7d6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:21:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d6837d41-badd-4f0e-a6e1-8cb9ac2e303c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142133Z:d6837d41-badd-4f0e-a6e1-8cb9ac2e303c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "16ce984a-9ce2-4ffc-aa6e-29661b7d0bf7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:22:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "43642e07-71d3-48e0-becb-c6eecd1d2314", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142203Z:43642e07-71d3-48e0-becb-c6eecd1d2314", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d93fc50a-f8c9-488a-a50d-39cfb4d64400", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:22:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "99837f71-5a99-47f9-853d-be59e58e8811", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142234Z:99837f71-5a99-47f9-853d-be59e58e8811", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f91b5fc3-4370-45ed-86f8-aa0361a25c56", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:23:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "71bc6026-4e4d-4043-ba49-4bd7b55e7f9a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142304Z:71bc6026-4e4d-4043-ba49-4bd7b55e7f9a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4ea604e3-6df1-44ba-8019-486d445467b2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:23:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2395c1e2-55df-462a-a937-f69f048f63a6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142335Z:2395c1e2-55df-462a-a937-f69f048f63a6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6c47f59f-a5bd-4a49-a378-85b4fe880d7d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:24:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d4126fa5-3432-4b99-897b-63a68b4dcbd0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142405Z:d4126fa5-3432-4b99-897b-63a68b4dcbd0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b5d19b46-4a52-4fd3-a0f4-2db44aaeceae", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:24:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a21fff84-a68b-4a25-a555-771287bd279e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142435Z:a21fff84-a68b-4a25-a555-771287bd279e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f481dd59-e6e2-4d9e-8e4a-e52dd1b728ed", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:25:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d283bb0d-05f2-48f2-9d03-55780cc52ed9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142506Z:d283bb0d-05f2-48f2-9d03-55780cc52ed9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "603bf3c0-4a6f-421e-afdf-6313ad9a8622", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:25:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "10274ac6-978d-4bc4-a1d2-7f00bd8f77c5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142537Z:10274ac6-978d-4bc4-a1d2-7f00bd8f77c5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b3aef89f-5c84-4e9f-93d4-58ffcc01d4e3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:26:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "eb32ab10-abee-44ed-9e63-4a0fa3c17a1d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142607Z:eb32ab10-abee-44ed-9e63-4a0fa3c17a1d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9c879733-aa0b-45c7-ba40-033a18ea9742", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:26:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "31f52ef1-6046-4213-82da-6f2513f888f6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142638Z:31f52ef1-6046-4213-82da-6f2513f888f6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "69907693-2420-47d3-882e-ccd86945f86e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:27:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "58b2567a-3b79-41f5-81f4-8b6aaa8f4afc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142709Z:58b2567a-3b79-41f5-81f4-8b6aaa8f4afc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f20fb897-eccd-4001-8a21-2f5b52426e1a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:27:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5fb65789-5a82-4fe9-8184-2923f92891f6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142739Z:5fb65789-5a82-4fe9-8184-2923f92891f6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "16ce6e10-d927-4625-a018-3935f3e1d3d1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:28:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "00d742b1-8d5b-4f9c-bbf0-893c65a8046b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142809Z:00d742b1-8d5b-4f9c-bbf0-893c65a8046b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c38b6f34-3ae2-487f-8eeb-d993c2b5a1a7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:28:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e8548fa9-86df-412c-b248-bd638648b2bf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142840Z:e8548fa9-86df-412c-b248-bd638648b2bf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f806271d-28e0-4f86-a449-5f47fc6f0198", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:29:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d7b7f7f1-f024-4980-84f1-b856d8da58f2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142910Z:d7b7f7f1-f024-4980-84f1-b856d8da58f2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e79f1665-bca2-4189-bcf0-8e0ad7f250f8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:29:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2bf6c947-7185-4c0e-8a70-f6fe6c4c3a7d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T142941Z:2bf6c947-7185-4c0e-8a70-f6fe6c4c3a7d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1c3bc20c-040c-424d-af2a-439a8f9224e9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:12 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bba31471-b19f-422a-85d0-c78c3258b687", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143012Z:bba31471-b19f-422a-85d0-c78c3258b687", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "23b3ef5f-896b-4115-bd78-79cc7cc62720", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:12 GMT", - "content-length" : "1519", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e70c0aea-88bb-44b0-b24d-226711720ae8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143012Z:e70c0aea-88bb-44b0-b24d-226711720ae8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8f7f69e-39a9-4cc2-91c0-482d6e80a9b1", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec\",\"name\":\"hdisdk-configscf1656410a35ec\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3fa51c03-983f-43e9-a550-0109028bcfc1\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T14:09:49.51\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-configscf1656410a35ec-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-configscf1656410a35ec.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/hive-site?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:12 GMT", - "content-length" : "33", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cb05fda8-4de3-43ce-be2b-2f30f6cace9f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143013Z:cb05fda8-4de3-43ce-be2b-2f30f6cace9f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dd34ae9d-90f3-4479-a683-00dd2065c97c", - "Body" : "{\"key1\":\"value1\",\"key2\":\"value2\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/mapred-site?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:13 GMT", - "content-length" : "33", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c83863c0-8cd3-419a-b4cf-3c714911ac67", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143013Z:c83863c0-8cd3-419a-b4cf-3c714911ac67", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "28940ada-8366-4e23-bbde-f2bf7a83c1fc", - "Body" : "{\"key5\":\"value5\",\"key6\":\"value6\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/yarn-site?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:13 GMT", - "content-length" : "33", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2c00d0a4-b304-44d7-b544-4b204a5fe181", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143014Z:2c00d0a4-b304-44d7-b544-4b204a5fe181", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "89250496-1c13-4338-bc1b-4e7211301946", - "Body" : "{\"key7\":\"value7\",\"key8\":\"value8\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/gateway?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:14 GMT", - "content-length" : "120", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "37dddf6a-8f9c-4cdb-a56a-42a149e045f9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143014Z:37dddf6a-8f9c-4cdb-a56a-42a149e045f9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5fb689bb-915c-4737-ac63-16e404b6d9d3", - "Body" : "{\"restAuthCredential.isEnabled\":\"true\",\"restAuthCredential.username\":\"admin\",\"restAuthCredential.password\":\"Password1!\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/core-site?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:14 GMT", - "content-length" : "252", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "72b6060a-8b4e-4d6d-a785-8b4429529a2b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143015Z:72b6060a-8b4e-4d6d-a785-8b4429529a2b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f2c32b0f-171b-41fc-80cf-b8c3f45bfa06", - "Body" : "{\"fs.defaultFS\":\"wasb://hdisdk-configscf1656410a35ec@hdijava05548733090a.blob.core.windows.net\",\"fs.azure.account.key.hdijava05548733090a.blob.core.windows.net\":\"FOPSCczp3EAPniDpEG0JfSH1YFmkvHFj4fc4MIhI+ac6gE273fVvt1m34CIXFokSschOgXTCpjI4kiCaEUmZYw==\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-347614195f49?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:16 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3be5451f-f6f7-4586-a672-b02a359fc4d7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143016Z:3be5451f-f6f7-4586-a672-b02a359fc4d7", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMzQ3NjE0MTk1RjQ5LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "3be5451f-f6f7-4586-a672-b02a359fc4d7", - "Body" : "" - } - } ], - "variables" : [ "hdijava-347614195f49", "hdijava05548733090a", "hdisdk-configscf1656410a35ec" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-347614195f49?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:08 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "55b20695-8d1e-4c77-b5ca-3bd95430c5c2", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T140909Z:55b20695-8d1e-4c77-b5ca-3bd95430c5c2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "55b20695-8d1e-4c77-b5ca-3bd95430c5c2", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-347614195f49?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:10 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5efc33ed-c9f5-4cc1-8b90-76c1893095aa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140911Z:5efc33ed-c9f5-4cc1-8b90-76c1893095aa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5efc33ed-c9f5-4cc1-8b90-76c1893095aa", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49\",\"name\":\"hdijava-347614195f49\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:11 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a451fdb3-12c0-4847-a6d0-00a08d745185", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140912Z:a451fdb3-12c0-4847-a6d0-00a08d745185", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:11 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0c8ed5c-03e9-4b95-bf48-8ceb8e871c62", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140912Z:e0c8ed5c-03e9-4b95-bf48-8ceb8e871c62", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "a296db95-cbc3-4abf-9f54-8e9bf9bb1160", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6c7e6b31-8e2f-4a20-9cf7-2e5fbe44fa58?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:29 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d64c4a2a-0dea-4987-af21-5af61b444fd2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140929Z:d64c4a2a-0dea-4987-af21-5af61b444fd2", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "fc692336-ee98-48e2-a446-3f652646f31c", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a\",\"name\":\"hdijava05548733090a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:09:12.1357712Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava05548733090a.blob.core.windows.net/\",\"queue\":\"https://hdijava05548733090a.queue.core.windows.net/\",\"table\":\"https://hdijava05548733090a.table.core.windows.net/\",\"file\":\"https://hdijava05548733090a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:29 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8b3bd976-0290-44b0-af85-33690f396a15", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140930Z:8b3bd976-0290-44b0-af85-33690f396a15", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "f8d9f55d-7049-4736-be9b-e8dc45c411d7", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a\",\"name\":\"hdijava05548733090a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:09:12.3232791Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:09:12.1357712Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava05548733090a.blob.core.windows.net/\",\"queue\":\"https://hdijava05548733090a.queue.core.windows.net/\",\"table\":\"https://hdijava05548733090a.table.core.windows.net/\",\"file\":\"https://hdijava05548733090a.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.Storage/storageAccounts/hdijava05548733090a/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:29 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5a4c41c3-0733-4589-a38b-70b5b1b6c79a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140930Z:5a4c41c3-0733-4589-a38b-70b5b1b6c79a", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "32920312-b877-45c4-8d2b-b8acbc3f3fc0", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"FOPSCczp3EAPniDpEG0JfSH1YFmkvHFj4fc4MIhI+ac6gE273fVvt1m34CIXFokSschOgXTCpjI4kiCaEUmZYw==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"qDtDbKD+HLot0Xh0e1z2TYl8Y0yLKWKSWTLa4nO9L29oQnikX/2tlPvfrOX2VUg+H6IKVYYFSbkivqV1Th8xTQ==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:49 GMT", + "content-length" : "1269", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a05bb3b2-be50-4df6-a10c-1a6a09f83169", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140950Z:a05bb3b2-be50-4df6-a10c-1a6a09f83169", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"3fa51c03-983f-43e9-a550-0109028bcfc1\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec?api-version=2018-06-01-preview", + "x-ms-request-id" : "d552a006-21cc-440d-a28e-00fbf47cb450", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec\",\"name\":\"hdisdk-configscf1656410a35ec\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3fa51c03-983f-43e9-a550-0109028bcfc1\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T14:09:49.51\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5fbebb45-b10a-42e1-8e2d-42d1b34d32f5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140950Z:5fbebb45-b10a-42e1-8e2d-42d1b34d32f5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d6e2dbc8-d809-4bff-b2dd-d4c0105ddf93", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:10:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "87a982d8-8f30-4f9f-9d33-85db27d9f3b4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141021Z:87a982d8-8f30-4f9f-9d33-85db27d9f3b4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "23f56f73-fb6a-424e-b6af-ded48cd03d2f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:10:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "671617ee-0f3a-47f7-9e23-394b01f9ed7b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141051Z:671617ee-0f3a-47f7-9e23-394b01f9ed7b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8c48886-f135-4ce0-a1a1-9bcae8ff1c4b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:11:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8d995a03-d32b-41ff-bc96-17a760a20147", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141122Z:8d995a03-d32b-41ff-bc96-17a760a20147", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "113b0ffd-6c25-4e08-a3a8-9a5d5340bb86", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:11:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4fbd6a61-d946-444b-af48-1b11db53253e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141153Z:4fbd6a61-d946-444b-af48-1b11db53253e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "37552551-1b40-4b89-ace7-71200bb91be9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:12:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fe671ff9-83f5-4ecb-b529-c18caa10e06b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141223Z:fe671ff9-83f5-4ecb-b529-c18caa10e06b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a74731ef-08fc-452a-9470-2affc42b17de", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:12:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8d9cfb00-0955-4683-96dd-b6c0edfc2092", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141253Z:8d9cfb00-0955-4683-96dd-b6c0edfc2092", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b2b5e0ee-d82a-4f0e-ba5e-26e5cdedfde6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:13:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b02c7523-c659-4e75-b04f-bf03d239eeac", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141324Z:b02c7523-c659-4e75-b04f-bf03d239eeac", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "539dc122-ee3f-4bd1-a390-faf68662f343", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:13:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "97a0a133-928f-4bff-ae70-c1c2fcf73788", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141354Z:97a0a133-928f-4bff-ae70-c1c2fcf73788", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a9f99abe-6588-484b-b41e-80ccc6ed10cb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:14:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2a98720d-390e-47f5-94a8-f699bb198434", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141425Z:2a98720d-390e-47f5-94a8-f699bb198434", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b16b8c81-e3c3-4515-a20f-e9f0416c511b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:14:55 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "29c45416-5d1f-4b94-994e-59cf1e9042c4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141455Z:29c45416-5d1f-4b94-994e-59cf1e9042c4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fadb8bce-57f9-46d5-8379-ca842728dcb9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:15:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5b7fccba-aa7b-4238-bfd1-285f00f8618e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141526Z:5b7fccba-aa7b-4238-bfd1-285f00f8618e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "947d2977-dc4f-4d8f-8b9b-6788127d0d91", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:15:56 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0d8f533a-499c-4d40-b01b-37a07cd1b21d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141557Z:0d8f533a-499c-4d40-b01b-37a07cd1b21d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e1c95f46-5702-4b66-9458-804713bfb890", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:16:26 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "42f69909-842d-4d7c-8d17-1da8e60e2c95", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141627Z:42f69909-842d-4d7c-8d17-1da8e60e2c95", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "689af00c-f57f-45f9-8bfa-a20ed4735384", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:16:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1bbda859-ad30-402e-bc76-adb1a972c701", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141658Z:1bbda859-ad30-402e-bc76-adb1a972c701", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b313ce5d-37f1-4c68-b852-99d99049195b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:17:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cd53a5e8-f09d-4260-aa93-8cd2d46a5b4d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141728Z:cd53a5e8-f09d-4260-aa93-8cd2d46a5b4d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "65766e45-3195-4d32-97c1-9d1a55f2b7ab", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:17:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5308ab31-e639-4109-97f6-b9e05762c854", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141759Z:5308ab31-e639-4109-97f6-b9e05762c854", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "431f0483-af00-44ba-9921-cf0f778a6a05", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:18:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b97b3657-12c1-4577-9c90-9ff280d8cd69", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141830Z:b97b3657-12c1-4577-9c90-9ff280d8cd69", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bdc5dc95-5dbd-464a-be33-2fd2d244a0bf", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:19:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5c0d100e-2539-431b-bd04-f92e4ca58ff9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141900Z:5c0d100e-2539-431b-bd04-f92e4ca58ff9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e07d2452-ccde-4d0a-aae7-56aa1ec3b0a4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:19:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a753e602-8c2f-4d77-ba0d-21c493d9b99c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T141931Z:a753e602-8c2f-4d77-ba0d-21c493d9b99c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9d285146-3d49-403a-9b6f-04a1f6d6a354", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:20:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "085818e6-0dd9-4183-b7fc-6bc7e6787d74", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142001Z:085818e6-0dd9-4183-b7fc-6bc7e6787d74", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dda432c7-9a44-409b-b148-0d9085c4bbae", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:20:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d71c68e0-5bc4-4bf1-bda1-b26a6354b168", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142032Z:d71c68e0-5bc4-4bf1-bda1-b26a6354b168", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5cb56d38-be6c-4460-8d88-534c9bdff8c6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:21:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f544c8dd-0a18-4e86-a119-0729bc9ef1f2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142102Z:f544c8dd-0a18-4e86-a119-0729bc9ef1f2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6b0e844e-7f03-4aa3-85e3-ef88c04ab7d6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:21:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d6837d41-badd-4f0e-a6e1-8cb9ac2e303c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142133Z:d6837d41-badd-4f0e-a6e1-8cb9ac2e303c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "16ce984a-9ce2-4ffc-aa6e-29661b7d0bf7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:22:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "43642e07-71d3-48e0-becb-c6eecd1d2314", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142203Z:43642e07-71d3-48e0-becb-c6eecd1d2314", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d93fc50a-f8c9-488a-a50d-39cfb4d64400", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:22:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "99837f71-5a99-47f9-853d-be59e58e8811", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142234Z:99837f71-5a99-47f9-853d-be59e58e8811", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f91b5fc3-4370-45ed-86f8-aa0361a25c56", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:23:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "71bc6026-4e4d-4043-ba49-4bd7b55e7f9a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142304Z:71bc6026-4e4d-4043-ba49-4bd7b55e7f9a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4ea604e3-6df1-44ba-8019-486d445467b2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:23:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2395c1e2-55df-462a-a937-f69f048f63a6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142335Z:2395c1e2-55df-462a-a937-f69f048f63a6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6c47f59f-a5bd-4a49-a378-85b4fe880d7d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:24:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d4126fa5-3432-4b99-897b-63a68b4dcbd0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142405Z:d4126fa5-3432-4b99-897b-63a68b4dcbd0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b5d19b46-4a52-4fd3-a0f4-2db44aaeceae", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:24:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a21fff84-a68b-4a25-a555-771287bd279e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142435Z:a21fff84-a68b-4a25-a555-771287bd279e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f481dd59-e6e2-4d9e-8e4a-e52dd1b728ed", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:25:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d283bb0d-05f2-48f2-9d03-55780cc52ed9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142506Z:d283bb0d-05f2-48f2-9d03-55780cc52ed9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "603bf3c0-4a6f-421e-afdf-6313ad9a8622", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:25:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "10274ac6-978d-4bc4-a1d2-7f00bd8f77c5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142537Z:10274ac6-978d-4bc4-a1d2-7f00bd8f77c5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b3aef89f-5c84-4e9f-93d4-58ffcc01d4e3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:26:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "eb32ab10-abee-44ed-9e63-4a0fa3c17a1d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142607Z:eb32ab10-abee-44ed-9e63-4a0fa3c17a1d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9c879733-aa0b-45c7-ba40-033a18ea9742", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:26:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "31f52ef1-6046-4213-82da-6f2513f888f6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142638Z:31f52ef1-6046-4213-82da-6f2513f888f6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "69907693-2420-47d3-882e-ccd86945f86e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:27:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "58b2567a-3b79-41f5-81f4-8b6aaa8f4afc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142709Z:58b2567a-3b79-41f5-81f4-8b6aaa8f4afc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f20fb897-eccd-4001-8a21-2f5b52426e1a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:27:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5fb65789-5a82-4fe9-8184-2923f92891f6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142739Z:5fb65789-5a82-4fe9-8184-2923f92891f6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "16ce6e10-d927-4625-a018-3935f3e1d3d1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:28:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "00d742b1-8d5b-4f9c-bbf0-893c65a8046b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142809Z:00d742b1-8d5b-4f9c-bbf0-893c65a8046b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c38b6f34-3ae2-487f-8eeb-d993c2b5a1a7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:28:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e8548fa9-86df-412c-b248-bd638648b2bf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142840Z:e8548fa9-86df-412c-b248-bd638648b2bf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f806271d-28e0-4f86-a449-5f47fc6f0198", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:29:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d7b7f7f1-f024-4980-84f1-b856d8da58f2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142910Z:d7b7f7f1-f024-4980-84f1-b856d8da58f2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e79f1665-bca2-4189-bcf0-8e0ad7f250f8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:29:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2bf6c947-7185-4c0e-8a70-f6fe6c4c3a7d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T142941Z:2bf6c947-7185-4c0e-8a70-f6fe6c4c3a7d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1c3bc20c-040c-424d-af2a-439a8f9224e9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:12 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bba31471-b19f-422a-85d0-c78c3258b687", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143012Z:bba31471-b19f-422a-85d0-c78c3258b687", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "23b3ef5f-896b-4115-bd78-79cc7cc62720", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:12 GMT", + "content-length" : "1519", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e70c0aea-88bb-44b0-b24d-226711720ae8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143012Z:e70c0aea-88bb-44b0-b24d-226711720ae8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8f7f69e-39a9-4cc2-91c0-482d6e80a9b1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec\",\"name\":\"hdisdk-configscf1656410a35ec\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"3fa51c03-983f-43e9-a550-0109028bcfc1\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T14:09:49.51\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-configscf1656410a35ec-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-configscf1656410a35ec.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/hive-site?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:12 GMT", + "content-length" : "33", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cb05fda8-4de3-43ce-be2b-2f30f6cace9f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143013Z:cb05fda8-4de3-43ce-be2b-2f30f6cace9f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dd34ae9d-90f3-4479-a683-00dd2065c97c", + "Body" : "{\"key1\":\"value1\",\"key2\":\"value2\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/mapred-site?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:13 GMT", + "content-length" : "33", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c83863c0-8cd3-419a-b4cf-3c714911ac67", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143013Z:c83863c0-8cd3-419a-b4cf-3c714911ac67", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "28940ada-8366-4e23-bbde-f2bf7a83c1fc", + "Body" : "{\"key5\":\"value5\",\"key6\":\"value6\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/yarn-site?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:13 GMT", + "content-length" : "33", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2c00d0a4-b304-44d7-b544-4b204a5fe181", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143014Z:2c00d0a4-b304-44d7-b544-4b204a5fe181", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "89250496-1c13-4338-bc1b-4e7211301946", + "Body" : "{\"key7\":\"value7\",\"key8\":\"value8\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/gateway?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:14 GMT", + "content-length" : "120", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "37dddf6a-8f9c-4cdb-a56a-42a149e045f9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143014Z:37dddf6a-8f9c-4cdb-a56a-42a149e045f9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5fb689bb-915c-4737-ac63-16e404b6d9d3", + "Body" : "{\"restAuthCredential.isEnabled\":\"true\",\"restAuthCredential.username\":\"admin\",\"restAuthCredential.password\":\"Password1!\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-347614195f49/providers/Microsoft.HDInsight/clusters/hdisdk-configscf1656410a35ec/configurations/core-site?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:14 GMT", + "content-length" : "252", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "72b6060a-8b4e-4d6d-a785-8b4429529a2b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143015Z:72b6060a-8b4e-4d6d-a785-8b4429529a2b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f2c32b0f-171b-41fc-80cf-b8c3f45bfa06", + "Body" : "{\"fs.defaultFS\":\"wasb://hdisdk-configscf1656410a35ec@hdijava05548733090a.blob.core.windows.net\",\"fs.azure.account.key.hdijava05548733090a.blob.core.windows.net\":\"FOPSCczp3EAPniDpEG0JfSH1YFmkvHFj4fc4MIhI+ac6gE273fVvt1m34CIXFokSschOgXTCpjI4kiCaEUmZYw==\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-347614195f49?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:16 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3be5451f-f6f7-4586-a672-b02a359fc4d7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143016Z:3be5451f-f6f7-4586-a672-b02a359fc4d7", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMzQ3NjE0MTk1RjQ5LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "3be5451f-f6f7-4586-a672-b02a359fc4d7", + "Body" : "" + } + } ], + "variables" : [ "hdijava-347614195f49", "hdijava05548733090a", "hdisdk-configscf1656410a35ec" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetUsages.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetUsages.json index 51518d95644b2..addf1b93ed3a0 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetUsages.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testGetUsages.json @@ -1,31 +1,31 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/East%20US%202/usages?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 07 Jan 2019 07:57:27 GMT", - "content-length" : "110", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4388a2b7-bb6a-4fad-b017-40a7c83b842f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190107T075727Z:4388a2b7-bb6a-4fad-b017-40a7c83b842f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "acf5cd68-459f-48c9-9ec6-4e1ca16e0cac", - "Body" : "{\"value\":[{\"unit\":\"Count\",\"currentValue\":838,\"limit\":1000,\"name\":{\"value\":\"cores\",\"localizedValue\":\"Cores\"}}]}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HDInsight/locations/East%20US%202/usages?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 07 Jan 2019 07:57:27 GMT", + "content-length" : "110", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4388a2b7-bb6a-4fad-b017-40a7c83b842f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190107T075727Z:4388a2b7-bb6a-4fad-b017-40a7c83b842f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "acf5cd68-459f-48c9-9ec6-4e1ca16e0cac", + "Body" : "{\"value\":[{\"unit\":\"Count\",\"currentValue\":838,\"limit\":1000,\"name\":{\"value\":\"cores\",\"localizedValue\":\"Cores\"}}]}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHttpExtended.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHttpExtended.json index a38871e46739e..0235d0861fb9f 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHttpExtended.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHttpExtended.json @@ -1,1566 +1,1566 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-1bf059336a45?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:19 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7a020ef1-c7a8-4b34-bb2e-68b1fbcbb2a8", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T134520Z:7a020ef1-c7a8-4b34-bb2e-68b1fbcbb2a8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7a020ef1-c7a8-4b34-bb2e-68b1fbcbb2a8", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-1bf059336a45?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:20 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f0c5d082-ec71-45bc-b1d3-92d8e277c556", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134521Z:f0c5d082-ec71-45bc-b1d3-92d8e277c556", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f0c5d082-ec71-45bc-b1d3-92d8e277c556", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45\",\"name\":\"hdijava-1bf059336a45\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:22 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "50bf9402-ef81-4bd9-b2e5-90825484199b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134523Z:50bf9402-ef81-4bd9-b2e5-90825484199b", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "1408ad27-1804-4799-9944-e9b5f77446e7", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:22 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d6bb34f6-91a4-450c-886a-c9f52bfe91da", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134523Z:d6bb34f6-91a4-450c-886a-c9f52bfe91da", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "5de41c4e-f0bf-48ba-973e-87f3e13c99d5", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:40 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b3cbbb20-5ef2-4355-9d7d-2f7361a8b9e9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134540Z:b3cbbb20-5ef2-4355-9d7d-2f7361a8b9e9", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "f2220c6b-9418-41b1-a8b6-1b32fb26de1e", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33\",\"name\":\"hdijava6af56735ef33\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:45:22.9141854Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6af56735ef33.blob.core.windows.net/\",\"queue\":\"https://hdijava6af56735ef33.queue.core.windows.net/\",\"table\":\"https://hdijava6af56735ef33.table.core.windows.net/\",\"file\":\"https://hdijava6af56735ef33.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:40 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c7dfd069-bc51-4993-aacf-c03be725af00", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134540Z:c7dfd069-bc51-4993-aacf-c03be725af00", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "911d48c5-e364-47d2-a693-f7036f2b2950", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33\",\"name\":\"hdijava6af56735ef33\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:45:22.9141854Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6af56735ef33.blob.core.windows.net/\",\"queue\":\"https://hdijava6af56735ef33.queue.core.windows.net/\",\"table\":\"https://hdijava6af56735ef33.table.core.windows.net/\",\"file\":\"https://hdijava6af56735ef33.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:40 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "784828a0-97c8-4dde-a8e0-85b71b8722f3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134540Z:784828a0-97c8-4dde-a8e0-85b71b8722f3", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "c9f15520-4dc2-40ff-9fd6-afaf6e5d5bf5", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"hshlGNrLh+Kg3j4ZibLLAlwXfLotlPnkq6+3O6/UiARPmgT8W0zGyZHLBgwKB3e+wObbReJtvtRBjKaX+L4H1w==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"y5QjiEL3TjIUKfJW3LcGW5Zhbizx4A7zXYTWyXCUQIEZpzlm+A/Ssha2XJV/sQSVnpsG515gmLHT9J6YgZu2Kg==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:45:59 GMT", - "content-length" : "1236", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "46ff2bbd-e5e2-47e4-ad4d-af48f5ac642c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134600Z:46ff2bbd-e5e2-47e4-ad4d-af48f5ac642c", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"a0675065-bc3f-4e22-8fab-f2b402786f48\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http?api-version=2018-06-01-preview", - "x-ms-request-id" : "633fc1d0-9535-4dba-8466-9897eed0cdb6", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http\",\"name\":\"hdisdk-http\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"a0675065-bc3f-4e22-8fab-f2b402786f48\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T13:45:59.873\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:46:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e3879ec4-da3c-43bd-ba9c-0a5adbe2d84b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134601Z:e3879ec4-da3c-43bd-ba9c-0a5adbe2d84b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1a955264-b64a-4885-a5fc-d180a0e7e560", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:46:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9f4f8dc1-81fa-42a5-b8a1-2cf4304c299f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134631Z:9f4f8dc1-81fa-42a5-b8a1-2cf4304c299f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0afc44e6-6cc2-4f87-8148-72fe5c2d45a5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:47:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4abc3c8d-1493-4eba-8c6d-3120e4d8a12c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134702Z:4abc3c8d-1493-4eba-8c6d-3120e4d8a12c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "09bf4877-50a7-4ff4-a530-8c321be4f77e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:47:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e4a40665-2aba-480d-9d29-17be5bf45106", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134732Z:e4a40665-2aba-480d-9d29-17be5bf45106", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "94ecdad2-19ff-4206-b87f-a4d226b7d9d1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:48:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "32e57e6e-0ea5-496c-9870-b0da842b1cbc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134803Z:32e57e6e-0ea5-496c-9870-b0da842b1cbc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "60993464-2a3b-4343-a6b6-5ef2f4098efd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:48:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "788ace13-856c-4134-a4be-710e7315c640", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134833Z:788ace13-856c-4134-a4be-710e7315c640", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3811be18-871c-4945-b10c-f9788a1acdeb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:49:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6e2063a0-089e-4151-942b-656bfc7620dc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134904Z:6e2063a0-089e-4151-942b-656bfc7620dc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "98af847c-f663-4ee9-80f8-2fa48009feea", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:49:34 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7ff493f4-3065-4cf1-b659-a761da89a4a0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T134934Z:7ff493f4-3065-4cf1-b659-a761da89a4a0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c8f2f88f-a78b-454b-9ba8-6ff8e57c8898", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:50:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4d5b47db-c498-4088-9ee8-d7ece10a48c4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135005Z:4d5b47db-c498-4088-9ee8-d7ece10a48c4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "edcff132-3a09-4634-97d4-bd06c24c266d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:50:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "523162eb-dd7e-4c25-92b8-874ca9b6e09c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135035Z:523162eb-dd7e-4c25-92b8-874ca9b6e09c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8e551a1-57de-4dab-8cfe-153eb0058d4c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:51:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f8915782-03c5-4dfc-9d1b-287410fcc45e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135106Z:f8915782-03c5-4dfc-9d1b-287410fcc45e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5d6e9d6f-056e-4725-a303-2f71c1868037", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:51:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "68383929-ba95-46ba-b9b5-205d2d3d9a54", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135136Z:68383929-ba95-46ba-b9b5-205d2d3d9a54", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ed25d314-4aa4-4093-a3bf-07674eabe081", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:52:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b03e36e8-ad1b-4d60-8b62-7382aea97082", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135207Z:b03e36e8-ad1b-4d60-8b62-7382aea97082", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b136066a-c817-44b2-9a67-d6bcafc0f63c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:52:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "47b93eb7-db4f-4cd8-a1f2-49521353ca79", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135238Z:47b93eb7-db4f-4cd8-a1f2-49521353ca79", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6e0f7328-7a52-4eb0-8b9a-6943f01923a7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:53:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3d81b327-ce03-4b84-9fbe-9c3ecaa5e225", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135308Z:3d81b327-ce03-4b84-9fbe-9c3ecaa5e225", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "373de27d-35e6-4dd8-931c-895e167fd1ad", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:53:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "857ee0e9-186b-480f-aeb4-92bd3b8618f8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135339Z:857ee0e9-186b-480f-aeb4-92bd3b8618f8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "57bbc680-88cc-4b9b-b325-ce8b774e2298", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:54:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8d633a9f-6350-45b4-a07a-aaeee496b758", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135409Z:8d633a9f-6350-45b4-a07a-aaeee496b758", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d904255e-b4bd-4008-84c8-3eda51c9d306", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:54:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b2c4dff1-9f4f-4cdb-b907-ca70c68f0a50", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135440Z:b2c4dff1-9f4f-4cdb-b907-ca70c68f0a50", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2c14a76d-7570-4e49-98c2-fe4c9bc69a30", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:55:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "65a7bfe9-47b3-417c-a03f-cb0cdf2e2093", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135510Z:65a7bfe9-47b3-417c-a03f-cb0cdf2e2093", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d4575b7d-f101-47ca-a8f5-7cb1e14b63dc", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:55:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "adfe98d6-56b8-4d28-b1df-2508b3d7f6fd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135541Z:adfe98d6-56b8-4d28-b1df-2508b3d7f6fd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "698bd20c-18b4-435f-8085-e70ae63178f2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:56:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ffa722fc-0282-4365-8f1d-e94c0c24b744", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135611Z:ffa722fc-0282-4365-8f1d-e94c0c24b744", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c1afd438-379a-4caf-8455-c22333ecb0d6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:56:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c5fbf5d2-6c81-4cab-b616-4be300d402a4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135642Z:c5fbf5d2-6c81-4cab-b616-4be300d402a4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e41bf417-571a-48d5-862e-97dc561f4212", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:57:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8fd4dbe0-9e9b-4e83-b6b6-afa9df1b2c26", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135712Z:8fd4dbe0-9e9b-4e83-b6b6-afa9df1b2c26", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e7c6bccf-7ce7-4282-acfd-3adab9a92b3c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:57:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7c3ec1dc-28d6-4fab-aebc-c6ce6672ba39", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135743Z:7c3ec1dc-28d6-4fab-aebc-c6ce6672ba39", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c26e8ad5-449f-4380-b843-bbfd65471fd9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:58:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6f64f9ef-106b-44bd-b8d7-c83b87d4f8de", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135814Z:6f64f9ef-106b-44bd-b8d7-c83b87d4f8de", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "48bcbdf7-b3a1-439d-b6c2-62c9b2c74561", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:58:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "54137d30-7570-43a2-b117-55449971d5fa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135844Z:54137d30-7570-43a2-b117-55449971d5fa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "32da083d-bee9-4d8f-881d-9b1d1129e355", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:59:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b1503734-1995-4727-b35b-4209afd01625", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135915Z:b1503734-1995-4727-b35b-4209afd01625", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a33f8f6-5a6b-4f49-b3f3-0d28dd536547", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 13:59:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8b0e843a-0345-42b3-9657-39b0d841ba47", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T135945Z:8b0e843a-0345-42b3-9657-39b0d841ba47", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d7f78671-7a20-4734-99ac-fa7f9b511180", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:00:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2877d0ab-41f0-425c-836f-9bb19b245245", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140016Z:2877d0ab-41f0-425c-836f-9bb19b245245", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "17e29ce8-599a-4ccf-a922-f74666273236", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:00:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4962d5cd-5c03-4c63-b7a7-4e7cdfa555a8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140046Z:4962d5cd-5c03-4c63-b7a7-4e7cdfa555a8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c7215df6-6a4b-48d3-b474-80d798994177", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:01:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1f2d853d-16dc-43d6-af9a-036dcfef0cec", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140117Z:1f2d853d-16dc-43d6-af9a-036dcfef0cec", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1ebeb874-0c1d-4e0d-ba70-8fdde4eabaf2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:01:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c385cc5e-168c-4bd2-9cf1-4dc0f27039e2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140147Z:c385cc5e-168c-4bd2-9cf1-4dc0f27039e2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e2c42d15-7e37-4059-99a8-8134f01f92ec", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:02:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8c31600e-88c1-4883-8bb7-fbc66575552d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140218Z:8c31600e-88c1-4883-8bb7-fbc66575552d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ecf96868-9b19-4456-8392-b970802c33a1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:02:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1bbde06f-594d-4aa9-a0d7-6d65414c67d0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140248Z:1bbde06f-594d-4aa9-a0d7-6d65414c67d0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d25ad4c4-3433-4fc7-92cc-075ae8d180ad", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:03:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b74b0516-cb60-48b1-b127-118a11d592f4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140319Z:b74b0516-cb60-48b1-b127-118a11d592f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "83124af8-465e-4ea6-8d8a-6d36ed09c415", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:03:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ba932485-2c03-438a-951b-f160cdf1037a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140349Z:ba932485-2c03-438a-951b-f160cdf1037a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "49f3520c-aa89-4999-9e5a-e64964d646d7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:04:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1e288794-bb23-4d7d-9870-ea4732314973", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140420Z:1e288794-bb23-4d7d-9870-ea4732314973", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "61d7ae6f-b7f6-4baf-9e22-1511c79588b3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:04:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f2565669-f774-4712-b763-d39122b869c2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140500Z:f2565669-f774-4712-b763-d39122b869c2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c2187b6d-88fa-4365-9b3b-69e95c68165e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:05:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "afb3b806-4a6e-4e9a-8167-b56380df06ce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140532Z:afb3b806-4a6e-4e9a-8167-b56380df06ce", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b6257c01-e32b-4c1b-abeb-0d9717090def", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:06:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f9c8c247-29e5-4b8c-9d2f-c66e71c23449", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140603Z:f9c8c247-29e5-4b8c-9d2f-c66e71c23449", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ab864535-7ce0-462e-a7f9-60a54ededf59", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:06:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fe567b60-9574-4187-ac33-e6f5f0c9b85f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140633Z:fe567b60-9574-4187-ac33-e6f5f0c9b85f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c927c461-cfd7-4e65-95bf-dce41e5b5efa", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:07:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "442540c1-f9d4-4db0-82d3-3b914dffe8fa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140703Z:442540c1-f9d4-4db0-82d3-3b914dffe8fa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e7dd5cbe-a78b-4642-978b-7083e614c221", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:07:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "feb8e102-58ce-41b9-9127-c8fea47c2e36", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140734Z:feb8e102-58ce-41b9-9127-c8fea47c2e36", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "db4909ae-2882-41fb-b01a-9250124bdc3d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:08:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0d41c8e4-60bf-4b30-bb84-7cf8ded61cf1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140804Z:0d41c8e4-60bf-4b30-bb84-7cf8ded61cf1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "526df8ce-c14d-4b59-95ba-0cbc44276d2b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:08:34 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d7d5786d-8052-4750-8b00-3cd95602e0d5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140835Z:d7d5786d-8052-4750-8b00-3cd95602e0d5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "88ff0d29-c331-4819-a818-dea12091be7d", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:08:35 GMT", - "content-length" : "1452", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6a3ed6ae-f2e5-4ec1-af18-9ac9153a8278", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140836Z:6a3ed6ae-f2e5-4ec1-af18-9ac9153a8278", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b3658ca-8be7-4526-a4fd-79c2d078176d", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http\",\"name\":\"hdisdk-http\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"a0675065-bc3f-4e22-8fab-f2b402786f48\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T13:45:59.873\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-http-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-http.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/configurations/gateway?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:08:35 GMT", - "content-length" : "120", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4516e70f-554a-4fcb-aeef-1b02ad0d992c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140836Z:4516e70f-554a-4fcb-aeef-1b02ad0d992c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0f4e74ea-c557-44a2-8810-b3ee34937700", - "Body" : "{\"restAuthCredential.isEnabled\":\"true\",\"restAuthCredential.username\":\"admin\",\"restAuthCredential.password\":\"Password1!\"}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/configurations/gateway?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:08:36 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "53ab4a74-1fa5-45d3-9cd7-8ec36c397070", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140837Z:53ab4a74-1fa5-45d3-9cd7-8ec36c397070", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/operationresults/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "1da18a6a-273a-49cc-aa9c-3c4c04cf7216", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:08:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ec67e73b-3a9e-4cc1-adaa-a39fbbfc7ff1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140837Z:ec67e73b-3a9e-4cc1-adaa-a39fbbfc7ff1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b4973a0-a871-4a30-b4ce-0abc962c3569", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:07 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "510f92d5-5f37-4d4b-a017-6eea85ceb5b2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140907Z:510f92d5-5f37-4d4b-a017-6eea85ceb5b2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "76cf7eb4-659d-4203-9c1a-769ba76e9efe", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/configurations/gateway?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:07 GMT", - "content-length" : "123", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4b82bff3-8eee-49b3-9ba9-cec5e2349ecd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140907Z:4b82bff3-8eee-49b3-9ba9-cec5e2349ecd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7040b101-6820-4776-83ab-d768e4932956", - "Body" : "{\"restAuthCredential.isEnabled\":\"true\",\"restAuthCredential.username\":\"admin\",\"restAuthCredential.password\":\"NewPassword1!\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-1bf059336a45?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:09:09 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f7601390-1f63-47d7-a622-040539956184", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T140909Z:f7601390-1f63-47d7-a622-040539956184", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMUJGMDU5MzM2QTQ1LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "f7601390-1f63-47d7-a622-040539956184", - "Body" : "" - } - } ], - "variables" : [ "hdijava-1bf059336a45", "hdijava6af56735ef33" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-1bf059336a45?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:19 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7a020ef1-c7a8-4b34-bb2e-68b1fbcbb2a8", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T134520Z:7a020ef1-c7a8-4b34-bb2e-68b1fbcbb2a8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7a020ef1-c7a8-4b34-bb2e-68b1fbcbb2a8", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-1bf059336a45?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:20 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f0c5d082-ec71-45bc-b1d3-92d8e277c556", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134521Z:f0c5d082-ec71-45bc-b1d3-92d8e277c556", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f0c5d082-ec71-45bc-b1d3-92d8e277c556", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45\",\"name\":\"hdijava-1bf059336a45\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:22 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "50bf9402-ef81-4bd9-b2e5-90825484199b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134523Z:50bf9402-ef81-4bd9-b2e5-90825484199b", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "1408ad27-1804-4799-9944-e9b5f77446e7", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:22 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d6bb34f6-91a4-450c-886a-c9f52bfe91da", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134523Z:d6bb34f6-91a4-450c-886a-c9f52bfe91da", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "5de41c4e-f0bf-48ba-973e-87f3e13c99d5", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/1408ad27-1804-4799-9944-e9b5f77446e7?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:40 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b3cbbb20-5ef2-4355-9d7d-2f7361a8b9e9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134540Z:b3cbbb20-5ef2-4355-9d7d-2f7361a8b9e9", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "f2220c6b-9418-41b1-a8b6-1b32fb26de1e", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33\",\"name\":\"hdijava6af56735ef33\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:45:22.9141854Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6af56735ef33.blob.core.windows.net/\",\"queue\":\"https://hdijava6af56735ef33.queue.core.windows.net/\",\"table\":\"https://hdijava6af56735ef33.table.core.windows.net/\",\"file\":\"https://hdijava6af56735ef33.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:40 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c7dfd069-bc51-4993-aacf-c03be725af00", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134540Z:c7dfd069-bc51-4993-aacf-c03be725af00", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "911d48c5-e364-47d2-a693-f7036f2b2950", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33\",\"name\":\"hdijava6af56735ef33\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T13:45:23.0548195Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T13:45:22.9141854Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6af56735ef33.blob.core.windows.net/\",\"queue\":\"https://hdijava6af56735ef33.queue.core.windows.net/\",\"table\":\"https://hdijava6af56735ef33.table.core.windows.net/\",\"file\":\"https://hdijava6af56735ef33.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.Storage/storageAccounts/hdijava6af56735ef33/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:40 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "784828a0-97c8-4dde-a8e0-85b71b8722f3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134540Z:784828a0-97c8-4dde-a8e0-85b71b8722f3", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "c9f15520-4dc2-40ff-9fd6-afaf6e5d5bf5", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"hshlGNrLh+Kg3j4ZibLLAlwXfLotlPnkq6+3O6/UiARPmgT8W0zGyZHLBgwKB3e+wObbReJtvtRBjKaX+L4H1w==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"y5QjiEL3TjIUKfJW3LcGW5Zhbizx4A7zXYTWyXCUQIEZpzlm+A/Ssha2XJV/sQSVnpsG515gmLHT9J6YgZu2Kg==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:45:59 GMT", + "content-length" : "1236", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "46ff2bbd-e5e2-47e4-ad4d-af48f5ac642c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134600Z:46ff2bbd-e5e2-47e4-ad4d-af48f5ac642c", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"a0675065-bc3f-4e22-8fab-f2b402786f48\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http?api-version=2018-06-01-preview", + "x-ms-request-id" : "633fc1d0-9535-4dba-8466-9897eed0cdb6", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http\",\"name\":\"hdisdk-http\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"a0675065-bc3f-4e22-8fab-f2b402786f48\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T13:45:59.873\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:46:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e3879ec4-da3c-43bd-ba9c-0a5adbe2d84b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134601Z:e3879ec4-da3c-43bd-ba9c-0a5adbe2d84b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1a955264-b64a-4885-a5fc-d180a0e7e560", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:46:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9f4f8dc1-81fa-42a5-b8a1-2cf4304c299f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134631Z:9f4f8dc1-81fa-42a5-b8a1-2cf4304c299f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0afc44e6-6cc2-4f87-8148-72fe5c2d45a5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:47:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4abc3c8d-1493-4eba-8c6d-3120e4d8a12c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134702Z:4abc3c8d-1493-4eba-8c6d-3120e4d8a12c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "09bf4877-50a7-4ff4-a530-8c321be4f77e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:47:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e4a40665-2aba-480d-9d29-17be5bf45106", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134732Z:e4a40665-2aba-480d-9d29-17be5bf45106", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "94ecdad2-19ff-4206-b87f-a4d226b7d9d1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:48:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "32e57e6e-0ea5-496c-9870-b0da842b1cbc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134803Z:32e57e6e-0ea5-496c-9870-b0da842b1cbc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "60993464-2a3b-4343-a6b6-5ef2f4098efd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:48:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "788ace13-856c-4134-a4be-710e7315c640", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134833Z:788ace13-856c-4134-a4be-710e7315c640", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3811be18-871c-4945-b10c-f9788a1acdeb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:49:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6e2063a0-089e-4151-942b-656bfc7620dc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134904Z:6e2063a0-089e-4151-942b-656bfc7620dc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "98af847c-f663-4ee9-80f8-2fa48009feea", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:49:34 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7ff493f4-3065-4cf1-b659-a761da89a4a0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T134934Z:7ff493f4-3065-4cf1-b659-a761da89a4a0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c8f2f88f-a78b-454b-9ba8-6ff8e57c8898", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:50:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4d5b47db-c498-4088-9ee8-d7ece10a48c4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135005Z:4d5b47db-c498-4088-9ee8-d7ece10a48c4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "edcff132-3a09-4634-97d4-bd06c24c266d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:50:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "523162eb-dd7e-4c25-92b8-874ca9b6e09c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135035Z:523162eb-dd7e-4c25-92b8-874ca9b6e09c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8e551a1-57de-4dab-8cfe-153eb0058d4c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:51:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f8915782-03c5-4dfc-9d1b-287410fcc45e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135106Z:f8915782-03c5-4dfc-9d1b-287410fcc45e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5d6e9d6f-056e-4725-a303-2f71c1868037", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:51:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "68383929-ba95-46ba-b9b5-205d2d3d9a54", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135136Z:68383929-ba95-46ba-b9b5-205d2d3d9a54", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ed25d314-4aa4-4093-a3bf-07674eabe081", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:52:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b03e36e8-ad1b-4d60-8b62-7382aea97082", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135207Z:b03e36e8-ad1b-4d60-8b62-7382aea97082", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b136066a-c817-44b2-9a67-d6bcafc0f63c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:52:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "47b93eb7-db4f-4cd8-a1f2-49521353ca79", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135238Z:47b93eb7-db4f-4cd8-a1f2-49521353ca79", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6e0f7328-7a52-4eb0-8b9a-6943f01923a7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:53:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3d81b327-ce03-4b84-9fbe-9c3ecaa5e225", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135308Z:3d81b327-ce03-4b84-9fbe-9c3ecaa5e225", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "373de27d-35e6-4dd8-931c-895e167fd1ad", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:53:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "857ee0e9-186b-480f-aeb4-92bd3b8618f8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135339Z:857ee0e9-186b-480f-aeb4-92bd3b8618f8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "57bbc680-88cc-4b9b-b325-ce8b774e2298", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:54:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8d633a9f-6350-45b4-a07a-aaeee496b758", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135409Z:8d633a9f-6350-45b4-a07a-aaeee496b758", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d904255e-b4bd-4008-84c8-3eda51c9d306", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:54:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b2c4dff1-9f4f-4cdb-b907-ca70c68f0a50", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135440Z:b2c4dff1-9f4f-4cdb-b907-ca70c68f0a50", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2c14a76d-7570-4e49-98c2-fe4c9bc69a30", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:55:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "65a7bfe9-47b3-417c-a03f-cb0cdf2e2093", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135510Z:65a7bfe9-47b3-417c-a03f-cb0cdf2e2093", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d4575b7d-f101-47ca-a8f5-7cb1e14b63dc", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:55:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "adfe98d6-56b8-4d28-b1df-2508b3d7f6fd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135541Z:adfe98d6-56b8-4d28-b1df-2508b3d7f6fd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "698bd20c-18b4-435f-8085-e70ae63178f2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:56:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ffa722fc-0282-4365-8f1d-e94c0c24b744", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135611Z:ffa722fc-0282-4365-8f1d-e94c0c24b744", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c1afd438-379a-4caf-8455-c22333ecb0d6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:56:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c5fbf5d2-6c81-4cab-b616-4be300d402a4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135642Z:c5fbf5d2-6c81-4cab-b616-4be300d402a4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e41bf417-571a-48d5-862e-97dc561f4212", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:57:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8fd4dbe0-9e9b-4e83-b6b6-afa9df1b2c26", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135712Z:8fd4dbe0-9e9b-4e83-b6b6-afa9df1b2c26", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e7c6bccf-7ce7-4282-acfd-3adab9a92b3c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:57:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7c3ec1dc-28d6-4fab-aebc-c6ce6672ba39", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135743Z:7c3ec1dc-28d6-4fab-aebc-c6ce6672ba39", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c26e8ad5-449f-4380-b843-bbfd65471fd9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:58:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6f64f9ef-106b-44bd-b8d7-c83b87d4f8de", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135814Z:6f64f9ef-106b-44bd-b8d7-c83b87d4f8de", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "48bcbdf7-b3a1-439d-b6c2-62c9b2c74561", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:58:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "54137d30-7570-43a2-b117-55449971d5fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135844Z:54137d30-7570-43a2-b117-55449971d5fa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "32da083d-bee9-4d8f-881d-9b1d1129e355", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:59:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b1503734-1995-4727-b35b-4209afd01625", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135915Z:b1503734-1995-4727-b35b-4209afd01625", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5a33f8f6-5a6b-4f49-b3f3-0d28dd536547", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 13:59:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8b0e843a-0345-42b3-9657-39b0d841ba47", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T135945Z:8b0e843a-0345-42b3-9657-39b0d841ba47", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d7f78671-7a20-4734-99ac-fa7f9b511180", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:00:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2877d0ab-41f0-425c-836f-9bb19b245245", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140016Z:2877d0ab-41f0-425c-836f-9bb19b245245", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "17e29ce8-599a-4ccf-a922-f74666273236", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:00:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4962d5cd-5c03-4c63-b7a7-4e7cdfa555a8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140046Z:4962d5cd-5c03-4c63-b7a7-4e7cdfa555a8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c7215df6-6a4b-48d3-b474-80d798994177", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:01:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1f2d853d-16dc-43d6-af9a-036dcfef0cec", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140117Z:1f2d853d-16dc-43d6-af9a-036dcfef0cec", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1ebeb874-0c1d-4e0d-ba70-8fdde4eabaf2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:01:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c385cc5e-168c-4bd2-9cf1-4dc0f27039e2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140147Z:c385cc5e-168c-4bd2-9cf1-4dc0f27039e2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e2c42d15-7e37-4059-99a8-8134f01f92ec", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:02:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8c31600e-88c1-4883-8bb7-fbc66575552d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140218Z:8c31600e-88c1-4883-8bb7-fbc66575552d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ecf96868-9b19-4456-8392-b970802c33a1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:02:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1bbde06f-594d-4aa9-a0d7-6d65414c67d0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140248Z:1bbde06f-594d-4aa9-a0d7-6d65414c67d0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d25ad4c4-3433-4fc7-92cc-075ae8d180ad", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:03:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b74b0516-cb60-48b1-b127-118a11d592f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140319Z:b74b0516-cb60-48b1-b127-118a11d592f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "83124af8-465e-4ea6-8d8a-6d36ed09c415", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:03:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ba932485-2c03-438a-951b-f160cdf1037a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140349Z:ba932485-2c03-438a-951b-f160cdf1037a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "49f3520c-aa89-4999-9e5a-e64964d646d7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:04:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1e288794-bb23-4d7d-9870-ea4732314973", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140420Z:1e288794-bb23-4d7d-9870-ea4732314973", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "61d7ae6f-b7f6-4baf-9e22-1511c79588b3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:04:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f2565669-f774-4712-b763-d39122b869c2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140500Z:f2565669-f774-4712-b763-d39122b869c2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c2187b6d-88fa-4365-9b3b-69e95c68165e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:05:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "afb3b806-4a6e-4e9a-8167-b56380df06ce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140532Z:afb3b806-4a6e-4e9a-8167-b56380df06ce", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b6257c01-e32b-4c1b-abeb-0d9717090def", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:06:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f9c8c247-29e5-4b8c-9d2f-c66e71c23449", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140603Z:f9c8c247-29e5-4b8c-9d2f-c66e71c23449", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ab864535-7ce0-462e-a7f9-60a54ededf59", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:06:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fe567b60-9574-4187-ac33-e6f5f0c9b85f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140633Z:fe567b60-9574-4187-ac33-e6f5f0c9b85f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c927c461-cfd7-4e65-95bf-dce41e5b5efa", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:07:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "442540c1-f9d4-4db0-82d3-3b914dffe8fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140703Z:442540c1-f9d4-4db0-82d3-3b914dffe8fa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e7dd5cbe-a78b-4642-978b-7083e614c221", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:07:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "feb8e102-58ce-41b9-9127-c8fea47c2e36", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140734Z:feb8e102-58ce-41b9-9127-c8fea47c2e36", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "db4909ae-2882-41fb-b01a-9250124bdc3d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:08:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0d41c8e4-60bf-4b30-bb84-7cf8ded61cf1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140804Z:0d41c8e4-60bf-4b30-bb84-7cf8ded61cf1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "526df8ce-c14d-4b59-95ba-0cbc44276d2b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:08:34 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d7d5786d-8052-4750-8b00-3cd95602e0d5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140835Z:d7d5786d-8052-4750-8b00-3cd95602e0d5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "88ff0d29-c331-4819-a818-dea12091be7d", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:08:35 GMT", + "content-length" : "1452", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6a3ed6ae-f2e5-4ec1-af18-9ac9153a8278", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140836Z:6a3ed6ae-f2e5-4ec1-af18-9ac9153a8278", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b3658ca-8be7-4526-a4fd-79c2d078176d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http\",\"name\":\"hdisdk-http\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"a0675065-bc3f-4e22-8fab-f2b402786f48\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T13:45:59.873\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-http-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-http.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/configurations/gateway?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:08:35 GMT", + "content-length" : "120", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4516e70f-554a-4fcb-aeef-1b02ad0d992c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140836Z:4516e70f-554a-4fcb-aeef-1b02ad0d992c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0f4e74ea-c557-44a2-8810-b3ee34937700", + "Body" : "{\"restAuthCredential.isEnabled\":\"true\",\"restAuthCredential.username\":\"admin\",\"restAuthCredential.password\":\"Password1!\"}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/configurations/gateway?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:08:36 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "53ab4a74-1fa5-45d3-9cd7-8ec36c397070", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140837Z:53ab4a74-1fa5-45d3-9cd7-8ec36c397070", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/operationresults/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "1da18a6a-273a-49cc-aa9c-3c4c04cf7216", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:08:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ec67e73b-3a9e-4cc1-adaa-a39fbbfc7ff1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140837Z:ec67e73b-3a9e-4cc1-adaa-a39fbbfc7ff1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b4973a0-a871-4a30-b4ce-0abc962c3569", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/azureasyncoperations/de2c44eb-2881-4224-b2c7-1c81c44c4340-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:07 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "510f92d5-5f37-4d4b-a017-6eea85ceb5b2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140907Z:510f92d5-5f37-4d4b-a017-6eea85ceb5b2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "76cf7eb4-659d-4203-9c1a-769ba76e9efe", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-1bf059336a45/providers/Microsoft.HDInsight/clusters/hdisdk-http/configurations/gateway?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:07 GMT", + "content-length" : "123", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4b82bff3-8eee-49b3-9ba9-cec5e2349ecd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140907Z:4b82bff3-8eee-49b3-9ba9-cec5e2349ecd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7040b101-6820-4776-83ab-d768e4932956", + "Body" : "{\"restAuthCredential.isEnabled\":\"true\",\"restAuthCredential.username\":\"admin\",\"restAuthCredential.password\":\"NewPassword1!\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-1bf059336a45?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:09:09 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f7601390-1f63-47d7-a622-040539956184", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T140909Z:f7601390-1f63-47d7-a622-040539956184", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMUJGMDU5MzM2QTQ1LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "f7601390-1f63-47d7-a622-040539956184", + "Body" : "" + } + } ], + "variables" : [ "hdijava-1bf059336a45", "hdijava6af56735ef33" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHueOnRunningCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHueOnRunningCluster.json index fbe5ee7065fc5..ccde2643054da 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHueOnRunningCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testHueOnRunningCluster.json @@ -1,2402 +1,2402 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-f697032599c8?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:17 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a41eecba-b288-4654-b919-250e2c12db61", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T082717Z:a41eecba-b288-4654-b919-250e2c12db61", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a41eecba-b288-4654-b919-250e2c12db61", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-f697032599c8?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:19 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2eecffee-0b76-49cc-8e20-16bba33b7bd6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082719Z:2eecffee-0b76-49cc-8e20-16bba33b7bd6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2eecffee-0b76-49cc-8e20-16bba33b7bd6", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8\",\"name\":\"hdijava-f697032599c8\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:20 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4e877c8f-b15d-4b50-9d55-e3ebfd7f976f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082721Z:4e877c8f-b15d-4b50-9d55-e3ebfd7f976f", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "538a05e8-f484-462c-8bdc-9b1ec89f9598", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:20 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b1cc89a9-f9de-43b5-b289-d60e7c89f0c7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082721Z:b1cc89a9-f9de-43b5-b289-d60e7c89f0c7", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "39789a87-5a24-43d1-915e-d73843c2608c", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:37 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f5a6e534-28e4-4e6d-8838-575b6c03de88", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082738Z:f5a6e534-28e4-4e6d-8838-575b6c03de88", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "06714172-b60e-48e3-809a-2677173b63bc", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0\",\"name\":\"hdijavabe38211208e0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:27:20.8925761Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabe38211208e0.blob.core.windows.net/\",\"queue\":\"https://hdijavabe38211208e0.queue.core.windows.net/\",\"table\":\"https://hdijavabe38211208e0.table.core.windows.net/\",\"file\":\"https://hdijavabe38211208e0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:38 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0fc7b71-93b4-49b9-8b8b-6fde08c8030d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082738Z:e0fc7b71-93b4-49b9-8b8b-6fde08c8030d", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "70e0a40d-50f2-4376-92dc-bb7de56c9b0d", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0\",\"name\":\"hdijavabe38211208e0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:27:20.8925761Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabe38211208e0.blob.core.windows.net/\",\"queue\":\"https://hdijavabe38211208e0.queue.core.windows.net/\",\"table\":\"https://hdijavabe38211208e0.table.core.windows.net/\",\"file\":\"https://hdijavabe38211208e0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:38 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "de830234-e244-4be6-ba74-425d32ac93c0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082738Z:de830234-e244-4be6-ba74-425d32ac93c0", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "2ecff872-612f-4bb5-8dcd-17e75ae215d6", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"Z97NBuQv2w9KD64BIYMCvypocq7ritZW+umNIU5W+2a+OPTV5cjA7FNmtVtLOLHZY2R5VQfNFBggB+iG4BNk7A==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"RdGLAUSM0MpgCod2QwrxAEArYY9t8zA6J2kuT04sLNKLEs4KUwxt66PeEcLFfF2l7Wm2jjzrOpvdjgnBWewavw==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:27:59 GMT", - "content-length" : "1279", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "413085da-15e4-4d6b-b58f-066d16488c59", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082759Z:413085da-15e4-4d6b-b58f-066d16488c59", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"94cf19e1-f83e-49c4-87f6-f92c27f5fcd4\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704?api-version=2018-06-01-preview", - "x-ms-request-id" : "9d1713f2-a1c7-4355-bbf9-846ea208bcce", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704\",\"name\":\"hdisdk-applications-hue17f7800704\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"94cf19e1-f83e-49c4-87f6-f92c27f5fcd4\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:27:58.53\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:28:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4e4c8ad1-8e92-4706-9ada-7edb90657077", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082800Z:4e4c8ad1-8e92-4706-9ada-7edb90657077", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b1bfc7cd-cea0-4721-b1a7-f23cb4dc5474", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:28:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e352260c-f7ef-4406-84ba-85e696a61901", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082830Z:e352260c-f7ef-4406-84ba-85e696a61901", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b514a9e9-1cf3-42b0-97e8-bc81986a9e49", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:29:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "eef8fbc6-ac69-4294-9659-3f1ef47f45e0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082901Z:eef8fbc6-ac69-4294-9659-3f1ef47f45e0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5b342545-fdd6-4e98-979d-b03cb17695de", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:29:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "13fde47b-db1e-4179-9c1d-528d26fe68ab", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T082932Z:13fde47b-db1e-4179-9c1d-528d26fe68ab", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "043d9d3f-f422-41e6-a77a-6232f4e801a9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:30:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "339073be-ca4b-424c-a069-24a096d86afe", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083003Z:339073be-ca4b-424c-a069-24a096d86afe", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6cdaf7d7-94ce-45f8-9f45-46cf81bbe3e1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:30:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "805ee596-1682-4341-8903-ee1e56fc4073", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083033Z:805ee596-1682-4341-8903-ee1e56fc4073", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c2ad7af5-66ce-40d1-9a05-aed8fa631fd2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:31:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bb53c1f4-7bdd-48fa-8378-225859b6257a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083104Z:bb53c1f4-7bdd-48fa-8378-225859b6257a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9e057aa7-9783-452b-8695-3fda6d607d43", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:31:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9e148770-3f8e-4c61-9054-93f806aecab0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083134Z:9e148770-3f8e-4c61-9054-93f806aecab0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f2370811-1952-4b36-8c8c-fa600e109989", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:32:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c1d79d55-9b69-4299-94bc-5b17a1c937f0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083204Z:c1d79d55-9b69-4299-94bc-5b17a1c937f0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "809a61f5-18a8-40fe-8dd5-3fa9343afc82", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:32:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3f6efa87-73ad-4a7c-aa5a-e6a7fa93f78f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083235Z:3f6efa87-73ad-4a7c-aa5a-e6a7fa93f78f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8120cebc-603b-495c-9999-d0223e342b65", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:33:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4dd80c8b-7f28-4501-b23b-55bbd12e44f6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083306Z:4dd80c8b-7f28-4501-b23b-55bbd12e44f6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a1e63607-c9ae-4d10-97ba-c67fedeb1c3d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:33:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7092702b-448e-47ea-9184-1d8dde09f12b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083336Z:7092702b-448e-47ea-9184-1d8dde09f12b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "348eebb9-426e-4d31-8866-b443777312c0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:34:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5e8bf299-8c20-4e3e-8372-825357eea634", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083407Z:5e8bf299-8c20-4e3e-8372-825357eea634", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a94a2b3-880f-46bf-a787-fd844e84ffb8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:34:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f879b05b-27e4-409d-98e0-ba34a55b5f9e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083437Z:f879b05b-27e4-409d-98e0-ba34a55b5f9e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "816c7830-85e5-4786-95a9-14b0d660da4a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:35:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8e206e0e-b017-4c9d-88fe-3d6d3e97a258", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083507Z:8e206e0e-b017-4c9d-88fe-3d6d3e97a258", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "84560e88-272d-4f4b-ab02-e4ceeca46b86", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:35:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f8b1b5d0-c609-42ee-a3fa-d7c60b6eab67", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083538Z:f8b1b5d0-c609-42ee-a3fa-d7c60b6eab67", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c52dec34-b6d6-4af9-8aa5-58f9aee1461c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:36:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "11a126a6-9297-421b-9b11-dc8a6ae15211", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083608Z:11a126a6-9297-421b-9b11-dc8a6ae15211", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3a26ede0-f865-4e26-b7df-75d98aeb5999", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:36:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "182552a1-3efd-490b-a8ce-012ebc8e52fe", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083639Z:182552a1-3efd-490b-a8ce-012ebc8e52fe", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f97cfdbb-7e0d-4bbd-9949-80831c94ef76", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:37:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6071f849-3c04-499c-a03f-222ce7b1d380", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083709Z:6071f849-3c04-499c-a03f-222ce7b1d380", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "29750ce3-553a-4cfe-8c7a-0f75605c68c5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:37:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ad5a09eb-e8ec-471f-9fac-e1bf954dea68", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083740Z:ad5a09eb-e8ec-471f-9fac-e1bf954dea68", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "81cd8f71-041c-4ba4-b902-00b430941ffe", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:38:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "678953fe-a22a-4e04-a36c-66df55d0dc75", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083810Z:678953fe-a22a-4e04-a36c-66df55d0dc75", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "21e4a30e-cc9c-4994-8dba-59c756e78cd0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:38:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8fd5778e-f401-4745-aab4-b273733a3509", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083841Z:8fd5778e-f401-4745-aab4-b273733a3509", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "51acee3c-7e8b-45bc-abd6-2eab6b770480", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:39:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "56afb891-084b-4541-99e4-15e01a99dc33", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083911Z:56afb891-084b-4541-99e4-15e01a99dc33", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "61d5f9d8-8846-44d1-b460-ccc08568d035", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:39:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "23e8a103-56e8-4306-bde3-35b45d230279", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T083942Z:23e8a103-56e8-4306-bde3-35b45d230279", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ddd189b1-cf7a-4e56-a9f5-4b58fa79ff80", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:40:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c23dc68b-20f4-4b5a-b5f3-a4f02f419e03", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084012Z:c23dc68b-20f4-4b5a-b5f3-a4f02f419e03", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "acf58bc9-67ab-44e9-93d2-5ae9b4392593", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:40:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "31a9808c-f648-4887-8045-fcb6f06a8b30", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084043Z:31a9808c-f648-4887-8045-fcb6f06a8b30", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0b3a1ba9-8d77-438e-a3dc-937bbb52732e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:41:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "94cf6d78-3a24-4ba3-a18f-078ddcaad353", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084113Z:94cf6d78-3a24-4ba3-a18f-078ddcaad353", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c8f01574-aed4-4154-a8c5-ed5e826f3d88", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:41:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "87b02088-4abc-4526-b10d-258b26873ba8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084144Z:87b02088-4abc-4526-b10d-258b26873ba8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b91358b9-85b1-46af-9b36-998b5964a08a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:42:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8441d1b1-0fee-4d6d-b2ef-29322aa66b41", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084214Z:8441d1b1-0fee-4d6d-b2ef-29322aa66b41", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1a530bda-3b82-4a2c-8f45-67e17f22defd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:42:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9f85eb78-3eda-44b0-8b6e-cec1fdb6c60f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084245Z:9f85eb78-3eda-44b0-8b6e-cec1fdb6c60f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "184f6f51-9ef9-4f04-bc40-7f846041c3b8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:43:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "af19def4-8ef4-4461-9120-765bbe933745", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084315Z:af19def4-8ef4-4461-9120-765bbe933745", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6d0d6903-4d3b-4e77-b263-32b1022e5606", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:43:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "15b3e66d-4bc1-4fe0-9703-8287eb6aa345", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084345Z:15b3e66d-4bc1-4fe0-9703-8287eb6aa345", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fadec9de-c5ac-41d2-92e4-ec93792d608f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:44:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "899b239c-e856-4edc-bd1c-279fd9d6350d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084416Z:899b239c-e856-4edc-bd1c-279fd9d6350d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6b24b588-201c-4a08-ab7b-a937101d76a1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:44:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "52c25a14-41e4-42f8-be1f-6ba0d8c4deb2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084447Z:52c25a14-41e4-42f8-be1f-6ba0d8c4deb2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "659b85fa-fd8f-4715-9c84-fb8f75ae95d6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:45:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "442d9cee-405b-48e5-92d6-2c1137695a50", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084517Z:442d9cee-405b-48e5-92d6-2c1137695a50", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fa93df33-cd0d-4952-8abd-c1f6dcbed683", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:45:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9827c5e6-dacf-40b6-97ba-dd7882421d5e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084548Z:9827c5e6-dacf-40b6-97ba-dd7882421d5e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8898bacd-36e4-4454-b1bb-6f35316dc8cd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:46:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b3ff8903-1e06-46ff-a8d4-b44b08c660e1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084618Z:b3ff8903-1e06-46ff-a8d4-b44b08c660e1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c3491f27-e664-4fd5-8b14-e4902c888893", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:46:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "72975854-6b54-4ed5-a873-f235253a7a99", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084649Z:72975854-6b54-4ed5-a873-f235253a7a99", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0314d1c2-2498-4843-b0d2-d4f854c977c4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:47:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2958b347-397d-4bbd-9673-9cc39d182480", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084719Z:2958b347-397d-4bbd-9673-9cc39d182480", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d32dc656-fcd5-48e1-b310-e43cbef794d8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:47:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "906ce160-6ceb-4f90-b515-cf1f395e92b9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084750Z:906ce160-6ceb-4f90-b515-cf1f395e92b9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "65c9283c-104d-49c7-b9ce-76843f8b715a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:20 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "04872db8-d3ae-4b57-86a4-5744efb5f737", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084820Z:04872db8-d3ae-4b57-86a4-5744efb5f737", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2647650a-c5b7-46e6-b936-493e4756c7e9", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:20 GMT", - "content-length" : "1539", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5558fd4d-4dd2-416d-91fe-c86118668ca8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084821Z:5558fd4d-4dd2-416d-91fe-c86118668ca8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2f3983a2-c6bf-40f0-91a6-b3ee9bb5fae1", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704\",\"name\":\"hdisdk-applications-hue17f7800704\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"94cf19e1-f83e-49c4-87f6-f92c27f5fcd4\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T08:27:58.53\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-applications-hue17f7800704-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-applications-hue17f7800704.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:22 GMT", - "content-length" : "856", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e9c9f977-2b7d-4b81-8ecd-28582771fa6f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084823Z:e9c9f977-2b7d-4b81-8ecd-28582771fa6f", - "x-ms-hdi-appuri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"4502F1CE-816D-4B4D-84DF-551F8536296D\"", - "cache-control" : "no-cache", - "x-ms-request-id" : "51133642-573c-4cc6-af43-2a040ca4f4a2", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"4502F1CE-816D-4B4D-84DF-551F8536296D\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:22 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a18b362e-4513-423e-814b-b773b8d39dd1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084823Z:a18b362e-4513-423e-814b-b773b8d39dd1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0c8c21a4-dfb2-4875-b8f2-dc174f063cf2", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:23 GMT", - "content-length" : "856", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "20148865-1bbd-43be-ac67-a26236dcb649", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084824Z:20148865-1bbd-43be-ac67-a26236dcb649", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b74eac14-34c2-4821-80ea-8c270f47dba4", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"4502F1CE-816D-4B4D-84DF-551F8536296D\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:53 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d104da87-ed28-43ca-9afe-8748dd864233", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084854Z:d104da87-ed28-43ca-9afe-8748dd864233", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "776cdd37-f9ce-4b49-85f0-a31a6bddff3c", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:48:54 GMT", - "content-length" : "868", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "53a564f6-b171-49a1-b199-cc1cd7f340d7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084855Z:53a564f6-b171-49a1-b199-cc1cd7f340d7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "74cef5f0-7b77-4583-8707-9bad99d34cd8", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:49:25 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d96aeabe-386e-490b-859d-d245e5bb2d00", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084925Z:d96aeabe-386e-490b-859d-d245e5bb2d00", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d31da3ae-4d06-494a-8009-f34e1aa980e6", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:49:26 GMT", - "content-length" : "868", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d4322504-b572-4c53-a969-114ff9f90903", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084926Z:d4322504-b572-4c53-a969-114ff9f90903", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "40738a3b-ab7f-44e4-8c42-f4da24925c52", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:49:56 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7110c51a-3b0b-4d02-89ca-2a89ee075b13", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084957Z:7110c51a-3b0b-4d02-89ca-2a89ee075b13", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd6954cc-76aa-4cd3-8eb2-3651628be981", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:49:57 GMT", - "content-length" : "868", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "41729f19-74d8-4774-8ed1-5d6707c3d142", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T084957Z:41729f19-74d8-4774-8ed1-5d6707c3d142", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1ffacb0e-30b7-4e18-9296-ae4e0d8eb7a3", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:50:28 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "794580e9-a13d-45f1-b43f-6f4cd3de26f7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085028Z:794580e9-a13d-45f1-b43f-6f4cd3de26f7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9bc64b88-7d3c-40cc-b853-8a1594bde748", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:50:28 GMT", - "content-length" : "868", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "34ab2619-b51e-4713-80c2-59b7108b0d3c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085028Z:34ab2619-b51e-4713-80c2-59b7108b0d3c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "86903716-7bc1-4416-999c-13238683642e", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:50:59 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "159e5a6c-5c4d-4c41-9bbd-29727c39422e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085059Z:159e5a6c-5c4d-4c41-9bbd-29727c39422e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1b24e2e5-06e8-412b-932d-fff2e5855f17", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:51:00 GMT", - "content-length" : "868", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3c4bf824-637e-4351-a609-3e2fc0a99219", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085100Z:3c4bf824-637e-4351-a609-3e2fc0a99219", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f7cc9990-a967-4f44-8993-75f8a8bb733c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:51:29 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11941", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6be04a26-b9a4-433c-b35d-abad82c2fe9a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085130Z:6be04a26-b9a4-433c-b35d-abad82c2fe9a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "40132bd8-b6e1-4194-8ebf-7c11f55e91d1", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:51:30 GMT", - "content-length" : "868", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11940", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e426a298-c7b9-4004-bc05-dd7033de700e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085131Z:e426a298-c7b9-4004-bc05-dd7033de700e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "00b77f2b-9ac7-4de4-a533-becb4c4b0224", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:52:00 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11939", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7362dcdc-52f8-4333-aef1-3761aab6cfce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085201Z:7362dcdc-52f8-4333-aef1-3761aab6cfce", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5cf73091-8eb4-453c-a4d6-24c372db11ad", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:52:01 GMT", - "content-length" : "872", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11938", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2ea9c2dd-7af9-41cf-8e72-0564e90ab4f6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085201Z:2ea9c2dd-7af9-41cf-8e72-0564e90ab4f6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1976d8cd-e6a3-40eb-b799-c853becc76d1", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"5350053D-CC4D-4844-8373-AB218D871A24\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:52:32 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11937", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d171bc2b-2165-4910-ad84-b1604dadc140", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085232Z:d171bc2b-2165-4910-ad84-b1604dadc140", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2d07a405-5a64-4e6e-bfd3-c6cba86395b7", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:52:32 GMT", - "content-length" : "872", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11936", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1ec33801-bc54-4449-85a2-3a55c902de37", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085233Z:1ec33801-bc54-4449-85a2-3a55c902de37", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7ad0e510-2c87-4dbc-98be-e3e0ba7ce756", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"5350053D-CC4D-4844-8373-AB218D871A24\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:53:03 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11935", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3ae8c3b3-2602-4797-8ffc-c6fd215d28cc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085303Z:3ae8c3b3-2602-4797-8ffc-c6fd215d28cc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5d47ef00-7207-4c70-8c9b-ae6256536437", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:53:04 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11934", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d9571b26-5fa3-445e-b97e-8ff06ba419ad", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085304Z:d9571b26-5fa3-445e-b97e-8ff06ba419ad", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd4a9647-884b-4dd9-aa04-301568148a4c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:53:33 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11933", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "038925f8-996b-473d-9bc7-61e06c7a9260", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085334Z:038925f8-996b-473d-9bc7-61e06c7a9260", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5340c827-4088-4f6e-9ab6-6d7bfde866b8", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:53:34 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11932", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5ecf711f-7c35-482a-ad6e-46817ebf2573", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085334Z:5ecf711f-7c35-482a-ad6e-46817ebf2573", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e19b242e-a067-45c0-bd79-5d206beab8f0", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:54:05 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11931", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "93f797ce-45c7-44f6-91c8-894ac11081e8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085405Z:93f797ce-45c7-44f6-91c8-894ac11081e8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b0ad27c1-f8bd-4a7a-b259-30c148e81f2f", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:54:06 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11930", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8cc3e7e1-3109-467d-bfb2-784e2549bec2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085406Z:8cc3e7e1-3109-467d-bfb2-784e2549bec2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8cb74ee5-21e0-420a-84f5-4560481b58c4", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:54:36 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11929", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3d3a3152-a9ae-4194-8366-8162647bf7c9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085437Z:3d3a3152-a9ae-4194-8366-8162647bf7c9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ac873732-1d05-4519-bd83-a2e818111dbe", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:54:36 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11928", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d0366d18-30d9-49f7-954e-a5c7f76ce506", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085437Z:d0366d18-30d9-49f7-954e-a5c7f76ce506", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6d58c648-549f-4f45-9670-a8f17077e956", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:55:07 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11927", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2c027913-bbb9-41ff-8253-fd0c8b073d23", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085507Z:2c027913-bbb9-41ff-8253-fd0c8b073d23", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "36eaa67e-794b-40a5-8ca8-7774ee678a0b", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:55:07 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11926", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e49817e6-c282-4896-b7d4-6a9e412690c0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085508Z:e49817e6-c282-4896-b7d4-6a9e412690c0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a7084238-e5a7-45fc-a5fc-11e90eac6707", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:55:38 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11925", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a6a257fb-48a5-4bf6-9146-619e22e30070", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085538Z:a6a257fb-48a5-4bf6-9146-619e22e30070", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "35c37e57-08a8-46d4-81c4-87f346bf8ae0", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:55:38 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11924", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ac9c55ec-5254-4cf1-beca-4513698f3b3e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085539Z:ac9c55ec-5254-4cf1-beca-4513698f3b3e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f0784eec-9d01-45f8-87dd-1375a7681728", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:09 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11923", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7176828f-9773-4172-9e01-d1fae78abe29", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085609Z:7176828f-9773-4172-9e01-d1fae78abe29", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "42340f5d-117c-4b57-abe6-9253946f1c8c", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:10 GMT", - "content-length" : "926", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11922", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0febd35f-6c29-4a58-ba98-5be70d49414b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085610Z:0febd35f-6c29-4a58-ba98-5be70d49414b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0b54b639-5b24-4b95-b841-99a25e25adf8", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:39 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11921", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7d92003a-2512-47fd-8122-ef634c3f2355", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085640Z:7d92003a-2512-47fd-8122-ef634c3f2355", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d60ebe60-13a8-4286-ae4b-697ea6b7f47f", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:40 GMT", - "content-length" : "979", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11920", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0b898f8b-dee2-4212-9c81-2a892ea4047a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085641Z:0b898f8b-dee2-4212-9c81-2a892ea4047a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3c9ae073-e78a-4b21-a6b8-bf0f5d5deff8", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"27F1B13D-2EAE-4C89-A75B-C92863958D55\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":\"MyApplication.hdisdk-applications-hue17f7800704-ssh.azurehdinsight.net:22\",\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"Succeeded\",\"applicationState\":\"Running\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:40 GMT", - "content-length" : "991", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11919", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "47907e03-3d85-4abe-a12c-040d13dc2c74", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085641Z:47907e03-3d85-4abe-a12c-040d13dc2c74", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "851c6c96-8bdf-47e2-b6f6-c2d41ad09eb2", - "Body" : "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"27F1B13D-2EAE-4C89-A75B-C92863958D55\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":\"MyApplication.hdisdk-applications-hue17f7800704-ssh.azurehdinsight.net:22\",\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"Succeeded\",\"applicationState\":\"Running\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}]}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:42 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c67548cf-1b5c-43bf-a972-d12ab277c09d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085643Z:c67548cf-1b5c-43bf-a972-d12ab277c09d", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/operationresults/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "8898f1fd-0472-4bae-988d-e1805c50affe", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:56:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11918", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a31305d5-cd10-4c4d-8594-fef1c9ddcdf5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085643Z:a31305d5-cd10-4c4d-8594-fef1c9ddcdf5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "012907f5-5b1b-4a5e-a8cf-20f0d39dd4ac", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11917", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "45d09c5f-0a85-44cb-ae96-6d0cb8044607", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085713Z:45d09c5f-0a85-44cb-ae96-6d0cb8044607", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b076b6eb-e416-4700-a840-962f42df96be", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:43 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11916", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d8301079-a78d-4ec4-8dcf-b93bf9b4f350", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085743Z:d8301079-a78d-4ec4-8dcf-b93bf9b4f350", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bc8bb6d6-ac10-4630-96d8-2aab2480211e", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:43 GMT", - "content-length" : "12", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11915", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ce61e2b1-b570-45c6-aa3f-330bbe06e1e1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085743Z:ce61e2b1-b570-45c6-aa3f-330bbe06e1e1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "512a1ffd-7b51-4675-ab0c-e03a9862f880", - "Body" : "{\"value\":[]}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-f697032599c8?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 08:57:45 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7b27dd23-2317-495a-8e32-f5ce54dca272", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T085745Z:7b27dd23-2317-495a-8e32-f5ce54dca272", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJERjY5NzAzMjU5OUM4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b27dd23-2317-495a-8e32-f5ce54dca272", - "Body" : "" - } - } ], - "variables" : [ "hdijava-f697032599c8", "hdijavabe38211208e0", "hdisdk-applications-hue17f7800704" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-f697032599c8?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:17 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a41eecba-b288-4654-b919-250e2c12db61", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T082717Z:a41eecba-b288-4654-b919-250e2c12db61", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a41eecba-b288-4654-b919-250e2c12db61", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-f697032599c8?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:19 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2eecffee-0b76-49cc-8e20-16bba33b7bd6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082719Z:2eecffee-0b76-49cc-8e20-16bba33b7bd6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2eecffee-0b76-49cc-8e20-16bba33b7bd6", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8\",\"name\":\"hdijava-f697032599c8\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:20 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4e877c8f-b15d-4b50-9d55-e3ebfd7f976f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082721Z:4e877c8f-b15d-4b50-9d55-e3ebfd7f976f", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "538a05e8-f484-462c-8bdc-9b1ec89f9598", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:20 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b1cc89a9-f9de-43b5-b289-d60e7c89f0c7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082721Z:b1cc89a9-f9de-43b5-b289-d60e7c89f0c7", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "39789a87-5a24-43d1-915e-d73843c2608c", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/538a05e8-f484-462c-8bdc-9b1ec89f9598?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:37 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f5a6e534-28e4-4e6d-8838-575b6c03de88", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082738Z:f5a6e534-28e4-4e6d-8838-575b6c03de88", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "06714172-b60e-48e3-809a-2677173b63bc", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0\",\"name\":\"hdijavabe38211208e0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:27:20.8925761Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabe38211208e0.blob.core.windows.net/\",\"queue\":\"https://hdijavabe38211208e0.queue.core.windows.net/\",\"table\":\"https://hdijavabe38211208e0.table.core.windows.net/\",\"file\":\"https://hdijavabe38211208e0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:38 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0fc7b71-93b4-49b9-8b8b-6fde08c8030d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082738Z:e0fc7b71-93b4-49b9-8b8b-6fde08c8030d", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "70e0a40d-50f2-4376-92dc-bb7de56c9b0d", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0\",\"name\":\"hdijavabe38211208e0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T08:27:21.0332042Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T08:27:20.8925761Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavabe38211208e0.blob.core.windows.net/\",\"queue\":\"https://hdijavabe38211208e0.queue.core.windows.net/\",\"table\":\"https://hdijavabe38211208e0.table.core.windows.net/\",\"file\":\"https://hdijavabe38211208e0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.Storage/storageAccounts/hdijavabe38211208e0/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:38 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "de830234-e244-4be6-ba74-425d32ac93c0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082738Z:de830234-e244-4be6-ba74-425d32ac93c0", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "2ecff872-612f-4bb5-8dcd-17e75ae215d6", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"Z97NBuQv2w9KD64BIYMCvypocq7ritZW+umNIU5W+2a+OPTV5cjA7FNmtVtLOLHZY2R5VQfNFBggB+iG4BNk7A==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"RdGLAUSM0MpgCod2QwrxAEArYY9t8zA6J2kuT04sLNKLEs4KUwxt66PeEcLFfF2l7Wm2jjzrOpvdjgnBWewavw==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:27:59 GMT", + "content-length" : "1279", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "413085da-15e4-4d6b-b58f-066d16488c59", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082759Z:413085da-15e4-4d6b-b58f-066d16488c59", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"94cf19e1-f83e-49c4-87f6-f92c27f5fcd4\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704?api-version=2018-06-01-preview", + "x-ms-request-id" : "9d1713f2-a1c7-4355-bbf9-846ea208bcce", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704\",\"name\":\"hdisdk-applications-hue17f7800704\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"94cf19e1-f83e-49c4-87f6-f92c27f5fcd4\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:27:58.53\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:28:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4e4c8ad1-8e92-4706-9ada-7edb90657077", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082800Z:4e4c8ad1-8e92-4706-9ada-7edb90657077", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b1bfc7cd-cea0-4721-b1a7-f23cb4dc5474", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:28:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e352260c-f7ef-4406-84ba-85e696a61901", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082830Z:e352260c-f7ef-4406-84ba-85e696a61901", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b514a9e9-1cf3-42b0-97e8-bc81986a9e49", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:29:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "eef8fbc6-ac69-4294-9659-3f1ef47f45e0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082901Z:eef8fbc6-ac69-4294-9659-3f1ef47f45e0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5b342545-fdd6-4e98-979d-b03cb17695de", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:29:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "13fde47b-db1e-4179-9c1d-528d26fe68ab", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T082932Z:13fde47b-db1e-4179-9c1d-528d26fe68ab", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "043d9d3f-f422-41e6-a77a-6232f4e801a9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:30:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "339073be-ca4b-424c-a069-24a096d86afe", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083003Z:339073be-ca4b-424c-a069-24a096d86afe", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6cdaf7d7-94ce-45f8-9f45-46cf81bbe3e1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:30:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "805ee596-1682-4341-8903-ee1e56fc4073", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083033Z:805ee596-1682-4341-8903-ee1e56fc4073", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c2ad7af5-66ce-40d1-9a05-aed8fa631fd2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:31:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bb53c1f4-7bdd-48fa-8378-225859b6257a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083104Z:bb53c1f4-7bdd-48fa-8378-225859b6257a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9e057aa7-9783-452b-8695-3fda6d607d43", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:31:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9e148770-3f8e-4c61-9054-93f806aecab0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083134Z:9e148770-3f8e-4c61-9054-93f806aecab0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f2370811-1952-4b36-8c8c-fa600e109989", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:32:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c1d79d55-9b69-4299-94bc-5b17a1c937f0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083204Z:c1d79d55-9b69-4299-94bc-5b17a1c937f0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "809a61f5-18a8-40fe-8dd5-3fa9343afc82", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:32:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3f6efa87-73ad-4a7c-aa5a-e6a7fa93f78f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083235Z:3f6efa87-73ad-4a7c-aa5a-e6a7fa93f78f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8120cebc-603b-495c-9999-d0223e342b65", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:33:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4dd80c8b-7f28-4501-b23b-55bbd12e44f6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083306Z:4dd80c8b-7f28-4501-b23b-55bbd12e44f6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a1e63607-c9ae-4d10-97ba-c67fedeb1c3d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:33:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7092702b-448e-47ea-9184-1d8dde09f12b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083336Z:7092702b-448e-47ea-9184-1d8dde09f12b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "348eebb9-426e-4d31-8866-b443777312c0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:34:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5e8bf299-8c20-4e3e-8372-825357eea634", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083407Z:5e8bf299-8c20-4e3e-8372-825357eea634", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5a94a2b3-880f-46bf-a787-fd844e84ffb8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:34:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f879b05b-27e4-409d-98e0-ba34a55b5f9e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083437Z:f879b05b-27e4-409d-98e0-ba34a55b5f9e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "816c7830-85e5-4786-95a9-14b0d660da4a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:35:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8e206e0e-b017-4c9d-88fe-3d6d3e97a258", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083507Z:8e206e0e-b017-4c9d-88fe-3d6d3e97a258", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "84560e88-272d-4f4b-ab02-e4ceeca46b86", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:35:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f8b1b5d0-c609-42ee-a3fa-d7c60b6eab67", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083538Z:f8b1b5d0-c609-42ee-a3fa-d7c60b6eab67", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c52dec34-b6d6-4af9-8aa5-58f9aee1461c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:36:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "11a126a6-9297-421b-9b11-dc8a6ae15211", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083608Z:11a126a6-9297-421b-9b11-dc8a6ae15211", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3a26ede0-f865-4e26-b7df-75d98aeb5999", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:36:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "182552a1-3efd-490b-a8ce-012ebc8e52fe", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083639Z:182552a1-3efd-490b-a8ce-012ebc8e52fe", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f97cfdbb-7e0d-4bbd-9949-80831c94ef76", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:37:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6071f849-3c04-499c-a03f-222ce7b1d380", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083709Z:6071f849-3c04-499c-a03f-222ce7b1d380", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "29750ce3-553a-4cfe-8c7a-0f75605c68c5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:37:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad5a09eb-e8ec-471f-9fac-e1bf954dea68", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083740Z:ad5a09eb-e8ec-471f-9fac-e1bf954dea68", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "81cd8f71-041c-4ba4-b902-00b430941ffe", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:38:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "678953fe-a22a-4e04-a36c-66df55d0dc75", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083810Z:678953fe-a22a-4e04-a36c-66df55d0dc75", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "21e4a30e-cc9c-4994-8dba-59c756e78cd0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:38:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8fd5778e-f401-4745-aab4-b273733a3509", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083841Z:8fd5778e-f401-4745-aab4-b273733a3509", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "51acee3c-7e8b-45bc-abd6-2eab6b770480", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:39:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "56afb891-084b-4541-99e4-15e01a99dc33", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083911Z:56afb891-084b-4541-99e4-15e01a99dc33", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "61d5f9d8-8846-44d1-b460-ccc08568d035", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:39:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "23e8a103-56e8-4306-bde3-35b45d230279", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T083942Z:23e8a103-56e8-4306-bde3-35b45d230279", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ddd189b1-cf7a-4e56-a9f5-4b58fa79ff80", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:40:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c23dc68b-20f4-4b5a-b5f3-a4f02f419e03", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084012Z:c23dc68b-20f4-4b5a-b5f3-a4f02f419e03", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "acf58bc9-67ab-44e9-93d2-5ae9b4392593", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:40:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "31a9808c-f648-4887-8045-fcb6f06a8b30", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084043Z:31a9808c-f648-4887-8045-fcb6f06a8b30", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0b3a1ba9-8d77-438e-a3dc-937bbb52732e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:41:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "94cf6d78-3a24-4ba3-a18f-078ddcaad353", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084113Z:94cf6d78-3a24-4ba3-a18f-078ddcaad353", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c8f01574-aed4-4154-a8c5-ed5e826f3d88", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:41:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "87b02088-4abc-4526-b10d-258b26873ba8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084144Z:87b02088-4abc-4526-b10d-258b26873ba8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b91358b9-85b1-46af-9b36-998b5964a08a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:42:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8441d1b1-0fee-4d6d-b2ef-29322aa66b41", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084214Z:8441d1b1-0fee-4d6d-b2ef-29322aa66b41", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1a530bda-3b82-4a2c-8f45-67e17f22defd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:42:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9f85eb78-3eda-44b0-8b6e-cec1fdb6c60f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084245Z:9f85eb78-3eda-44b0-8b6e-cec1fdb6c60f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "184f6f51-9ef9-4f04-bc40-7f846041c3b8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:43:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "af19def4-8ef4-4461-9120-765bbe933745", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084315Z:af19def4-8ef4-4461-9120-765bbe933745", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6d0d6903-4d3b-4e77-b263-32b1022e5606", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:43:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "15b3e66d-4bc1-4fe0-9703-8287eb6aa345", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084345Z:15b3e66d-4bc1-4fe0-9703-8287eb6aa345", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fadec9de-c5ac-41d2-92e4-ec93792d608f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:44:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "899b239c-e856-4edc-bd1c-279fd9d6350d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084416Z:899b239c-e856-4edc-bd1c-279fd9d6350d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6b24b588-201c-4a08-ab7b-a937101d76a1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:44:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "52c25a14-41e4-42f8-be1f-6ba0d8c4deb2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084447Z:52c25a14-41e4-42f8-be1f-6ba0d8c4deb2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "659b85fa-fd8f-4715-9c84-fb8f75ae95d6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:45:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "442d9cee-405b-48e5-92d6-2c1137695a50", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084517Z:442d9cee-405b-48e5-92d6-2c1137695a50", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fa93df33-cd0d-4952-8abd-c1f6dcbed683", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:45:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9827c5e6-dacf-40b6-97ba-dd7882421d5e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084548Z:9827c5e6-dacf-40b6-97ba-dd7882421d5e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8898bacd-36e4-4454-b1bb-6f35316dc8cd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:46:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b3ff8903-1e06-46ff-a8d4-b44b08c660e1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084618Z:b3ff8903-1e06-46ff-a8d4-b44b08c660e1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c3491f27-e664-4fd5-8b14-e4902c888893", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:46:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "72975854-6b54-4ed5-a873-f235253a7a99", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084649Z:72975854-6b54-4ed5-a873-f235253a7a99", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0314d1c2-2498-4843-b0d2-d4f854c977c4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:47:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2958b347-397d-4bbd-9673-9cc39d182480", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084719Z:2958b347-397d-4bbd-9673-9cc39d182480", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d32dc656-fcd5-48e1-b310-e43cbef794d8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:47:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "906ce160-6ceb-4f90-b515-cf1f395e92b9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084750Z:906ce160-6ceb-4f90-b515-cf1f395e92b9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "65c9283c-104d-49c7-b9ce-76843f8b715a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:20 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "04872db8-d3ae-4b57-86a4-5744efb5f737", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084820Z:04872db8-d3ae-4b57-86a4-5744efb5f737", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2647650a-c5b7-46e6-b936-493e4756c7e9", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:20 GMT", + "content-length" : "1539", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5558fd4d-4dd2-416d-91fe-c86118668ca8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084821Z:5558fd4d-4dd2-416d-91fe-c86118668ca8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2f3983a2-c6bf-40f0-91a6-b3ee9bb5fae1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704\",\"name\":\"hdisdk-applications-hue17f7800704\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"94cf19e1-f83e-49c4-87f6-f92c27f5fcd4\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T08:27:58.53\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-applications-hue17f7800704-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-applications-hue17f7800704.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:22 GMT", + "content-length" : "856", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e9c9f977-2b7d-4b81-8ecd-28582771fa6f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084823Z:e9c9f977-2b7d-4b81-8ecd-28582771fa6f", + "x-ms-hdi-appuri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"4502F1CE-816D-4B4D-84DF-551F8536296D\"", + "cache-control" : "no-cache", + "x-ms-request-id" : "51133642-573c-4cc6-af43-2a040ca4f4a2", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"4502F1CE-816D-4B4D-84DF-551F8536296D\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:22 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a18b362e-4513-423e-814b-b773b8d39dd1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084823Z:a18b362e-4513-423e-814b-b773b8d39dd1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0c8c21a4-dfb2-4875-b8f2-dc174f063cf2", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:23 GMT", + "content-length" : "856", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "20148865-1bbd-43be-ac67-a26236dcb649", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084824Z:20148865-1bbd-43be-ac67-a26236dcb649", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b74eac14-34c2-4821-80ea-8c270f47dba4", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"4502F1CE-816D-4B4D-84DF-551F8536296D\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"Accepted\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:53 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d104da87-ed28-43ca-9afe-8748dd864233", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084854Z:d104da87-ed28-43ca-9afe-8748dd864233", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "776cdd37-f9ce-4b49-85f0-a31a6bddff3c", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:48:54 GMT", + "content-length" : "868", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "53a564f6-b171-49a1-b199-cc1cd7f340d7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084855Z:53a564f6-b171-49a1-b199-cc1cd7f340d7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "74cef5f0-7b77-4583-8707-9bad99d34cd8", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:49:25 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d96aeabe-386e-490b-859d-d245e5bb2d00", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084925Z:d96aeabe-386e-490b-859d-d245e5bb2d00", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d31da3ae-4d06-494a-8009-f34e1aa980e6", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:49:26 GMT", + "content-length" : "868", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d4322504-b572-4c53-a969-114ff9f90903", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084926Z:d4322504-b572-4c53-a969-114ff9f90903", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "40738a3b-ab7f-44e4-8c42-f4da24925c52", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:49:56 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7110c51a-3b0b-4d02-89ca-2a89ee075b13", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084957Z:7110c51a-3b0b-4d02-89ca-2a89ee075b13", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd6954cc-76aa-4cd3-8eb2-3651628be981", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:49:57 GMT", + "content-length" : "868", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "41729f19-74d8-4774-8ed1-5d6707c3d142", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T084957Z:41729f19-74d8-4774-8ed1-5d6707c3d142", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1ffacb0e-30b7-4e18-9296-ae4e0d8eb7a3", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:50:28 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "794580e9-a13d-45f1-b43f-6f4cd3de26f7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085028Z:794580e9-a13d-45f1-b43f-6f4cd3de26f7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9bc64b88-7d3c-40cc-b853-8a1594bde748", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:50:28 GMT", + "content-length" : "868", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "34ab2619-b51e-4713-80c2-59b7108b0d3c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085028Z:34ab2619-b51e-4713-80c2-59b7108b0d3c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "86903716-7bc1-4416-999c-13238683642e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:50:59 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "159e5a6c-5c4d-4c41-9bbd-29727c39422e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085059Z:159e5a6c-5c4d-4c41-9bbd-29727c39422e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1b24e2e5-06e8-412b-932d-fff2e5855f17", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:51:00 GMT", + "content-length" : "868", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3c4bf824-637e-4351-a609-3e2fc0a99219", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085100Z:3c4bf824-637e-4351-a609-3e2fc0a99219", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f7cc9990-a967-4f44-8993-75f8a8bb733c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:51:29 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11941", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6be04a26-b9a4-433c-b35d-abad82c2fe9a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085130Z:6be04a26-b9a4-433c-b35d-abad82c2fe9a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "40132bd8-b6e1-4194-8ebf-7c11f55e91d1", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:51:30 GMT", + "content-length" : "868", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11940", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e426a298-c7b9-4004-bc05-dd7033de700e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085131Z:e426a298-c7b9-4004-bc05-dd7033de700e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "00b77f2b-9ac7-4de4-a533-becb4c4b0224", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"498D3991-2360-4016-B13C-A23DF4C17A0A\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"AzureVMConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:52:00 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11939", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7362dcdc-52f8-4333-aef1-3761aab6cfce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085201Z:7362dcdc-52f8-4333-aef1-3761aab6cfce", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5cf73091-8eb4-453c-a4d6-24c372db11ad", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:52:01 GMT", + "content-length" : "872", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11938", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2ea9c2dd-7af9-41cf-8e72-0564e90ab4f6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085201Z:2ea9c2dd-7af9-41cf-8e72-0564e90ab4f6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1976d8cd-e6a3-40eb-b799-c853becc76d1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"5350053D-CC4D-4844-8373-AB218D871A24\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:52:32 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11937", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d171bc2b-2165-4910-ad84-b1604dadc140", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085232Z:d171bc2b-2165-4910-ad84-b1604dadc140", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2d07a405-5a64-4e6e-bfd3-c6cba86395b7", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:52:32 GMT", + "content-length" : "872", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11936", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1ec33801-bc54-4449-85a2-3a55c902de37", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085233Z:1ec33801-bc54-4449-85a2-3a55c902de37", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7ad0e510-2c87-4dbc-98be-e3e0ba7ce756", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"5350053D-CC4D-4844-8373-AB218D871A24\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:53:03 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11935", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3ae8c3b3-2602-4797-8ffc-c6fd215d28cc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085303Z:3ae8c3b3-2602-4797-8ffc-c6fd215d28cc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5d47ef00-7207-4c70-8c9b-ae6256536437", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:53:04 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11934", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d9571b26-5fa3-445e-b97e-8ff06ba419ad", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085304Z:d9571b26-5fa3-445e-b97e-8ff06ba419ad", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd4a9647-884b-4dd9-aa04-301568148a4c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:53:33 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11933", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "038925f8-996b-473d-9bc7-61e06c7a9260", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085334Z:038925f8-996b-473d-9bc7-61e06c7a9260", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5340c827-4088-4f6e-9ab6-6d7bfde866b8", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:53:34 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11932", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5ecf711f-7c35-482a-ad6e-46817ebf2573", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085334Z:5ecf711f-7c35-482a-ad6e-46817ebf2573", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e19b242e-a067-45c0-bd79-5d206beab8f0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:54:05 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11931", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "93f797ce-45c7-44f6-91c8-894ac11081e8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085405Z:93f797ce-45c7-44f6-91c8-894ac11081e8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b0ad27c1-f8bd-4a7a-b259-30c148e81f2f", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:54:06 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11930", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8cc3e7e1-3109-467d-bfb2-784e2549bec2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085406Z:8cc3e7e1-3109-467d-bfb2-784e2549bec2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8cb74ee5-21e0-420a-84f5-4560481b58c4", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:54:36 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11929", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3d3a3152-a9ae-4194-8366-8162647bf7c9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085437Z:3d3a3152-a9ae-4194-8366-8162647bf7c9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ac873732-1d05-4519-bd83-a2e818111dbe", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:54:36 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11928", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d0366d18-30d9-49f7-954e-a5c7f76ce506", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085437Z:d0366d18-30d9-49f7-954e-a5c7f76ce506", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6d58c648-549f-4f45-9670-a8f17077e956", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:55:07 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11927", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2c027913-bbb9-41ff-8253-fd0c8b073d23", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085507Z:2c027913-bbb9-41ff-8253-fd0c8b073d23", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "36eaa67e-794b-40a5-8ca8-7774ee678a0b", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:55:07 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11926", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e49817e6-c282-4896-b7d4-6a9e412690c0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085508Z:e49817e6-c282-4896-b7d4-6a9e412690c0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a7084238-e5a7-45fc-a5fc-11e90eac6707", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:55:38 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11925", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a6a257fb-48a5-4bf6-9146-619e22e30070", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085538Z:a6a257fb-48a5-4bf6-9146-619e22e30070", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "35c37e57-08a8-46d4-81c4-87f346bf8ae0", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:55:38 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11924", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ac9c55ec-5254-4cf1-beca-4513698f3b3e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085539Z:ac9c55ec-5254-4cf1-beca-4513698f3b3e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f0784eec-9d01-45f8-87dd-1375a7681728", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:09 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11923", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7176828f-9773-4172-9e01-d1fae78abe29", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085609Z:7176828f-9773-4172-9e01-d1fae78abe29", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "42340f5d-117c-4b57-abe6-9253946f1c8c", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:10 GMT", + "content-length" : "926", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11922", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0febd35f-6c29-4a58-ba98-5be70d49414b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085610Z:0febd35f-6c29-4a58-ba98-5be70d49414b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0b54b639-5b24-4b95-b841-99a25e25adf8", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"3C944A97-2FA8-4B90-81A2-25EFF0D2D5A7\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":null,\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"InProgress\",\"applicationState\":\"ApplicationConfiguration\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:39 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11921", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7d92003a-2512-47fd-8122-ef634c3f2355", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085640Z:7d92003a-2512-47fd-8122-ef634c3f2355", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d60ebe60-13a8-4286-ae4b-697ea6b7f47f", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:40 GMT", + "content-length" : "979", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11920", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0b898f8b-dee2-4212-9c81-2a892ea4047a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085641Z:0b898f8b-dee2-4212-9c81-2a892ea4047a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3c9ae073-e78a-4b21-a6b8-bf0f5d5deff8", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"27F1B13D-2EAE-4C89-A75B-C92863958D55\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":\"MyApplication.hdisdk-applications-hue17f7800704-ssh.azurehdinsight.net:22\",\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"Succeeded\",\"applicationState\":\"Running\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:40 GMT", + "content-length" : "991", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11919", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "47907e03-3d85-4abe-a12c-040d13dc2c74", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085641Z:47907e03-3d85-4abe-a12c-040d13dc2c74", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "851c6c96-8bdf-47e2-b6f6-c2d41ad09eb2", + "Body" : "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication\",\"name\":\"MyApplication\",\"type\":\"Microsoft.HDInsight/clusters/applications\",\"etag\":\"27F1B13D-2EAE-4C89-A75B-C92863958D55\",\"tags\":null,\"properties\":{\"computeProfile\":{\"roles\":[{\"name\":\"edgenode\",\"targetInstanceCount\":1,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"encryptDataDisks\":false}]},\"installScriptActions\":[{\"name\":\"InstallHue\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxhueconfigactionv02/install-hue-uber-v02.sh\",\"roles\":[\"edgenode\"]}],\"uninstallScriptActions\":[],\"httpsEndpoints\":[],\"sshEndpoints\":[{\"location\":\"MyApplication.hdisdk-applications-hue17f7800704-ssh.azurehdinsight.net:22\",\"destinationPort\":22,\"publicPort\":22}],\"provisioningState\":\"Succeeded\",\"applicationState\":\"Running\",\"createdDate\":\"2019-01-04T08:48:22.913\",\"applicationType\":\"CustomApplication\"}}]}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications/MyApplication?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:42 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c67548cf-1b5c-43bf-a972-d12ab277c09d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085643Z:c67548cf-1b5c-43bf-a972-d12ab277c09d", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/operationresults/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "8898f1fd-0472-4bae-988d-e1805c50affe", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:56:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11918", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a31305d5-cd10-4c4d-8594-fef1c9ddcdf5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085643Z:a31305d5-cd10-4c4d-8594-fef1c9ddcdf5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "012907f5-5b1b-4a5e-a8cf-20f0d39dd4ac", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11917", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "45d09c5f-0a85-44cb-ae96-6d0cb8044607", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085713Z:45d09c5f-0a85-44cb-ae96-6d0cb8044607", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b076b6eb-e416-4700-a840-962f42df96be", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/azureasyncoperations/b27b96cc-a85a-4777-a9d2-16b38e1f5415-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:43 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11916", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d8301079-a78d-4ec4-8dcf-b93bf9b4f350", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085743Z:d8301079-a78d-4ec4-8dcf-b93bf9b4f350", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bc8bb6d6-ac10-4630-96d8-2aab2480211e", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-f697032599c8/providers/Microsoft.HDInsight/clusters/hdisdk-applications-hue17f7800704/applications?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:43 GMT", + "content-length" : "12", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11915", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ce61e2b1-b570-45c6-aa3f-330bbe06e1e1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085743Z:ce61e2b1-b570-45c6-aa3f-330bbe06e1e1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "512a1ffd-7b51-4675-ab0c-e03a9862f880", + "Body" : "{\"value\":[]}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-f697032599c8?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 08:57:45 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7b27dd23-2317-495a-8e32-f5ce54dca272", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T085745Z:7b27dd23-2317-495a-8e32-f5ce54dca272", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJERjY5NzAzMjU5OUM4LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b27dd23-2317-495a-8e32-f5ce54dca272", + "Body" : "" + } + } ], + "variables" : [ "hdijava-f697032599c8", "hdijavabe38211208e0", "hdisdk-applications-hue17f7800704" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testOmsOnRunningCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testOmsOnRunningCluster.json index 09adf878375e6..49d4933403193 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testOmsOnRunningCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testOmsOnRunningCluster.json @@ -1,2164 +1,2164 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-372156306905?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:17 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4b166567-c199-4c60-ac36-2e2e97f02965", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T143017Z:4b166567-c199-4c60-ac36-2e2e97f02965", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4b166567-c199-4c60-ac36-2e2e97f02965", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-372156306905?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:18 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "38dfc68e-ab62-4e41-90e8-18aec39a1556", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143018Z:38dfc68e-ab62-4e41-90e8-18aec39a1556", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "38dfc68e-ab62-4e41-90e8-18aec39a1556", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905\",\"name\":\"hdijava-372156306905\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:20 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "37dddfa9-5bfa-429b-a583-8de912d71bf5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143020Z:37dddfa9-5bfa-429b-a583-8de912d71bf5", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "803c4aa1-b764-45d7-bebf-a1e27324b8bf", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:20 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a1e20a25-30c6-4917-b45d-fddc2b6a6d6c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143020Z:a1e20a25-30c6-4917-b45d-fddc2b6a6d6c", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "7ed0c6b8-31ea-483e-b774-eba05757fbd0", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:37 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "df1ec2b2-91d3-45b3-928b-6ed77a6b61d7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143037Z:df1ec2b2-91d3-45b3-928b-6ed77a6b61d7", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a45f63f-5016-4e38-9bfc-b25003ebdc76", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e\",\"name\":\"hdijavaae652236d30e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:30:19.7838917Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaae652236d30e.blob.core.windows.net/\",\"queue\":\"https://hdijavaae652236d30e.queue.core.windows.net/\",\"table\":\"https://hdijavaae652236d30e.table.core.windows.net/\",\"file\":\"https://hdijavaae652236d30e.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:37 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9b34bd8b-4110-4d1a-b386-509cf6387e60", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143037Z:9b34bd8b-4110-4d1a-b386-509cf6387e60", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "3a08faac-bae5-4065-a42f-8c6bf92b6967", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e\",\"name\":\"hdijavaae652236d30e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:30:19.7838917Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaae652236d30e.blob.core.windows.net/\",\"queue\":\"https://hdijavaae652236d30e.queue.core.windows.net/\",\"table\":\"https://hdijavaae652236d30e.table.core.windows.net/\",\"file\":\"https://hdijavaae652236d30e.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:37 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2e3c59c5-405c-4a96-92ce-6eef4a2d44ce", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143037Z:2e3c59c5-405c-4a96-92ce-6eef4a2d44ce", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "7403ad80-db6c-4441-b0c7-0cb18d8733d1", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"F86onEbKuIeiAa5DvAj0QLCr+TzMcwxO9tTs2JyxxrVWotjPad07j1ggv4XyeBbMkJ6+uBQMRKb5ViGZpYai2w==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"PDYUOkC6Py3e8ye63vUlbEQ4XbKwW46CjLwaTbPuYACo9G3T8NvpEFqguA6w/MtU79vQ9XLAAoJlyg/EOP746Q==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:56 GMT", - "content-length" : "1262", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7fb9e155-ef2b-4d32-9c2b-4074b0b186a2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143057Z:7fb9e155-ef2b-4d32-9c2b-4074b0b186a2", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"0206da97-4539-4ee5-b785-9bbaf9672206\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d?api-version=2018-06-01-preview", - "x-ms-request-id" : "11f5a60e-76a2-4eda-bb9b-8ac375a38eb2", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d\",\"name\":\"hdisdk-oms0db706808a0edb9d\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"0206da97-4539-4ee5-b785-9bbaf9672206\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.3\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T14:30:56.88\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:30:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b58c46d1-c608-4fe3-80bf-fe4c3ce36981", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143057Z:b58c46d1-c608-4fe3-80bf-fe4c3ce36981", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0a767fa4-2c8d-45a7-90e5-1b77e3e5d736", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:31:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ad8c33d0-3cb3-40ea-85bf-7b1d60b4e3ca", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143128Z:ad8c33d0-3cb3-40ea-85bf-7b1d60b4e3ca", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6082ba52-6ceb-4c8d-93a5-94be60e81b82", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:31:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e487e507-dea7-4e68-8a77-ca0928f217fb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143158Z:e487e507-dea7-4e68-8a77-ca0928f217fb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e30eb34b-a718-4fba-8bd1-05d00d44ba06", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:32:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7941c156-7d8f-461a-81d2-c79cf1876d86", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143229Z:7941c156-7d8f-461a-81d2-c79cf1876d86", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6ef34bc9-87e4-437f-ae19-5c866020947f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:32:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "78c8999f-b55d-4e72-abf3-77437507176b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143259Z:78c8999f-b55d-4e72-abf3-77437507176b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3b3e0300-018e-40ba-b7b7-2ae4f90b97fe", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:33:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "44ff67cb-ca59-4df2-89dd-51a949def756", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143330Z:44ff67cb-ca59-4df2-89dd-51a949def756", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "698981d4-07cc-48fd-a960-c6fa350c3a20", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:34:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0e92cb7-d520-4856-9796-da09f67dc51a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143400Z:e0e92cb7-d520-4856-9796-da09f67dc51a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "610c0c8b-578c-4883-944d-c8f0c0085e4a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:34:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "71cefdbc-6522-4521-b168-dff2c2027497", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143431Z:71cefdbc-6522-4521-b168-dff2c2027497", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a70eb00a-bf6c-4c2c-bea6-e6f8465ee014", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:35:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "73811cdc-61ae-4fce-8423-d8a5a120c5c5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143501Z:73811cdc-61ae-4fce-8423-d8a5a120c5c5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2133de16-c998-4e7d-b96f-34a7d6c1e180", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:35:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c327a639-76e3-4426-9aca-cdbaadea6110", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143532Z:c327a639-76e3-4426-9aca-cdbaadea6110", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "aef09560-078e-46df-b3a3-f817fbe44b56", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:36:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8d72e164-f162-4dbe-bca0-f404f1daaab4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143602Z:8d72e164-f162-4dbe-bca0-f404f1daaab4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "180519b7-2ce5-4b5e-8968-f1c7efb2ed9f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:36:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ab2b6c95-6f59-433e-8e3f-fb8fabc50a6a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143633Z:ab2b6c95-6f59-433e-8e3f-fb8fabc50a6a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "20567baa-281d-4080-9fda-4ef43e29027b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:37:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "791195b9-4dd7-445f-838d-57424d37b928", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143703Z:791195b9-4dd7-445f-838d-57424d37b928", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9fb94359-2ebf-44e7-92a5-34c5335de90b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:37:33 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8eef03f8-3367-47e7-9064-c7130b9fe601", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143734Z:8eef03f8-3367-47e7-9064-c7130b9fe601", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fc9c9de5-4469-4802-8c61-c62332fe182f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:38:03 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f88e359a-d336-4003-b1db-bba43578613d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143804Z:f88e359a-d336-4003-b1db-bba43578613d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bb690130-5de2-4e4c-baca-76a214508b97", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:38:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a50c3afa-11af-4574-9b7a-0e2aea7a0db3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143835Z:a50c3afa-11af-4574-9b7a-0e2aea7a0db3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2dbd74d2-b1d1-4451-89ce-7af5d132d498", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:39:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ade3a33d-7d06-437d-8021-cab59f77bdc4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143905Z:ade3a33d-7d06-437d-8021-cab59f77bdc4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "31bbe846-3bac-4eac-962e-069ce1e92555", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:39:36 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7a74baa3-2777-4153-979b-460f01099fdb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T143936Z:7a74baa3-2777-4153-979b-460f01099fdb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9a90359b-9944-4859-abdf-0e9dd0b8c037", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:40:06 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0ee58fc8-20db-493c-8967-d204d016b644", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144006Z:0ee58fc8-20db-493c-8967-d204d016b644", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "05e16eaf-6762-4369-b8c3-2016484ae43f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:40:37 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d49c52eb-6cbf-464a-954f-7cddcb42e17f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144037Z:d49c52eb-6cbf-464a-954f-7cddcb42e17f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "78c2c9b3-68f9-4ca3-95fb-680db5b564c3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:41:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "98942b55-4320-4e94-a239-6e50aea0aa4c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144107Z:98942b55-4320-4e94-a239-6e50aea0aa4c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "106bb637-4a8c-41d7-a06d-fb730a6ab6e9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:41:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c16a666b-8d3a-4502-8cb3-780972ed800b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144138Z:c16a666b-8d3a-4502-8cb3-780972ed800b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "23c06fc5-7a2e-4ee6-ad45-1069edf9efa1", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:42:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f9889c05-a7bb-4383-afb9-fa92e031227c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144208Z:f9889c05-a7bb-4383-afb9-fa92e031227c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "60d75a1a-7968-4b8f-a3c0-99108d803441", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:42:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b8e7ead4-0bf9-4ab5-b441-2f2ff7fbe30e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144239Z:b8e7ead4-0bf9-4ab5-b441-2f2ff7fbe30e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9646be62-51a7-44b8-97a0-6f89dab47ac9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:43:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f93983cf-17dd-42e1-87ac-d0f9eb9fe7e1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144309Z:f93983cf-17dd-42e1-87ac-d0f9eb9fe7e1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "730a8433-3976-4c97-9cd2-61677eee1c0d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:43:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "62094408-e8dd-4a2f-b8d7-6e90f0018083", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144340Z:62094408-e8dd-4a2f-b8d7-6e90f0018083", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9445aa7a-a61e-434e-aabb-e13bbf30fb1a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:44:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1d0e5c0e-c7c0-4034-92ed-3d00957b9e54", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144410Z:1d0e5c0e-c7c0-4034-92ed-3d00957b9e54", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b075563-c61c-4d22-bec8-180cc4e724a8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:44:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "97348416-1f15-4b4d-9b8d-eb7c973843eb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144441Z:97348416-1f15-4b4d-9b8d-eb7c973843eb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "412f1853-6f2e-4864-9fa2-60861321efb2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:45:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e1a30c1b-7a4e-4721-91a8-d8f9b54af8f4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144511Z:e1a30c1b-7a4e-4721-91a8-d8f9b54af8f4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b7148419-9e1b-4f6e-88c1-0f38906416c7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:45:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "56068ba3-397e-4b34-8bff-f071f4c5ce72", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144541Z:56068ba3-397e-4b34-8bff-f071f4c5ce72", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4f178626-dca0-4379-9aab-4dd6181e7b48", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:46:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f4f86e77-658d-40de-ab12-0a5252417df2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144612Z:f4f86e77-658d-40de-ab12-0a5252417df2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9abe2c98-5eb0-4897-bb9b-ebb9631ca52f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:46:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4aeb5175-4ab3-4bf0-b8d6-f9e4cc7aeb58", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144642Z:4aeb5175-4ab3-4bf0-b8d6-f9e4cc7aeb58", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8d30f834-2a5e-4935-87d6-fcd33dd89678", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:47:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3c3a9c93-745e-486d-8fcd-975840801a0a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144713Z:3c3a9c93-745e-486d-8fcd-975840801a0a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "65837dc3-4700-4d61-b141-75146924d92d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:47:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "208abd5a-6efd-40ea-acf4-22bbb2f7b019", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144743Z:208abd5a-6efd-40ea-acf4-22bbb2f7b019", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "31b52874-d409-4f4e-9193-835fb6224b63", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:48:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8f68b8f6-0c24-4d1c-b4b8-88791806792d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144814Z:8f68b8f6-0c24-4d1c-b4b8-88791806792d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "06ee66b1-9de6-442d-a625-bc2207a93be0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:48:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "409a490a-e7ad-45aa-815f-c22becf60280", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144844Z:409a490a-e7ad-45aa-815f-c22becf60280", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b4cc2ff8-7dfb-4ef1-a906-f2d8482c6fb5", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:49:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "16505aee-3e2b-4f46-9d56-481ac9ff10ba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144914Z:16505aee-3e2b-4f46-9d56-481ac9ff10ba", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "53075f66-7561-41fb-a201-26e7a13a660c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:49:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "71bf0edf-686a-46c1-a9b7-2ff00ad16a5f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T144945Z:71bf0edf-686a-46c1-a9b7-2ff00ad16a5f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "afa3d0cc-e430-4b5e-8cb3-da9750905253", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:50:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bac967ad-f125-45ca-af44-a64f440e8c35", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145015Z:bac967ad-f125-45ca-af44-a64f440e8c35", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ae06c147-dc5b-4767-961f-6ab6a93b3a86", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:50:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "04840541-3721-4a21-b772-6a597c7c16ac", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145046Z:04840541-3721-4a21-b772-6a597c7c16ac", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0e41dd23-588c-401a-a809-b4485673e234", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:51:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2aa3b8b1-c385-440f-a625-3941e0e75aca", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145116Z:2aa3b8b1-c385-440f-a625-3941e0e75aca", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e3b2ff6f-1444-4119-8ad6-643a6406adf0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:51:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7f23ab14-1f0c-4b27-9ebe-8ff3804c5229", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145147Z:7f23ab14-1f0c-4b27-9ebe-8ff3804c5229", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e5d98f80-b5fe-433c-9026-d9a7e35c23e4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:52:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1e618988-905d-41e0-8623-3c8566646f14", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145217Z:1e618988-905d-41e0-8623-3c8566646f14", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "aae27326-5ae2-4945-b854-d3b9c55a812d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:52:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bff1d4a5-5de8-4d38-8510-e6797dd878c2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145248Z:bff1d4a5-5de8-4d38-8510-e6797dd878c2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f6c49ee0-3a75-456b-9c85-fff650152cd4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:53:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "74cad5ff-09fb-4974-9ee7-60d03456b942", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145318Z:74cad5ff-09fb-4974-9ee7-60d03456b942", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2c7d8bbf-3d3d-42e7-bac3-431fd90305f4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:53:48 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ccce9c5a-aab7-4dc5-a36e-9d7cde6fc078", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145349Z:ccce9c5a-aab7-4dc5-a36e-9d7cde6fc078", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9b4b18c3-262e-4def-9609-7df65a1490cb", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:53:48 GMT", - "content-length" : "1508", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5c42da19-5dd5-4e51-9c01-29e4aa223538", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145349Z:5c42da19-5dd5-4e51-9c01-29e4aa223538", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a8402946-14cf-46a1-bee9-2504a42b3686", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d\",\"name\":\"hdisdk-oms0db706808a0edb9d\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"0206da97-4539-4ee5-b785-9bbaf9672206\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.3\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T14:30:56.88\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-oms0db706808a0edb9d-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-oms0db706808a0edb9d.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:53:50 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "38eec2c4-ef55-4157-9575-3f11e5c7d62e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145351Z:38eec2c4-ef55-4157-9575-3f11e5c7d62e", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/operationresults/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "cfc4ca1d-61fa-4669-96ce-85e2c1694a7f", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:53:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bf45f013-5033-43d9-aa53-04bb158f77f1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145351Z:bf45f013-5033-43d9-aa53-04bb158f77f1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "57929674-c59c-4a83-b549-11ec07cc7098", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:54:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "20d81407-8755-4b3b-b470-b4d1e45836e4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145421Z:20d81407-8755-4b3b-b470-b4d1e45836e4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b2f9a9d4-7ee7-40df-b18c-bfdc01c6bedd", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:54:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0216d051-f4d9-4886-b44d-d976959fd635", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145451Z:0216d051-f4d9-4886-b44d-d976959fd635", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ce4f3af4-a7b3-46c2-b472-5058c7dab074", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:55:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e68c1777-9412-4838-bb5f-e3f7d666ce52", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145522Z:e68c1777-9412-4838-bb5f-e3f7d666ce52", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "772fcd52-209d-4dfc-bdb4-dd0d6e455804", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:55:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dd83f736-122b-48a7-b3d9-d4f6840ee185", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145552Z:dd83f736-122b-48a7-b3d9-d4f6840ee185", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "824db110-7b3e-401b-ab67-b0f455f8b0e7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:56:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "98553875-5b20-431a-a0b6-8ff03ce4cb0b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145622Z:98553875-5b20-431a-a0b6-8ff03ce4cb0b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "165dbd22-aa36-4331-94cb-3f20890a3207", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:56:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "999ea14b-d876-4876-b2d6-8e8eb11daabd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145652Z:999ea14b-d876-4876-b2d6-8e8eb11daabd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0daa3cb7-0d60-4c6f-87c6-8b09576c16d7", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:57:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11941", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8ac0e0fe-8082-4f33-a7da-031d6e7a850c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145722Z:8ac0e0fe-8082-4f33-a7da-031d6e7a850c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4f0d7289-1c73-4994-830d-740a795e39ca", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:57:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11940", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1ac727d8-74ed-4872-8ebd-16af038e1c54", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145752Z:1ac727d8-74ed-4872-8ebd-16af038e1c54", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3ebf9f8a-3005-475d-be70-2d943f157f7d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:58:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11939", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "59bfab78-961b-4b67-92ec-b97659ed2c1f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145822Z:59bfab78-961b-4b67-92ec-b97659ed2c1f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "baf79430-cc9c-474a-af4f-23af25d2f8c4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:58:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11938", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f7ff04db-aae1-42d9-bf39-364c58074491", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145852Z:f7ff04db-aae1-42d9-bf39-364c58074491", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "00141308-dfd9-430a-aedc-afed8ab5c339", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:59:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11937", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d66ae1cc-a44c-4bea-ae4d-0cfa96863231", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145923Z:d66ae1cc-a44c-4bea-ae4d-0cfa96863231", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "510fb513-7b3a-4ce4-9f02-0ff5103a5988", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 14:59:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11936", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8352070a-4f90-452b-a354-2622de57afa3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T145953Z:8352070a-4f90-452b-a354-2622de57afa3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bcac5dd9-12a6-4930-a500-e53d18cfd810", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:00:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11935", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c565259d-0175-45bb-9f5f-a9f0907345ae", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150023Z:c565259d-0175-45bb-9f5f-a9f0907345ae", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "36561d6f-cd8e-4ac5-bb78-87d3b42a6a38", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:00:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11934", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c06f5d56-ab9b-4d1e-9f7b-45bc94ca26dc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150054Z:c06f5d56-ab9b-4d1e-9f7b-45bc94ca26dc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b14eb3cb-5f52-42c8-9d56-6e8d3921e5c8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:01:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11933", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "415c4ae7-343e-4d6f-ac2f-f054e069764b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150124Z:415c4ae7-343e-4d6f-ac2f-f054e069764b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c7dfd2a5-e2a5-406e-afd2-8f9eace752de", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:01:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11932", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fdc05d16-f362-4d78-91f8-5b119ead0f29", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150154Z:fdc05d16-f362-4d78-91f8-5b119ead0f29", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e6b60006-5961-491d-877e-e80a2e8480a0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:02:24 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11931", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "40acbb92-01df-4e18-a77d-c47f89ca4bb6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150224Z:40acbb92-01df-4e18-a77d-c47f89ca4bb6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6584c031-143f-4a50-9a4f-2007b3cdaa58", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:02:53 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11930", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b6b385b5-fbff-4883-8e41-9767a3dcff00", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150254Z:b6b385b5-fbff-4883-8e41-9767a3dcff00", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fbf5a252-a42c-4c7b-9501-62701e4657a1", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:02:54 GMT", - "content-length" : "86", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11929", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "10fc7f22-2fa8-4c8f-b379-7c67b3327c53", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150255Z:10fc7f22-2fa8-4c8f-b379-7c67b3327c53", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f236afe9-5906-4f32-98bf-6b11713aa0af", - "Body" : "{\"clusterMonitoringEnabled\":true,\"workspaceId\":\"1d364e89-bb71-4503-aa3d-a23535aea7bd\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:02:54 GMT", - "content-length" : "86", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11928", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "23c1a4a8-fa38-415a-9e1b-e4134fe1e042", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150255Z:23c1a4a8-fa38-415a-9e1b-e4134fe1e042", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c26ebaf5-282a-4de8-85b7-8fdc8c4e051c", - "Body" : "{\"clusterMonitoringEnabled\":true,\"workspaceId\":\"1d364e89-bb71-4503-aa3d-a23535aea7bd\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:02:57 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3ed351b8-4559-431b-98c4-5d161c715fe9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150257Z:3ed351b8-4559-431b-98c4-5d161c715fe9", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/operationresults/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "1dfb97bc-86af-47c5-bdae-3fd642272e5c", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:02:57 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11927", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "78e088be-3610-4ee3-bdd6-102c611358af", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150257Z:78e088be-3610-4ee3-bdd6-102c611358af", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e99798f3-a785-4aef-adf2-3d8771dfdf04", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:03:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11926", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b57ccff8-20d8-49a8-bc80-cd37cb918d53", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150327Z:b57ccff8-20d8-49a8-bc80-cd37cb918d53", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "efd55297-5cef-41f8-954c-4159e93d12ca", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:03:58 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11925", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7ac65d1d-4324-4b67-a8e6-39927944b293", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150358Z:7ac65d1d-4324-4b67-a8e6-39927944b293", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2268c8e1-c68c-4ecc-acb7-7fd949174262", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:03:59 GMT", - "content-length" : "53", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11924", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1ae887f2-da92-428e-b9ee-e5ea76ca409a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150359Z:1ae887f2-da92-428e-b9ee-e5ea76ca409a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0c32b5a9-0bfb-46fa-95fc-e0b97e6e1c84", - "Body" : "{\"clusterMonitoringEnabled\":false,\"workspaceId\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-372156306905?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:00 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "69aebefe-a58f-41f3-97dd-f500ead8ac3b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150400Z:69aebefe-a58f-41f3-97dd-f500ead8ac3b", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMzcyMTU2MzA2OTA1LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "69aebefe-a58f-41f3-97dd-f500ead8ac3b", - "Body" : "" - } - } ], - "variables" : [ "hdijava-372156306905", "hdijavaae652236d30e", "hdisdk-oms0db706808a0edb9d" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-372156306905?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:17 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4b166567-c199-4c60-ac36-2e2e97f02965", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T143017Z:4b166567-c199-4c60-ac36-2e2e97f02965", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4b166567-c199-4c60-ac36-2e2e97f02965", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-372156306905?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:18 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "38dfc68e-ab62-4e41-90e8-18aec39a1556", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143018Z:38dfc68e-ab62-4e41-90e8-18aec39a1556", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "38dfc68e-ab62-4e41-90e8-18aec39a1556", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905\",\"name\":\"hdijava-372156306905\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:20 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "37dddfa9-5bfa-429b-a583-8de912d71bf5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143020Z:37dddfa9-5bfa-429b-a583-8de912d71bf5", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "803c4aa1-b764-45d7-bebf-a1e27324b8bf", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:20 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a1e20a25-30c6-4917-b45d-fddc2b6a6d6c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143020Z:a1e20a25-30c6-4917-b45d-fddc2b6a6d6c", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "7ed0c6b8-31ea-483e-b774-eba05757fbd0", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/803c4aa1-b764-45d7-bebf-a1e27324b8bf?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:37 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "df1ec2b2-91d3-45b3-928b-6ed77a6b61d7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143037Z:df1ec2b2-91d3-45b3-928b-6ed77a6b61d7", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "5a45f63f-5016-4e38-9bfc-b25003ebdc76", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e\",\"name\":\"hdijavaae652236d30e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:30:19.7838917Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaae652236d30e.blob.core.windows.net/\",\"queue\":\"https://hdijavaae652236d30e.queue.core.windows.net/\",\"table\":\"https://hdijavaae652236d30e.table.core.windows.net/\",\"file\":\"https://hdijavaae652236d30e.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:37 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9b34bd8b-4110-4d1a-b386-509cf6387e60", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143037Z:9b34bd8b-4110-4d1a-b386-509cf6387e60", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "3a08faac-bae5-4065-a42f-8c6bf92b6967", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e\",\"name\":\"hdijavaae652236d30e\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T14:30:19.9090069Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T14:30:19.7838917Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijavaae652236d30e.blob.core.windows.net/\",\"queue\":\"https://hdijavaae652236d30e.queue.core.windows.net/\",\"table\":\"https://hdijavaae652236d30e.table.core.windows.net/\",\"file\":\"https://hdijavaae652236d30e.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.Storage/storageAccounts/hdijavaae652236d30e/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:37 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2e3c59c5-405c-4a96-92ce-6eef4a2d44ce", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143037Z:2e3c59c5-405c-4a96-92ce-6eef4a2d44ce", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "7403ad80-db6c-4441-b0c7-0cb18d8733d1", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"F86onEbKuIeiAa5DvAj0QLCr+TzMcwxO9tTs2JyxxrVWotjPad07j1ggv4XyeBbMkJ6+uBQMRKb5ViGZpYai2w==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"PDYUOkC6Py3e8ye63vUlbEQ4XbKwW46CjLwaTbPuYACo9G3T8NvpEFqguA6w/MtU79vQ9XLAAoJlyg/EOP746Q==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:56 GMT", + "content-length" : "1262", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7fb9e155-ef2b-4d32-9c2b-4074b0b186a2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143057Z:7fb9e155-ef2b-4d32-9c2b-4074b0b186a2", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"0206da97-4539-4ee5-b785-9bbaf9672206\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d?api-version=2018-06-01-preview", + "x-ms-request-id" : "11f5a60e-76a2-4eda-bb9b-8ac375a38eb2", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d\",\"name\":\"hdisdk-oms0db706808a0edb9d\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"0206da97-4539-4ee5-b785-9bbaf9672206\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.3\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T14:30:56.88\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:30:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b58c46d1-c608-4fe3-80bf-fe4c3ce36981", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143057Z:b58c46d1-c608-4fe3-80bf-fe4c3ce36981", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0a767fa4-2c8d-45a7-90e5-1b77e3e5d736", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:31:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ad8c33d0-3cb3-40ea-85bf-7b1d60b4e3ca", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143128Z:ad8c33d0-3cb3-40ea-85bf-7b1d60b4e3ca", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6082ba52-6ceb-4c8d-93a5-94be60e81b82", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:31:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e487e507-dea7-4e68-8a77-ca0928f217fb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143158Z:e487e507-dea7-4e68-8a77-ca0928f217fb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e30eb34b-a718-4fba-8bd1-05d00d44ba06", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:32:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7941c156-7d8f-461a-81d2-c79cf1876d86", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143229Z:7941c156-7d8f-461a-81d2-c79cf1876d86", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6ef34bc9-87e4-437f-ae19-5c866020947f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:32:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "78c8999f-b55d-4e72-abf3-77437507176b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143259Z:78c8999f-b55d-4e72-abf3-77437507176b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b3e0300-018e-40ba-b7b7-2ae4f90b97fe", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:33:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "44ff67cb-ca59-4df2-89dd-51a949def756", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143330Z:44ff67cb-ca59-4df2-89dd-51a949def756", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "698981d4-07cc-48fd-a960-c6fa350c3a20", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:34:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0e92cb7-d520-4856-9796-da09f67dc51a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143400Z:e0e92cb7-d520-4856-9796-da09f67dc51a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "610c0c8b-578c-4883-944d-c8f0c0085e4a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:34:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "71cefdbc-6522-4521-b168-dff2c2027497", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143431Z:71cefdbc-6522-4521-b168-dff2c2027497", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a70eb00a-bf6c-4c2c-bea6-e6f8465ee014", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:35:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "73811cdc-61ae-4fce-8423-d8a5a120c5c5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143501Z:73811cdc-61ae-4fce-8423-d8a5a120c5c5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2133de16-c998-4e7d-b96f-34a7d6c1e180", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:35:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c327a639-76e3-4426-9aca-cdbaadea6110", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143532Z:c327a639-76e3-4426-9aca-cdbaadea6110", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "aef09560-078e-46df-b3a3-f817fbe44b56", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:36:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8d72e164-f162-4dbe-bca0-f404f1daaab4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143602Z:8d72e164-f162-4dbe-bca0-f404f1daaab4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "180519b7-2ce5-4b5e-8968-f1c7efb2ed9f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:36:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ab2b6c95-6f59-433e-8e3f-fb8fabc50a6a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143633Z:ab2b6c95-6f59-433e-8e3f-fb8fabc50a6a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "20567baa-281d-4080-9fda-4ef43e29027b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:37:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "791195b9-4dd7-445f-838d-57424d37b928", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143703Z:791195b9-4dd7-445f-838d-57424d37b928", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9fb94359-2ebf-44e7-92a5-34c5335de90b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:37:33 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8eef03f8-3367-47e7-9064-c7130b9fe601", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143734Z:8eef03f8-3367-47e7-9064-c7130b9fe601", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fc9c9de5-4469-4802-8c61-c62332fe182f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:38:03 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f88e359a-d336-4003-b1db-bba43578613d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143804Z:f88e359a-d336-4003-b1db-bba43578613d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bb690130-5de2-4e4c-baca-76a214508b97", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:38:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a50c3afa-11af-4574-9b7a-0e2aea7a0db3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143835Z:a50c3afa-11af-4574-9b7a-0e2aea7a0db3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2dbd74d2-b1d1-4451-89ce-7af5d132d498", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:39:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ade3a33d-7d06-437d-8021-cab59f77bdc4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143905Z:ade3a33d-7d06-437d-8021-cab59f77bdc4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "31bbe846-3bac-4eac-962e-069ce1e92555", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:39:36 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7a74baa3-2777-4153-979b-460f01099fdb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T143936Z:7a74baa3-2777-4153-979b-460f01099fdb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9a90359b-9944-4859-abdf-0e9dd0b8c037", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:40:06 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0ee58fc8-20db-493c-8967-d204d016b644", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144006Z:0ee58fc8-20db-493c-8967-d204d016b644", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "05e16eaf-6762-4369-b8c3-2016484ae43f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:40:37 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d49c52eb-6cbf-464a-954f-7cddcb42e17f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144037Z:d49c52eb-6cbf-464a-954f-7cddcb42e17f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "78c2c9b3-68f9-4ca3-95fb-680db5b564c3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:41:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "98942b55-4320-4e94-a239-6e50aea0aa4c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144107Z:98942b55-4320-4e94-a239-6e50aea0aa4c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "106bb637-4a8c-41d7-a06d-fb730a6ab6e9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:41:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c16a666b-8d3a-4502-8cb3-780972ed800b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144138Z:c16a666b-8d3a-4502-8cb3-780972ed800b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "23c06fc5-7a2e-4ee6-ad45-1069edf9efa1", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:42:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f9889c05-a7bb-4383-afb9-fa92e031227c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144208Z:f9889c05-a7bb-4383-afb9-fa92e031227c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "60d75a1a-7968-4b8f-a3c0-99108d803441", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:42:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b8e7ead4-0bf9-4ab5-b441-2f2ff7fbe30e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144239Z:b8e7ead4-0bf9-4ab5-b441-2f2ff7fbe30e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9646be62-51a7-44b8-97a0-6f89dab47ac9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:43:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f93983cf-17dd-42e1-87ac-d0f9eb9fe7e1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144309Z:f93983cf-17dd-42e1-87ac-d0f9eb9fe7e1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "730a8433-3976-4c97-9cd2-61677eee1c0d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:43:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "62094408-e8dd-4a2f-b8d7-6e90f0018083", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144340Z:62094408-e8dd-4a2f-b8d7-6e90f0018083", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9445aa7a-a61e-434e-aabb-e13bbf30fb1a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:44:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1d0e5c0e-c7c0-4034-92ed-3d00957b9e54", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144410Z:1d0e5c0e-c7c0-4034-92ed-3d00957b9e54", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b075563-c61c-4d22-bec8-180cc4e724a8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:44:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "97348416-1f15-4b4d-9b8d-eb7c973843eb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144441Z:97348416-1f15-4b4d-9b8d-eb7c973843eb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "412f1853-6f2e-4864-9fa2-60861321efb2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:45:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e1a30c1b-7a4e-4721-91a8-d8f9b54af8f4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144511Z:e1a30c1b-7a4e-4721-91a8-d8f9b54af8f4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b7148419-9e1b-4f6e-88c1-0f38906416c7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:45:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "56068ba3-397e-4b34-8bff-f071f4c5ce72", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144541Z:56068ba3-397e-4b34-8bff-f071f4c5ce72", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4f178626-dca0-4379-9aab-4dd6181e7b48", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:46:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f4f86e77-658d-40de-ab12-0a5252417df2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144612Z:f4f86e77-658d-40de-ab12-0a5252417df2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9abe2c98-5eb0-4897-bb9b-ebb9631ca52f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:46:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4aeb5175-4ab3-4bf0-b8d6-f9e4cc7aeb58", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144642Z:4aeb5175-4ab3-4bf0-b8d6-f9e4cc7aeb58", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8d30f834-2a5e-4935-87d6-fcd33dd89678", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:47:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3c3a9c93-745e-486d-8fcd-975840801a0a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144713Z:3c3a9c93-745e-486d-8fcd-975840801a0a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "65837dc3-4700-4d61-b141-75146924d92d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:47:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "208abd5a-6efd-40ea-acf4-22bbb2f7b019", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144743Z:208abd5a-6efd-40ea-acf4-22bbb2f7b019", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "31b52874-d409-4f4e-9193-835fb6224b63", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:48:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8f68b8f6-0c24-4d1c-b4b8-88791806792d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144814Z:8f68b8f6-0c24-4d1c-b4b8-88791806792d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "06ee66b1-9de6-442d-a625-bc2207a93be0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:48:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "409a490a-e7ad-45aa-815f-c22becf60280", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144844Z:409a490a-e7ad-45aa-815f-c22becf60280", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b4cc2ff8-7dfb-4ef1-a906-f2d8482c6fb5", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:49:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "16505aee-3e2b-4f46-9d56-481ac9ff10ba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144914Z:16505aee-3e2b-4f46-9d56-481ac9ff10ba", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "53075f66-7561-41fb-a201-26e7a13a660c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:49:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "71bf0edf-686a-46c1-a9b7-2ff00ad16a5f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T144945Z:71bf0edf-686a-46c1-a9b7-2ff00ad16a5f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "afa3d0cc-e430-4b5e-8cb3-da9750905253", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:50:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bac967ad-f125-45ca-af44-a64f440e8c35", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145015Z:bac967ad-f125-45ca-af44-a64f440e8c35", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ae06c147-dc5b-4767-961f-6ab6a93b3a86", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:50:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "04840541-3721-4a21-b772-6a597c7c16ac", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145046Z:04840541-3721-4a21-b772-6a597c7c16ac", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0e41dd23-588c-401a-a809-b4485673e234", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:51:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2aa3b8b1-c385-440f-a625-3941e0e75aca", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145116Z:2aa3b8b1-c385-440f-a625-3941e0e75aca", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e3b2ff6f-1444-4119-8ad6-643a6406adf0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:51:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7f23ab14-1f0c-4b27-9ebe-8ff3804c5229", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145147Z:7f23ab14-1f0c-4b27-9ebe-8ff3804c5229", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e5d98f80-b5fe-433c-9026-d9a7e35c23e4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:52:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1e618988-905d-41e0-8623-3c8566646f14", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145217Z:1e618988-905d-41e0-8623-3c8566646f14", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "aae27326-5ae2-4945-b854-d3b9c55a812d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:52:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bff1d4a5-5de8-4d38-8510-e6797dd878c2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145248Z:bff1d4a5-5de8-4d38-8510-e6797dd878c2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f6c49ee0-3a75-456b-9c85-fff650152cd4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:53:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "74cad5ff-09fb-4974-9ee7-60d03456b942", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145318Z:74cad5ff-09fb-4974-9ee7-60d03456b942", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2c7d8bbf-3d3d-42e7-bac3-431fd90305f4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:53:48 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ccce9c5a-aab7-4dc5-a36e-9d7cde6fc078", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145349Z:ccce9c5a-aab7-4dc5-a36e-9d7cde6fc078", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9b4b18c3-262e-4def-9609-7df65a1490cb", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:53:48 GMT", + "content-length" : "1508", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5c42da19-5dd5-4e51-9c01-29e4aa223538", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145349Z:5c42da19-5dd5-4e51-9c01-29e4aa223538", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a8402946-14cf-46a1-bee9-2504a42b3686", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d\",\"name\":\"hdisdk-oms0db706808a0edb9d\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"0206da97-4539-4ee5-b785-9bbaf9672206\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/spark-3.6.1000.67.1812120705.json\",\"kind\":\"Spark\",\"componentVersion\":{\"Spark\":\"2.3\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T14:30:56.88\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-oms0db706808a0edb9d-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-oms0db706808a0edb9d.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:53:50 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "38eec2c4-ef55-4157-9575-3f11e5c7d62e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145351Z:38eec2c4-ef55-4157-9575-3f11e5c7d62e", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/operationresults/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "cfc4ca1d-61fa-4669-96ce-85e2c1694a7f", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:53:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bf45f013-5033-43d9-aa53-04bb158f77f1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145351Z:bf45f013-5033-43d9-aa53-04bb158f77f1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "57929674-c59c-4a83-b549-11ec07cc7098", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:54:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "20d81407-8755-4b3b-b470-b4d1e45836e4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145421Z:20d81407-8755-4b3b-b470-b4d1e45836e4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b2f9a9d4-7ee7-40df-b18c-bfdc01c6bedd", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:54:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0216d051-f4d9-4886-b44d-d976959fd635", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145451Z:0216d051-f4d9-4886-b44d-d976959fd635", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ce4f3af4-a7b3-46c2-b472-5058c7dab074", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:55:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e68c1777-9412-4838-bb5f-e3f7d666ce52", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145522Z:e68c1777-9412-4838-bb5f-e3f7d666ce52", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "772fcd52-209d-4dfc-bdb4-dd0d6e455804", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:55:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dd83f736-122b-48a7-b3d9-d4f6840ee185", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145552Z:dd83f736-122b-48a7-b3d9-d4f6840ee185", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "824db110-7b3e-401b-ab67-b0f455f8b0e7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:56:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "98553875-5b20-431a-a0b6-8ff03ce4cb0b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145622Z:98553875-5b20-431a-a0b6-8ff03ce4cb0b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "165dbd22-aa36-4331-94cb-3f20890a3207", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:56:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "999ea14b-d876-4876-b2d6-8e8eb11daabd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145652Z:999ea14b-d876-4876-b2d6-8e8eb11daabd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0daa3cb7-0d60-4c6f-87c6-8b09576c16d7", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:57:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11941", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8ac0e0fe-8082-4f33-a7da-031d6e7a850c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145722Z:8ac0e0fe-8082-4f33-a7da-031d6e7a850c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4f0d7289-1c73-4994-830d-740a795e39ca", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:57:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11940", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1ac727d8-74ed-4872-8ebd-16af038e1c54", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145752Z:1ac727d8-74ed-4872-8ebd-16af038e1c54", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3ebf9f8a-3005-475d-be70-2d943f157f7d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:58:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11939", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "59bfab78-961b-4b67-92ec-b97659ed2c1f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145822Z:59bfab78-961b-4b67-92ec-b97659ed2c1f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "baf79430-cc9c-474a-af4f-23af25d2f8c4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:58:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11938", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f7ff04db-aae1-42d9-bf39-364c58074491", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145852Z:f7ff04db-aae1-42d9-bf39-364c58074491", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "00141308-dfd9-430a-aedc-afed8ab5c339", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:59:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11937", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d66ae1cc-a44c-4bea-ae4d-0cfa96863231", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145923Z:d66ae1cc-a44c-4bea-ae4d-0cfa96863231", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "510fb513-7b3a-4ce4-9f02-0ff5103a5988", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 14:59:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11936", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8352070a-4f90-452b-a354-2622de57afa3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T145953Z:8352070a-4f90-452b-a354-2622de57afa3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bcac5dd9-12a6-4930-a500-e53d18cfd810", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:00:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11935", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c565259d-0175-45bb-9f5f-a9f0907345ae", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150023Z:c565259d-0175-45bb-9f5f-a9f0907345ae", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "36561d6f-cd8e-4ac5-bb78-87d3b42a6a38", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:00:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11934", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c06f5d56-ab9b-4d1e-9f7b-45bc94ca26dc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150054Z:c06f5d56-ab9b-4d1e-9f7b-45bc94ca26dc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b14eb3cb-5f52-42c8-9d56-6e8d3921e5c8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:01:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11933", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "415c4ae7-343e-4d6f-ac2f-f054e069764b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150124Z:415c4ae7-343e-4d6f-ac2f-f054e069764b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c7dfd2a5-e2a5-406e-afd2-8f9eace752de", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:01:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11932", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fdc05d16-f362-4d78-91f8-5b119ead0f29", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150154Z:fdc05d16-f362-4d78-91f8-5b119ead0f29", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e6b60006-5961-491d-877e-e80a2e8480a0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:02:24 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11931", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "40acbb92-01df-4e18-a77d-c47f89ca4bb6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150224Z:40acbb92-01df-4e18-a77d-c47f89ca4bb6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6584c031-143f-4a50-9a4f-2007b3cdaa58", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/6c4b5b1a-4e4c-41e3-aacb-b1de4a05eeaf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:02:53 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11930", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b6b385b5-fbff-4883-8e41-9767a3dcff00", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150254Z:b6b385b5-fbff-4883-8e41-9767a3dcff00", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fbf5a252-a42c-4c7b-9501-62701e4657a1", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:02:54 GMT", + "content-length" : "86", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11929", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "10fc7f22-2fa8-4c8f-b379-7c67b3327c53", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150255Z:10fc7f22-2fa8-4c8f-b379-7c67b3327c53", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f236afe9-5906-4f32-98bf-6b11713aa0af", + "Body" : "{\"clusterMonitoringEnabled\":true,\"workspaceId\":\"1d364e89-bb71-4503-aa3d-a23535aea7bd\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:02:54 GMT", + "content-length" : "86", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11928", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "23c1a4a8-fa38-415a-9e1b-e4134fe1e042", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150255Z:23c1a4a8-fa38-415a-9e1b-e4134fe1e042", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c26ebaf5-282a-4de8-85b7-8fdc8c4e051c", + "Body" : "{\"clusterMonitoringEnabled\":true,\"workspaceId\":\"1d364e89-bb71-4503-aa3d-a23535aea7bd\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:02:57 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3ed351b8-4559-431b-98c4-5d161c715fe9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150257Z:3ed351b8-4559-431b-98c4-5d161c715fe9", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/operationresults/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "1dfb97bc-86af-47c5-bdae-3fd642272e5c", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:02:57 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11927", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "78e088be-3610-4ee3-bdd6-102c611358af", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150257Z:78e088be-3610-4ee3-bdd6-102c611358af", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e99798f3-a785-4aef-adf2-3d8771dfdf04", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:03:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11926", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b57ccff8-20d8-49a8-bc80-cd37cb918d53", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150327Z:b57ccff8-20d8-49a8-bc80-cd37cb918d53", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "efd55297-5cef-41f8-954c-4159e93d12ca", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/azureasyncoperations/f0a94d1d-5468-446b-85c8-616c7c66648d-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:03:58 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11925", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7ac65d1d-4324-4b67-a8e6-39927944b293", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150358Z:7ac65d1d-4324-4b67-a8e6-39927944b293", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2268c8e1-c68c-4ecc-acb7-7fd949174262", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-372156306905/providers/Microsoft.HDInsight/clusters/hdisdk-oms0db706808a0edb9d/extensions/clustermonitoring?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:03:59 GMT", + "content-length" : "53", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11924", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1ae887f2-da92-428e-b9ee-e5ea76ca409a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150359Z:1ae887f2-da92-428e-b9ee-e5ea76ca409a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0c32b5a9-0bfb-46fa-95fc-e0b97e6e1c84", + "Body" : "{\"clusterMonitoringEnabled\":false,\"workspaceId\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-372156306905?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:00 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "69aebefe-a58f-41f3-97dd-f500ead8ac3b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150400Z:69aebefe-a58f-41f3-97dd-f500ead8ac3b", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMzcyMTU2MzA2OTA1LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "69aebefe-a58f-41f3-97dd-f500ead8ac3b", + "Body" : "" + } + } ], + "variables" : [ "hdijava-372156306905", "hdijavaae652236d30e", "hdisdk-oms0db706808a0edb9d" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResizeCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResizeCluster.json index d7a75059e63f8..b7d66793dfe34 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResizeCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResizeCluster.json @@ -1,1774 +1,1774 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-26162746df90?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:26 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e47ad7de-5bd3-4cc1-882e-4f0d126cc606", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T113627Z:e47ad7de-5bd3-4cc1-882e-4f0d126cc606", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e47ad7de-5bd3-4cc1-882e-4f0d126cc606", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-26162746df90?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:28 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "17fb2948-952d-46d8-afda-e58699b7256f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113629Z:17fb2948-952d-46d8-afda-e58699b7256f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "17fb2948-952d-46d8-afda-e58699b7256f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90\",\"name\":\"hdijava-26162746df90\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:30 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1991d6f5-a002-49e1-8824-80b6074872cf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113630Z:1991d6f5-a002-49e1-8824-80b6074872cf", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "c5c81a07-19b9-4ec4-aa27-b87d056a366e", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:30 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9f76d196-236f-4726-bf1b-f898eaa7b818", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113630Z:9f76d196-236f-4726-bf1b-f898eaa7b818", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "95f33713-caf6-4267-9c57-abc0c2f465fe", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:47 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4fd8a064-605e-4cf1-aebe-53a89e13bcc9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113647Z:4fd8a064-605e-4cf1-aebe-53a89e13bcc9", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "59807be8-86c0-479c-a0e4-172558689463", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0\",\"name\":\"hdijava40532882c1c0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T11:36:30.1776432Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava40532882c1c0.blob.core.windows.net/\",\"queue\":\"https://hdijava40532882c1c0.queue.core.windows.net/\",\"table\":\"https://hdijava40532882c1c0.table.core.windows.net/\",\"file\":\"https://hdijava40532882c1c0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:47 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "29924ef7-b0b6-4f3f-8d71-4a4ced3923da", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113648Z:29924ef7-b0b6-4f3f-8d71-4a4ced3923da", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "d9372631-ca56-4cce-9d88-e8156b1c8bde", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0\",\"name\":\"hdijava40532882c1c0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T11:36:30.1776432Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava40532882c1c0.blob.core.windows.net/\",\"queue\":\"https://hdijava40532882c1c0.queue.core.windows.net/\",\"table\":\"https://hdijava40532882c1c0.table.core.windows.net/\",\"file\":\"https://hdijava40532882c1c0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:36:47 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "12296e6f-4a1e-4642-8677-29baf27814d6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113648Z:12296e6f-4a1e-4642-8677-29baf27814d6", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "e4598da5-6974-43a6-a00b-e6812bc2044f", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"AvIeSZZxKTEconeiQZC1l8T1gghCQ7JPelQdFkaJ7qvr+kvgvrtfpcW+Bddv05NPUMLqtH29Yp3gw8WI/Cuoqg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"4AxAKqwIUjuRaPYuIjlzX6vtJsRwRWcYHeW9hRA4IinI6BoVLbc/Z5t7CaCoOjrJXawubsgPbRRxiP/Jm2qS5g==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:37:06 GMT", - "content-length" : "1275", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "00637909-537b-4862-9606-227ffe6b53b3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113707Z:00637909-537b-4862-9606-227ffe6b53b3", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", - "x-ms-request-id" : "0a23af2f-b15a-400a-bede-9fe52fb69aab", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:37:07 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9dfd5390-0c08-4474-9119-3983741b1d70", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113708Z:9dfd5390-0c08-4474-9119-3983741b1d70", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "885e0a00-0d8e-4ecc-8e7e-3782937aac5c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:37:38 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d28b8960-22c3-4c4d-9cff-4c87fd28d4fe", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113738Z:d28b8960-22c3-4c4d-9cff-4c87fd28d4fe", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b0b6c74-447c-4f10-814e-43845d1b9d18", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:38:08 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dd6379f3-328a-4223-95ee-e91047ded53a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113809Z:dd6379f3-328a-4223-95ee-e91047ded53a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e770c8bc-67e3-42ea-b865-1356be3f9cd9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:38:39 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "107014fb-a2b9-4e12-95e6-440a328b608a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113839Z:107014fb-a2b9-4e12-95e6-440a328b608a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d30eadc7-e26d-4795-a10e-2442cbd645fb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:39:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7232173a-5f3c-407d-9ee4-174f5f9e96af", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113910Z:7232173a-5f3c-407d-9ee4-174f5f9e96af", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "27c38340-55ea-4b35-88f6-0d676de29a77", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:39:40 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "663e60b1-4cb1-40f1-9701-c61ea77b0e7f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T113940Z:663e60b1-4cb1-40f1-9701-c61ea77b0e7f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ee762445-2b05-42f9-b929-6ef2a926e4fe", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:40:10 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "022f9c4c-c81f-476d-a7e5-651d8bafe206", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114010Z:022f9c4c-c81f-476d-a7e5-651d8bafe206", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d39ff7c8-73b7-45d2-8fb6-4499382c558b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:40:41 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9db5d68b-10a8-4413-8ff4-f564c1f7f7e7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114041Z:9db5d68b-10a8-4413-8ff4-f564c1f7f7e7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dec7b8b8-de18-4a23-85a4-95af16fad83e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:41:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9c73f115-3acd-4e42-9efb-e591dfdc9811", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114111Z:9c73f115-3acd-4e42-9efb-e591dfdc9811", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8dc397f9-3ff2-4bae-93ce-83f6b865bbbf", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:41:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f4228fb2-ef55-4fdf-94b5-91e460a8c802", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114142Z:f4228fb2-ef55-4fdf-94b5-91e460a8c802", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c49e9607-643f-490e-9f71-10d9065cc605", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:42:11 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "743eff24-99bf-4033-895f-934c0a203725", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114212Z:743eff24-99bf-4033-895f-934c0a203725", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ce681bc1-5ab0-4304-a72b-5cfb735876bc", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:42:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "561945be-277d-4160-bd6b-125c9b3aaf3a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114243Z:561945be-277d-4160-bd6b-125c9b3aaf3a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6cdac322-08ac-4920-9b96-2b50147ac35e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:43:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "420ce87d-bec4-4af4-9527-1368ac3be694", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114313Z:420ce87d-bec4-4af4-9527-1368ac3be694", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "15da76ab-f0cd-486d-89d7-cf3d9bcd876c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:43:43 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e9805a17-4273-454a-a4b0-147dc16e988b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114344Z:e9805a17-4273-454a-a4b0-147dc16e988b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0eb44b72-5dec-47e6-8819-ab486459a90d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:44:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e7533c15-e9f8-4f4f-917e-75710415ca39", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114414Z:e7533c15-e9f8-4f4f-917e-75710415ca39", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "33ccd415-d64d-451f-9312-c029eccd3a60", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:44:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "07f01227-3bfa-4ccf-8c21-c9cbe01e96ef", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114445Z:07f01227-3bfa-4ccf-8c21-c9cbe01e96ef", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "38f9d634-99b2-452d-a7ee-6ad182b6f646", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:45:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fe481ae9-7e53-4dcd-939f-59d44b4b14e8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114515Z:fe481ae9-7e53-4dcd-939f-59d44b4b14e8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4f440a4c-2105-465d-84aa-77cb4438d418", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:45:45 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f733e315-93d6-403b-b48c-62fd97e867f0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114545Z:f733e315-93d6-403b-b48c-62fd97e867f0", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d8be00a4-98b3-464c-995f-13076ec8efee", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:46:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d5b0a70d-2744-4e0a-ba4a-a8d1ee360a0e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114616Z:d5b0a70d-2744-4e0a-ba4a-a8d1ee360a0e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3414d653-9388-40e3-9a13-643ad405b5e0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:46:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c83773ea-2317-4dad-9fa3-e99a482a2f81", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114646Z:c83773ea-2317-4dad-9fa3-e99a482a2f81", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b2fc3a61-011f-49f4-8df2-d912f2e286a4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:47:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "07f394e3-2fa3-4299-ac26-a0432605cebb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114717Z:07f394e3-2fa3-4299-ac26-a0432605cebb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3478b24b-54cc-4ce0-8b21-c085fb483ac6", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:47:47 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7593b7d5-4077-4ebc-aa53-83b137f7a931", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114747Z:7593b7d5-4077-4ebc-aa53-83b137f7a931", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d7d0bef9-9443-4776-94c0-113fb3f1816f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:48:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "74b7dc6e-f2e7-4e26-8d1e-c2bcf020cd36", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114818Z:74b7dc6e-f2e7-4e26-8d1e-c2bcf020cd36", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "35e270c8-0f16-41c4-912c-d61576b4df7b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:48:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8bc59f92-ec91-43bc-ae75-4783a0143e90", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114848Z:8bc59f92-ec91-43bc-ae75-4783a0143e90", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e7e07e05-7565-4dcd-8cc3-b08144307185", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:49:18 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "51b00823-c97a-47f1-9609-ed9979b35a09", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114919Z:51b00823-c97a-47f1-9609-ed9979b35a09", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3c9a3c13-5cca-4d91-8b69-9a8d8b50d289", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:49:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "394de341-b7dc-4dcf-8ecf-77ae2f53fdd4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T114949Z:394de341-b7dc-4dcf-8ecf-77ae2f53fdd4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "accc4a2c-50f3-4444-ac45-1c33cc107a47", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:50:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f09e8177-d10c-473c-8c8d-cfb4bb838142", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115019Z:f09e8177-d10c-473c-8c8d-cfb4bb838142", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "86408ae9-d757-4744-80b1-9db47e291b65", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:50:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c304e126-0a64-42c7-b877-c594b822c793", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115050Z:c304e126-0a64-42c7-b877-c594b822c793", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f92c5430-dca4-410d-a5cf-edd28fc0ba61", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:51:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2544f548-a1e2-440f-bcfd-da8390361a30", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115120Z:2544f548-a1e2-440f-bcfd-da8390361a30", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "30739c9e-40f7-483b-814b-7022132ad79c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:51:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "97412b61-5b57-4559-a83d-9d1755f8fea2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115151Z:97412b61-5b57-4559-a83d-9d1755f8fea2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5c1b4af4-c729-4020-8e1c-6757b9103b8a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:52:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2abdc72e-2bfe-4618-828e-137c7d52a17a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115221Z:2abdc72e-2bfe-4618-828e-137c7d52a17a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "6a3df4e6-7864-463a-bfbe-59185ca22bc4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:52:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "019b0e32-650e-4714-84d5-1e7572b95ad4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115252Z:019b0e32-650e-4714-84d5-1e7572b95ad4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "641dd80d-b2a5-4cfb-a2c4-885e176e4f15", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:53:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e04761bb-7587-488b-8be4-de40cd7d452f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115322Z:e04761bb-7587-488b-8be4-de40cd7d452f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fcce54c0-578e-4a71-a82b-810347de4aef", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:53:52 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8e2825f3-138f-4b81-a41c-760e7f257674", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115353Z:8e2825f3-138f-4b81-a41c-760e7f257674", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "08719974-ae2f-4c3e-9a2a-217f05587613", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:54:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6345fe1b-20da-459e-9ed9-8922ccb6e4f2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115423Z:6345fe1b-20da-459e-9ed9-8922ccb6e4f2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "88c52906-9caf-45b0-bf24-8de2568810a3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:54:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e1890d82-92f7-40aa-93c2-b0b94c89efd1", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115454Z:e1890d82-92f7-40aa-93c2-b0b94c89efd1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "453ec5bd-df83-47f1-adc0-909ee72cc753", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:55:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e00515d2-9fdb-48c5-8541-05167cf0b1c3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115524Z:e00515d2-9fdb-48c5-8541-05167cf0b1c3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1be60779-8baa-420b-ada5-022b34df046c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:55:54 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a073f58e-8577-4475-8c18-2fb87a6f7951", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115555Z:a073f58e-8577-4475-8c18-2fb87a6f7951", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "dd67ffcf-e71e-40f7-9c66-0254bf84647e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:56:25 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f9cc2901-3133-443f-b005-ee2b1221ded7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115625Z:f9cc2901-3133-443f-b005-ee2b1221ded7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d7db29aa-5a28-4f13-860d-8e691c686f7e", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:56:26 GMT", - "content-length" : "1531", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "44fdb73c-2e83-4e7d-bc9f-bf1f95050556", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115626Z:44fdb73c-2e83-4e7d-bc9f-bf1f95050556", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "36bb14c5-62c3-46d5-a5c1-e8e11e4ca7cf", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:56:26 GMT", - "content-length" : "1531", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bdbcc209-000d-4345-8d33-810127963941", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115626Z:bdbcc209-000d-4345-8d33-810127963941", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "db3b45e9-7f4b-49c2-b0fc-a90adf7fb587", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/roles/workernode/resize?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:56:28 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1163d329-3f88-4761-af69-1ca33ebdcb56", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115628Z:1163d329-3f88-4761-af69-1ca33ebdcb56", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/operationresults/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "bd0b3b3b-cdbe-49ab-b773-c3fee651d05d", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:56:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "061b93b0-ccdc-4d4a-81e4-3b3ebf82c7d2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115628Z:061b93b0-ccdc-4d4a-81e4-3b3ebf82c7d2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "77d4e586-1364-4dfa-acc7-3374f113b8c3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:56:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "166cdcd8-93c6-4175-8ff3-ebe3ac31c371", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115658Z:166cdcd8-93c6-4175-8ff3-ebe3ac31c371", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "945ec356-492f-4e7e-894a-18e82516b9ec", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:57:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b2b3985b-0be0-45e1-8a56-6201d81ff770", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115728Z:b2b3985b-0be0-45e1-8a56-6201d81ff770", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3796638d-86cc-44bd-b8bc-b92f73da523d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:57:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e2f3da84-f33e-4028-91a2-8c67073c9a30", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115759Z:e2f3da84-f33e-4028-91a2-8c67073c9a30", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9427b6e5-db7e-4dec-a975-ce120ab6ee1f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:58:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "789db090-5a32-4afa-90ca-c31fb8ca7034", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115829Z:789db090-5a32-4afa-90ca-c31fb8ca7034", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a6caadc5-1cc4-416c-901e-019509e1d64f", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:58:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e4df2f7a-e17b-467f-99c5-c1cca4ec0937", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115859Z:e4df2f7a-e17b-467f-99c5-c1cca4ec0937", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e022e4a2-cc7a-49f0-a45c-920d7984c459", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:59:28 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "33d9de1c-80d0-45d5-8459-f66f9d413bad", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115929Z:33d9de1c-80d0-45d5-8459-f66f9d413bad", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "91a909a0-1b8c-48be-913f-674d19f1a76c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 11:59:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7f7319d4-b05c-4e2f-99fd-67608f7eb770", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T115959Z:7f7319d4-b05c-4e2f-99fd-67608f7eb770", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ee61546e-6880-422b-a761-9d6e5780ed1d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:00:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b83d7dda-98de-4231-a692-885412c7602f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120029Z:b83d7dda-98de-4231-a692-885412c7602f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9e7fc0e2-f02a-473f-8f09-203aaebe9774", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:00:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "77a523d6-23c8-44a3-9f0f-75a1f84a5187", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120059Z:77a523d6-23c8-44a3-9f0f-75a1f84a5187", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f47a9ff9-eb94-4e6e-8a60-61975c6aa0f3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:01:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c5ffc8dd-b037-4d0f-8ee4-d17c1ecaea9b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120130Z:c5ffc8dd-b037-4d0f-8ee4-d17c1ecaea9b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c04c6fd7-b36f-4d4f-8435-5b20ceaafa08", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:01:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fa68e999-6a3b-4dcb-9e12-cbb4f14d7e83", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120200Z:fa68e999-6a3b-4dcb-9e12-cbb4f14d7e83", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "58f4e786-653a-4776-8960-507947982594", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:02:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2c2ba187-3269-4ff6-912e-a92b97719b95", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120230Z:2c2ba187-3269-4ff6-912e-a92b97719b95", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c896a098-fa75-416e-a7c6-af882541f92d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:02:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11941", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bd07c8fd-a70e-42d2-b6d8-4673c651b072", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120300Z:bd07c8fd-a70e-42d2-b6d8-4673c651b072", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "92a2e670-0e6c-4c35-8601-072b187feaf2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:03:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11940", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ffd39c6f-63d9-4bca-a60c-1544f5d76286", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120330Z:ffd39c6f-63d9-4bca-a60c-1544f5d76286", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0828543b-8aba-4b8f-91ff-e5ef10b262de", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:04:00 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11939", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a99e9332-2fdb-49c1-b8d6-fbcb488b2e4a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120400Z:a99e9332-2fdb-49c1-b8d6-fbcb488b2e4a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a0847cf3-c603-4f43-8325-f934ca89825d", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:04:01 GMT", - "content-length" : "1531", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11938", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9ac9f39d-1b8e-4171-a708-2ab2314cf1c4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120401Z:9ac9f39d-1b8e-4171-a708-2ab2314cf1c4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b474e1b3-f82f-4fce-90f2-fb150c1b7f17", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":4,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":24},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-26162746df90?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 12:04:02 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6bbcced7-1a07-4adf-8b9d-6e95ea4b9fe2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T120403Z:6bbcced7-1a07-4adf-8b9d-6e95ea4b9fe2", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMjYxNjI3NDZERjkwLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "6bbcced7-1a07-4adf-8b9d-6e95ea4b9fe2", - "Body" : "" - } - } ], - "variables" : [ "hdijava-26162746df90", "hdijava40532882c1c0", "hdisdk-clusterresize3ff01469b33" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-26162746df90?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:26 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e47ad7de-5bd3-4cc1-882e-4f0d126cc606", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T113627Z:e47ad7de-5bd3-4cc1-882e-4f0d126cc606", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e47ad7de-5bd3-4cc1-882e-4f0d126cc606", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-26162746df90?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:28 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "17fb2948-952d-46d8-afda-e58699b7256f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113629Z:17fb2948-952d-46d8-afda-e58699b7256f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "17fb2948-952d-46d8-afda-e58699b7256f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90\",\"name\":\"hdijava-26162746df90\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:30 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1991d6f5-a002-49e1-8824-80b6074872cf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113630Z:1991d6f5-a002-49e1-8824-80b6074872cf", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "c5c81a07-19b9-4ec4-aa27-b87d056a366e", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:30 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9f76d196-236f-4726-bf1b-f898eaa7b818", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113630Z:9f76d196-236f-4726-bf1b-f898eaa7b818", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "95f33713-caf6-4267-9c57-abc0c2f465fe", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/c5c81a07-19b9-4ec4-aa27-b87d056a366e?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:47 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4fd8a064-605e-4cf1-aebe-53a89e13bcc9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113647Z:4fd8a064-605e-4cf1-aebe-53a89e13bcc9", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "59807be8-86c0-479c-a0e4-172558689463", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0\",\"name\":\"hdijava40532882c1c0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T11:36:30.1776432Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava40532882c1c0.blob.core.windows.net/\",\"queue\":\"https://hdijava40532882c1c0.queue.core.windows.net/\",\"table\":\"https://hdijava40532882c1c0.table.core.windows.net/\",\"file\":\"https://hdijava40532882c1c0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:47 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "29924ef7-b0b6-4f3f-8d71-4a4ced3923da", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113648Z:29924ef7-b0b6-4f3f-8d71-4a4ced3923da", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "d9372631-ca56-4cce-9d88-e8156b1c8bde", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0\",\"name\":\"hdijava40532882c1c0\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T11:36:30.3338892Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T11:36:30.1776432Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava40532882c1c0.blob.core.windows.net/\",\"queue\":\"https://hdijava40532882c1c0.queue.core.windows.net/\",\"table\":\"https://hdijava40532882c1c0.table.core.windows.net/\",\"file\":\"https://hdijava40532882c1c0.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.Storage/storageAccounts/hdijava40532882c1c0/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:36:47 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "12296e6f-4a1e-4642-8677-29baf27814d6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113648Z:12296e6f-4a1e-4642-8677-29baf27814d6", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "e4598da5-6974-43a6-a00b-e6812bc2044f", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"AvIeSZZxKTEconeiQZC1l8T1gghCQ7JPelQdFkaJ7qvr+kvgvrtfpcW+Bddv05NPUMLqtH29Yp3gw8WI/Cuoqg==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"4AxAKqwIUjuRaPYuIjlzX6vtJsRwRWcYHeW9hRA4IinI6BoVLbc/Z5t7CaCoOjrJXawubsgPbRRxiP/Jm2qS5g==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:37:06 GMT", + "content-length" : "1275", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "00637909-537b-4862-9606-227ffe6b53b3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113707Z:00637909-537b-4862-9606-227ffe6b53b3", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", + "x-ms-request-id" : "0a23af2f-b15a-400a-bede-9fe52fb69aab", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:37:07 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9dfd5390-0c08-4474-9119-3983741b1d70", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113708Z:9dfd5390-0c08-4474-9119-3983741b1d70", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "885e0a00-0d8e-4ecc-8e7e-3782937aac5c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:37:38 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d28b8960-22c3-4c4d-9cff-4c87fd28d4fe", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113738Z:d28b8960-22c3-4c4d-9cff-4c87fd28d4fe", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b0b6c74-447c-4f10-814e-43845d1b9d18", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:38:08 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dd6379f3-328a-4223-95ee-e91047ded53a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113809Z:dd6379f3-328a-4223-95ee-e91047ded53a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e770c8bc-67e3-42ea-b865-1356be3f9cd9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:38:39 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "107014fb-a2b9-4e12-95e6-440a328b608a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113839Z:107014fb-a2b9-4e12-95e6-440a328b608a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d30eadc7-e26d-4795-a10e-2442cbd645fb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:39:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7232173a-5f3c-407d-9ee4-174f5f9e96af", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113910Z:7232173a-5f3c-407d-9ee4-174f5f9e96af", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "27c38340-55ea-4b35-88f6-0d676de29a77", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:39:40 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "663e60b1-4cb1-40f1-9701-c61ea77b0e7f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T113940Z:663e60b1-4cb1-40f1-9701-c61ea77b0e7f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ee762445-2b05-42f9-b929-6ef2a926e4fe", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:40:10 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "022f9c4c-c81f-476d-a7e5-651d8bafe206", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114010Z:022f9c4c-c81f-476d-a7e5-651d8bafe206", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d39ff7c8-73b7-45d2-8fb6-4499382c558b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:40:41 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9db5d68b-10a8-4413-8ff4-f564c1f7f7e7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114041Z:9db5d68b-10a8-4413-8ff4-f564c1f7f7e7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dec7b8b8-de18-4a23-85a4-95af16fad83e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:41:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9c73f115-3acd-4e42-9efb-e591dfdc9811", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114111Z:9c73f115-3acd-4e42-9efb-e591dfdc9811", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8dc397f9-3ff2-4bae-93ce-83f6b865bbbf", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:41:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f4228fb2-ef55-4fdf-94b5-91e460a8c802", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114142Z:f4228fb2-ef55-4fdf-94b5-91e460a8c802", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c49e9607-643f-490e-9f71-10d9065cc605", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:42:11 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "743eff24-99bf-4033-895f-934c0a203725", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114212Z:743eff24-99bf-4033-895f-934c0a203725", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ce681bc1-5ab0-4304-a72b-5cfb735876bc", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:42:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "561945be-277d-4160-bd6b-125c9b3aaf3a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114243Z:561945be-277d-4160-bd6b-125c9b3aaf3a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6cdac322-08ac-4920-9b96-2b50147ac35e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:43:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "420ce87d-bec4-4af4-9527-1368ac3be694", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114313Z:420ce87d-bec4-4af4-9527-1368ac3be694", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "15da76ab-f0cd-486d-89d7-cf3d9bcd876c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:43:43 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e9805a17-4273-454a-a4b0-147dc16e988b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114344Z:e9805a17-4273-454a-a4b0-147dc16e988b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0eb44b72-5dec-47e6-8819-ab486459a90d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:44:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e7533c15-e9f8-4f4f-917e-75710415ca39", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114414Z:e7533c15-e9f8-4f4f-917e-75710415ca39", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "33ccd415-d64d-451f-9312-c029eccd3a60", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:44:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "07f01227-3bfa-4ccf-8c21-c9cbe01e96ef", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114445Z:07f01227-3bfa-4ccf-8c21-c9cbe01e96ef", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "38f9d634-99b2-452d-a7ee-6ad182b6f646", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:45:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fe481ae9-7e53-4dcd-939f-59d44b4b14e8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114515Z:fe481ae9-7e53-4dcd-939f-59d44b4b14e8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4f440a4c-2105-465d-84aa-77cb4438d418", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:45:45 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f733e315-93d6-403b-b48c-62fd97e867f0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114545Z:f733e315-93d6-403b-b48c-62fd97e867f0", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d8be00a4-98b3-464c-995f-13076ec8efee", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:46:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d5b0a70d-2744-4e0a-ba4a-a8d1ee360a0e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114616Z:d5b0a70d-2744-4e0a-ba4a-a8d1ee360a0e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3414d653-9388-40e3-9a13-643ad405b5e0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:46:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c83773ea-2317-4dad-9fa3-e99a482a2f81", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114646Z:c83773ea-2317-4dad-9fa3-e99a482a2f81", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b2fc3a61-011f-49f4-8df2-d912f2e286a4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:47:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "07f394e3-2fa3-4299-ac26-a0432605cebb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114717Z:07f394e3-2fa3-4299-ac26-a0432605cebb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3478b24b-54cc-4ce0-8b21-c085fb483ac6", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:47:47 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7593b7d5-4077-4ebc-aa53-83b137f7a931", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114747Z:7593b7d5-4077-4ebc-aa53-83b137f7a931", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d7d0bef9-9443-4776-94c0-113fb3f1816f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:48:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "74b7dc6e-f2e7-4e26-8d1e-c2bcf020cd36", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114818Z:74b7dc6e-f2e7-4e26-8d1e-c2bcf020cd36", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "35e270c8-0f16-41c4-912c-d61576b4df7b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:48:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8bc59f92-ec91-43bc-ae75-4783a0143e90", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114848Z:8bc59f92-ec91-43bc-ae75-4783a0143e90", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e7e07e05-7565-4dcd-8cc3-b08144307185", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:49:18 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "51b00823-c97a-47f1-9609-ed9979b35a09", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114919Z:51b00823-c97a-47f1-9609-ed9979b35a09", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3c9a3c13-5cca-4d91-8b69-9a8d8b50d289", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:49:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "394de341-b7dc-4dcf-8ecf-77ae2f53fdd4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T114949Z:394de341-b7dc-4dcf-8ecf-77ae2f53fdd4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "accc4a2c-50f3-4444-ac45-1c33cc107a47", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:50:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f09e8177-d10c-473c-8c8d-cfb4bb838142", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115019Z:f09e8177-d10c-473c-8c8d-cfb4bb838142", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "86408ae9-d757-4744-80b1-9db47e291b65", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:50:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c304e126-0a64-42c7-b877-c594b822c793", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115050Z:c304e126-0a64-42c7-b877-c594b822c793", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f92c5430-dca4-410d-a5cf-edd28fc0ba61", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:51:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2544f548-a1e2-440f-bcfd-da8390361a30", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115120Z:2544f548-a1e2-440f-bcfd-da8390361a30", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "30739c9e-40f7-483b-814b-7022132ad79c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:51:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "97412b61-5b57-4559-a83d-9d1755f8fea2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115151Z:97412b61-5b57-4559-a83d-9d1755f8fea2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5c1b4af4-c729-4020-8e1c-6757b9103b8a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:52:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2abdc72e-2bfe-4618-828e-137c7d52a17a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115221Z:2abdc72e-2bfe-4618-828e-137c7d52a17a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6a3df4e6-7864-463a-bfbe-59185ca22bc4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:52:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "019b0e32-650e-4714-84d5-1e7572b95ad4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115252Z:019b0e32-650e-4714-84d5-1e7572b95ad4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "641dd80d-b2a5-4cfb-a2c4-885e176e4f15", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:53:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e04761bb-7587-488b-8be4-de40cd7d452f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115322Z:e04761bb-7587-488b-8be4-de40cd7d452f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fcce54c0-578e-4a71-a82b-810347de4aef", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:53:52 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8e2825f3-138f-4b81-a41c-760e7f257674", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115353Z:8e2825f3-138f-4b81-a41c-760e7f257674", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "08719974-ae2f-4c3e-9a2a-217f05587613", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:54:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6345fe1b-20da-459e-9ed9-8922ccb6e4f2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115423Z:6345fe1b-20da-459e-9ed9-8922ccb6e4f2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "88c52906-9caf-45b0-bf24-8de2568810a3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:54:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e1890d82-92f7-40aa-93c2-b0b94c89efd1", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115454Z:e1890d82-92f7-40aa-93c2-b0b94c89efd1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "453ec5bd-df83-47f1-adc0-909ee72cc753", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:55:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e00515d2-9fdb-48c5-8541-05167cf0b1c3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115524Z:e00515d2-9fdb-48c5-8541-05167cf0b1c3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1be60779-8baa-420b-ada5-022b34df046c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:55:54 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a073f58e-8577-4475-8c18-2fb87a6f7951", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115555Z:a073f58e-8577-4475-8c18-2fb87a6f7951", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "dd67ffcf-e71e-40f7-9c66-0254bf84647e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:56:25 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f9cc2901-3133-443f-b005-ee2b1221ded7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115625Z:f9cc2901-3133-443f-b005-ee2b1221ded7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d7db29aa-5a28-4f13-860d-8e691c686f7e", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:56:26 GMT", + "content-length" : "1531", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "44fdb73c-2e83-4e7d-bc9f-bf1f95050556", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115626Z:44fdb73c-2e83-4e7d-bc9f-bf1f95050556", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "36bb14c5-62c3-46d5-a5c1-e8e11e4ca7cf", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:56:26 GMT", + "content-length" : "1531", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bdbcc209-000d-4345-8d33-810127963941", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115626Z:bdbcc209-000d-4345-8d33-810127963941", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "db3b45e9-7f4b-49c2-b0fc-a90adf7fb587", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/roles/workernode/resize?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:56:28 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1163d329-3f88-4761-af69-1ca33ebdcb56", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115628Z:1163d329-3f88-4761-af69-1ca33ebdcb56", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/operationresults/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "bd0b3b3b-cdbe-49ab-b773-c3fee651d05d", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:56:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "061b93b0-ccdc-4d4a-81e4-3b3ebf82c7d2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115628Z:061b93b0-ccdc-4d4a-81e4-3b3ebf82c7d2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "77d4e586-1364-4dfa-acc7-3374f113b8c3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:56:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "166cdcd8-93c6-4175-8ff3-ebe3ac31c371", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115658Z:166cdcd8-93c6-4175-8ff3-ebe3ac31c371", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "945ec356-492f-4e7e-894a-18e82516b9ec", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:57:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b2b3985b-0be0-45e1-8a56-6201d81ff770", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115728Z:b2b3985b-0be0-45e1-8a56-6201d81ff770", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3796638d-86cc-44bd-b8bc-b92f73da523d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:57:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e2f3da84-f33e-4028-91a2-8c67073c9a30", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115759Z:e2f3da84-f33e-4028-91a2-8c67073c9a30", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9427b6e5-db7e-4dec-a975-ce120ab6ee1f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:58:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "789db090-5a32-4afa-90ca-c31fb8ca7034", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115829Z:789db090-5a32-4afa-90ca-c31fb8ca7034", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a6caadc5-1cc4-416c-901e-019509e1d64f", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:58:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e4df2f7a-e17b-467f-99c5-c1cca4ec0937", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115859Z:e4df2f7a-e17b-467f-99c5-c1cca4ec0937", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e022e4a2-cc7a-49f0-a45c-920d7984c459", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:59:28 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "33d9de1c-80d0-45d5-8459-f66f9d413bad", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115929Z:33d9de1c-80d0-45d5-8459-f66f9d413bad", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "91a909a0-1b8c-48be-913f-674d19f1a76c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 11:59:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7f7319d4-b05c-4e2f-99fd-67608f7eb770", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T115959Z:7f7319d4-b05c-4e2f-99fd-67608f7eb770", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ee61546e-6880-422b-a761-9d6e5780ed1d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:00:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b83d7dda-98de-4231-a692-885412c7602f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120029Z:b83d7dda-98de-4231-a692-885412c7602f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9e7fc0e2-f02a-473f-8f09-203aaebe9774", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:00:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "77a523d6-23c8-44a3-9f0f-75a1f84a5187", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120059Z:77a523d6-23c8-44a3-9f0f-75a1f84a5187", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f47a9ff9-eb94-4e6e-8a60-61975c6aa0f3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:01:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c5ffc8dd-b037-4d0f-8ee4-d17c1ecaea9b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120130Z:c5ffc8dd-b037-4d0f-8ee4-d17c1ecaea9b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c04c6fd7-b36f-4d4f-8435-5b20ceaafa08", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:01:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fa68e999-6a3b-4dcb-9e12-cbb4f14d7e83", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120200Z:fa68e999-6a3b-4dcb-9e12-cbb4f14d7e83", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "58f4e786-653a-4776-8960-507947982594", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:02:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2c2ba187-3269-4ff6-912e-a92b97719b95", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120230Z:2c2ba187-3269-4ff6-912e-a92b97719b95", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c896a098-fa75-416e-a7c6-af882541f92d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:02:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11941", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bd07c8fd-a70e-42d2-b6d8-4673c651b072", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120300Z:bd07c8fd-a70e-42d2-b6d8-4673c651b072", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "92a2e670-0e6c-4c35-8601-072b187feaf2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:03:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11940", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ffd39c6f-63d9-4bca-a60c-1544f5d76286", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120330Z:ffd39c6f-63d9-4bca-a60c-1544f5d76286", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0828543b-8aba-4b8f-91ff-e5ef10b262de", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33/azureasyncoperations/7a635e79-47b8-4ab2-971d-4bd17839e5bf-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:04:00 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11939", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a99e9332-2fdb-49c1-b8d6-fbcb488b2e4a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120400Z:a99e9332-2fdb-49c1-b8d6-fbcb488b2e4a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a0847cf3-c603-4f43-8325-f934ca89825d", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:04:01 GMT", + "content-length" : "1531", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11938", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9ac9f39d-1b8e-4171-a708-2ab2314cf1c4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120401Z:9ac9f39d-1b8e-4171-a708-2ab2314cf1c4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b474e1b3-f82f-4fce-90f2-fb150c1b7f17", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-26162746df90/providers/Microsoft.HDInsight/clusters/hdisdk-clusterresize3ff01469b33\",\"name\":\"hdisdk-clusterresize3ff01469b33\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"e784bc1b-9b05-45e2-9e5e-7c43a6c19e94\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":4,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T11:37:06.78\",\"quotaInfo\":{\"coresUsed\":24},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-clusterresize3ff01469b33.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-26162746df90?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 12:04:02 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6bbcced7-1a07-4adf-8b9d-6e95ea4b9fe2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T120403Z:6bbcced7-1a07-4adf-8b9d-6e95ea4b9fe2", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJEMjYxNjI3NDZERjkwLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "6bbcced7-1a07-4adf-8b9d-6e95ea4b9fe2", + "Body" : "" + } + } ], + "variables" : [ "hdijava-26162746df90", "hdijava40532882c1c0", "hdisdk-clusterresize3ff01469b33" ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResourceBundle.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResourceBundle.json index 723a9ae601f8e..ba5f37f8f8555 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResourceBundle.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testResourceBundle.json @@ -1,4 +1,4 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ ] +{ + "networkCallRecords" : [ ], + "variables" : [ ] } \ No newline at end of file diff --git a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testScriptActionsOnRunningCluster.json b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testScriptActionsOnRunningCluster.json index bd47552757dc9..c1ebe6a66ed2a 100644 --- a/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testScriptActionsOnRunningCluster.json +++ b/hdinsight/resource-manager/v2018_06_01_preview/src/test/resources/session-records/testScriptActionsOnRunningCluster.json @@ -1,1853 +1,1853 @@ -{ - "networkCallRecords" : [ { - "Method" : "HEAD", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-43359908c77f?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:01 GMT", - "content-length" : "112", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3b28ed46-2602-4323-9a31-ba7a3db59543", - "x-content-type-options" : "nosniff", - "x-ms-failure-cause" : "gateway", - "x-ms-routing-request-id" : "WESTUS2:20190104T150401Z:3b28ed46-2602-4323-9a31-ba7a3db59543", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3b28ed46-2602-4323-9a31-ba7a3db59543", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-43359908c77f?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:03 GMT", - "content-length" : "194", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "fbfcd864-dd2b-4f51-9a2a-1ccdd3fa59ad", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150403Z:fbfcd864-dd2b-4f51-9a2a-1ccdd3fa59ad", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fbfcd864-dd2b-4f51-9a2a-1ccdd3fa59ad", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f\",\"name\":\"hdijava-43359908c77f\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:04 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8b5a971c-2966-42a2-b0f8-f88ecba4ab95", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150404Z:8b5a971c-2966-42a2-b0f8-f88ecba4ab95", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "e3a5e3cd-9fda-41c4-8d34-9d49f634fade", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:04 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "067b447f-a9ce-4b6a-9333-ef01fd6d854b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150405Z:067b447f-a9ce-4b6a-9333-ef01fd6d854b", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "3b1a65ca-0371-4237-9248-4a521626ef5c", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:21 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "19ae7f82-9713-43d3-876e-1973f4592fe5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150422Z:19ae7f82-9713-43d3-876e-1973f4592fe5", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "15f17220-9734-4c6e-8b3f-0c0b56376ed1", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79\",\"name\":\"hdijava6c7565468c79\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T15:04:04.3842398Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6c7565468c79.blob.core.windows.net/\",\"queue\":\"https://hdijava6c7565468c79.queue.core.windows.net/\",\"table\":\"https://hdijava6c7565468c79.table.core.windows.net/\",\"file\":\"https://hdijava6c7565468c79.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:21 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "1086", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c7d76066-bf59-42a0-970f-d65babb4bef2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150422Z:c7d76066-bf59-42a0-970f-d65babb4bef2", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "3b5844cf-a25d-4b4a-bf1c-d66cd8d8300d", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79\",\"name\":\"hdijava6c7565468c79\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T15:04:04.3842398Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6c7565468c79.blob.core.windows.net/\",\"queue\":\"https://hdijava6c7565468c79.queue.core.windows.net/\",\"table\":\"https://hdijava6c7565468c79.table.core.windows.net/\",\"file\":\"https://hdijava6c7565468c79.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79/listKeys?api-version=2017-10-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:21 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "288", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9591f9eb-7857-4e92-a6a3-5d8a714a3eba", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150422Z:9591f9eb-7857-4e92-a6a3-5d8a714a3eba", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "5badfee9-fef1-4b86-bd20-d029f3b80dbe", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"Whga7g1JBe0xYVQh/e5fjhmNEirtPKO3drNc0Qx5K9UmXIVwrAAeSeoKV1BG7lChDk6rylHEKwEvHZnovPwYSw==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"x9splMgnb7JHUZhl9Zgp7ERRdcecJw47XrKVSM3SyLd/RcKcQEYIkR4KHajaVgiIgTD/YPgNg9Zh2VuKuKzLsQ==\",\"permissions\":\"FULL\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:41 GMT", - "content-length" : "1276", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "81f9206d-f8ba-40c7-a277-491ff9d9b2be", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150441Z:81f9206d-f8ba-40c7-a277-491ff9d9b2be", - "content-type" : "application/json; charset=utf-8", - "etag" : "\"ff67e41e-cbb7-480f-a16c-e2573ce81855\"", - "cache-control" : "no-cache", - "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc?api-version=2018-06-01-preview", - "x-ms-request-id" : "3da6d252-e80c-402d-9ffa-58fd25137d9f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc\",\"name\":\"hdisdk-scriptactions186417663bc\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"ff67e41e-cbb7-480f-a16c-e2573ce81855\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T15:04:41.193\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:04:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6a262213-9a94-4a5f-8db1-389aa8c3a432", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150442Z:6a262213-9a94-4a5f-8db1-389aa8c3a432", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5cee2522-f22f-4fb5-b5ca-2aec016eef8e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:05:12 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ace5efcf-ac63-4981-aa60-9e4c0563b8fc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150512Z:ace5efcf-ac63-4981-aa60-9e4c0563b8fc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "20289c82-8731-4f0f-b9c7-c15519a5ab28", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:05:42 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "155cc6e8-f2b7-4183-9039-0ae2e00af155", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150543Z:155cc6e8-f2b7-4183-9039-0ae2e00af155", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b3591e9d-c256-42e3-8a7e-178bf4f1cfd9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:06:13 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "992606d8-2403-4522-91e5-6f2af34befed", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150613Z:992606d8-2403-4522-91e5-6f2af34befed", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5ee65149-2e1c-4c17-bd5b-087f192718df", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:06:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6fe2a445-d2fc-4b01-86a8-4695cb5a1f2a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150644Z:6fe2a445-d2fc-4b01-86a8-4695cb5a1f2a", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8f822d8d-d92e-4e50-941b-f5d0575438f2", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:07:14 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1559d387-852d-4dc3-8c8e-bfa6a552937d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150715Z:1559d387-852d-4dc3-8c8e-bfa6a552937d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7c72b805-1c90-4930-b1d7-335fce4da3c3", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:07:44 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c3a33eb8-e726-42f9-a498-6787db86709d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150745Z:c3a33eb8-e726-42f9-a498-6787db86709d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e2396ab1-13d0-498f-b52d-6a63f3a201f9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:08:15 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "83cbeb06-76b5-4a7f-92b2-89e2cbd8e322", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150816Z:83cbeb06-76b5-4a7f-92b2-89e2cbd8e322", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4abd2cd9-1067-434c-bc95-a982339226c8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:08:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8c008539-343a-486d-8373-bd5d85d9dd28", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150846Z:8c008539-343a-486d-8373-bd5d85d9dd28", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e141e023-fca0-4eb1-b4f3-b9e6d19d355b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:09:16 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "dfaaf016-f3b2-45d6-aa2d-4f522d5ae984", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150917Z:dfaaf016-f3b2-45d6-aa2d-4f522d5ae984", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "46a39953-8d4d-42de-baed-d8afd6888086", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:09:46 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e69a4888-2114-493c-b1d5-ef3b1d9c0e81", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T150947Z:e69a4888-2114-493c-b1d5-ef3b1d9c0e81", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "21bb00db-69c8-4d13-83e5-589a320358ce", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:10:17 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "7cec239e-7a50-4f0b-af8e-51f807d064e2", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151018Z:7cec239e-7a50-4f0b-af8e-51f807d064e2", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fd07cdca-3a6c-4419-a0af-6c865a0a4230", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:10:48 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cef31514-9b45-44be-b854-573fa8f78e4c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151048Z:cef31514-9b45-44be-b854-573fa8f78e4c", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8f5d8b77-34fe-450f-acd0-c29212233aac", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:11:19 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ac1dc560-b408-41e5-b8b2-6581625ac586", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151119Z:ac1dc560-b408-41e5-b8b2-6581625ac586", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "de0a283a-22cf-4638-bc94-d27852145880", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:11:49 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e18a0efc-ccda-4ba3-a4ae-6c37377a2a64", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151150Z:e18a0efc-ccda-4ba3-a4ae-6c37377a2a64", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "f8d53157-a3bb-4d29-b9ff-1331704be082", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:12:20 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c796ef92-b5db-44ee-8aa4-d12b8c7f39ae", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151220Z:c796ef92-b5db-44ee-8aa4-d12b8c7f39ae", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "ef2930ae-e614-42b7-bbc3-8d679b627687", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:12:50 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "852af98f-6203-4eaf-aad8-2a80948c43fa", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151250Z:852af98f-6203-4eaf-aad8-2a80948c43fa", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "40ff257a-1a44-41e0-8ea1-00f2a1d31c0c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:13:21 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8c4e4707-14c9-46cd-a374-c61fb29fc21b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151321Z:8c4e4707-14c9-46cd-a374-c61fb29fc21b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c5a41f3a-24b3-4fb3-896a-720563e3b9c0", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:13:51 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e229aeaa-397f-4bf1-934e-2c49c7de31b8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151352Z:e229aeaa-397f-4bf1-934e-2c49c7de31b8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e4676771-0791-4f8c-acbb-00a584921d50", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:14:22 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6f8116bd-da8a-4283-be08-7373909624a9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151422Z:6f8116bd-da8a-4283-be08-7373909624a9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "fc5b8a0a-8af2-4379-be4d-8d5c58e2b21c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:14:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "5b3d978b-fc9a-4e6c-b8a5-2f5b9b478f40", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151453Z:5b3d978b-fc9a-4e6c-b8a5-2f5b9b478f40", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2e8858d0-1fff-4a3b-9b5f-59df124c93a4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:15:23 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "be4668d5-6c59-4a3d-a191-722b30c724b3", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151523Z:be4668d5-6c59-4a3d-a191-722b30c724b3", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "21040ac3-2481-4716-acc9-e344e2723f76", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:15:53 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "68df17e3-07ef-4dff-9670-b5879e493c2d", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151554Z:68df17e3-07ef-4dff-9670-b5879e493c2d", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4336ea45-86f6-4c69-a97e-18f1a387cb01", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:16:24 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "af02e8b6-d8d0-40f1-81a4-4d74b909e955", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151625Z:af02e8b6-d8d0-40f1-81a4-4d74b909e955", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "9efd4686-1440-498d-81a3-d0a0b2f2bfb8", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:16:55 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "24cf2f8a-38a6-4362-a8e7-57d02bc94dc4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151655Z:24cf2f8a-38a6-4362-a8e7-57d02bc94dc4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8e154fa7-ac3b-448b-9e1c-618ceb8c82e9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:17:25 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b872af56-6ab4-40fc-9293-4868d20f70e9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151726Z:b872af56-6ab4-40fc-9293-4868d20f70e9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2513d897-5dc8-4653-8c1f-5d780b5594f9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:17:56 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e5545239-1163-492d-a1e9-46d82da6fddf", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151756Z:e5545239-1163-492d-a1e9-46d82da6fddf", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d279e11-679f-4018-9181-91b94ff2d036", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:18:26 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d1944877-8855-40da-aea3-17598e8138fd", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151827Z:d1944877-8855-40da-aea3-17598e8138fd", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "bba030bd-7b2b-40ab-80c7-3fe4c98f7700", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:18:56 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1efe671f-8add-4017-b0f0-b9b19bf26ee9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151857Z:1efe671f-8add-4017-b0f0-b9b19bf26ee9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d50a95da-7e44-480a-b8e2-24fd9106d956", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:19:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "eff4b905-83e2-4ec4-8703-c5ca288e1a71", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151928Z:eff4b905-83e2-4ec4-8703-c5ca288e1a71", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4aac9a03-0f61-4a0d-ab94-8ade365a43fb", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:19:58 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d248dee9-a6b3-4af2-8b8f-cafa525ecaea", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T151958Z:d248dee9-a6b3-4af2-8b8f-cafa525ecaea", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "56e59404-caae-4eba-981e-04ab98b3d543", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:20:27 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ded3edb9-bb7d-4fb6-8b1d-fb95a7b40b3e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152028Z:ded3edb9-bb7d-4fb6-8b1d-fb95a7b40b3e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2146dcc1-7a74-4fca-847a-1482dbf06021", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:20:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e78abcb7-f1c3-4b24-84f6-38590c156f76", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152059Z:e78abcb7-f1c3-4b24-84f6-38590c156f76", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7b133bd7-4ee7-4108-9ddd-b7ccc9670c1d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:21:29 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ec4671a5-39f9-497c-80f0-e8aad2fe7cc4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152129Z:ec4671a5-39f9-497c-80f0-e8aad2fe7cc4", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4e8890d8-eaf9-4a8c-ba44-4514bb3ba34e", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:21:59 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "92749c48-35a0-45d5-98c9-cf0a0e4a5335", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152200Z:92749c48-35a0-45d5-98c9-cf0a0e4a5335", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "93a95099-635d-413b-bdd2-a2228ccd84b4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:22:30 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "b98e9098-2940-4c94-8ee4-d316af1032e6", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152231Z:b98e9098-2940-4c94-8ee4-d316af1032e6", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3c72fe20-dc3c-40d6-9f60-6e1baea38006", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:23:00 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "242adfbf-614c-4ee0-86a6-9920e4f44c4b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152301Z:242adfbf-614c-4ee0-86a6-9920e4f44c4b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "72eb8f52-94f6-44bd-af18-a2ef9bec816b", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:23:31 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "92210be6-7168-41da-a52a-442ac6c054fe", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152331Z:92210be6-7168-41da-a52a-442ac6c054fe", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d346080-3879-4d3f-89c5-03cb33b50117", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:24:01 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11956", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "3adfa1f1-8e5d-46ae-b2fd-e34bf0fa4d53", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152402Z:3adfa1f1-8e5d-46ae-b2fd-e34bf0fa4d53", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "7799032e-751f-46b9-a5fe-110a079720b4", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:24:32 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11955", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f1a64f21-c6dc-4065-9312-544320448538", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152432Z:f1a64f21-c6dc-4065-9312-544320448538", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "36746cf6-b188-494c-93f1-44b7f234bd2d", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:25:02 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11954", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c13acfe4-39d2-41d9-bbea-32e1a6b6db0b", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152503Z:c13acfe4-39d2-41d9-bbea-32e1a6b6db0b", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "606b9017-9d25-42ba-bc02-ba3ba60a2dc9", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:25:33 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11953", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "41d5847e-ee52-4f38-b50c-22cd8a0ffcb9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152533Z:41d5847e-ee52-4f38-b50c-22cd8a0ffcb9", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d9427397-b0ab-444a-b9ab-730591cb8f34", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:25:34 GMT", - "content-length" : "1532", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11952", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "479d2253-9b55-44bd-a3f5-3f08e6951d74", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152534Z:479d2253-9b55-44bd-a3f5-3f08e6951d74", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2b6c0362-ef12-4382-a539-373c5951d143", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc\",\"name\":\"hdisdk-scriptactions186417663bc\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"ff67e41e-cbb7-480f-a16c-e2573ce81855\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T15:04:41.193\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-scriptactions186417663bc-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-scriptactions186417663bc.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/executeScriptActions?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:25:35 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "909f11de-2d93-4b59-8d6b-624290445525", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152535Z:909f11de-2d93-4b59-8d6b-624290445525", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/operationresults/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "1d2a35de-93bf-4981-b0c2-afb87d010893", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:25:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11951", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "635fee87-71cb-46b3-80bf-4d40097a3266", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152535Z:635fee87-71cb-46b3-80bf-4d40097a3266", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "e5c2c7d8-5e25-4bd7-a2c6-9bb04d67917c", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:26:04 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11950", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "0fced9fa-bcfb-42e6-93aa-14d20e4939cc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152605Z:0fced9fa-bcfb-42e6-93aa-14d20e4939cc", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d1b109a5-8f40-47d6-89bf-3e5378a01364", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:26:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11949", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "224ccfc1-f6f5-4c1c-96e0-7a4a8bd2906f", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152635Z:224ccfc1-f6f5-4c1c-96e0-7a4a8bd2906f", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "3b143165-6c54-4470-8d49-d6ec1e82e783", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:27:05 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11948", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "66149425-d163-41f5-a4d9-9159a9a58beb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152705Z:66149425-d163-41f5-a4d9-9159a9a58beb", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "d9d03f7c-cb6d-4265-9468-fecea9154bff", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:27:35 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11947", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "67cef5db-a4af-433b-8964-8dacb0c92886", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152736Z:67cef5db-a4af-433b-8964-8dacb0c92886", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "af17be43-27d3-4ccd-9144-64a19d70176a", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:05 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11946", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c2bf3a12-9298-4c48-b92c-7666c48af8b5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152806Z:c2bf3a12-9298-4c48-b92c-7666c48af8b5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "cd98a6f1-3c22-4012-83b0-ffebcff4b6fe", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:06 GMT", - "content-length" : "209", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11945", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "a745b627-f015-4275-a191-2f487baa7b27", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152807Z:a745b627-f015-4275-a191-2f487baa7b27", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "db5f91ae-83e1-42bb-8f28-11da4d66e3ab", - "Body" : "{\"value\":[{\"name\":\"script1\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"applicationName\":null}]}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions/script1?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:07 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "6aadd539-e3d9-4286-827a-952a02b58a91", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152808Z:6aadd539-e3d9-4286-827a-952a02b58a91", - "cache-control" : "no-cache", - "x-ms-request-id" : "ae0e7aac-ad3a-4eae-b89a-4c0b3145c68e", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:07 GMT", - "content-length" : "12", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11944", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "da6be5cd-da8e-4b3a-86b9-6531816d540e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152808Z:da6be5cd-da8e-4b3a-86b9-6531816d540e", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "c1d26f7d-4f3a-4232-9c6f-ed1981108f23", - "Body" : "{\"value\":[]}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:08 GMT", - "content-length" : "463", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11943", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f5b4f69f-5930-44a3-ada7-97b4c48e41e8", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152809Z:f5b4f69f-5930-44a3-ada7-97b4c48e41e8", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0492e9b2-a3c0-431c-8587-bc90180bf982", - "Body" : "{\"value\":[{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]}]}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory/950091347704332?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:08 GMT", - "content-length" : "4249", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11942", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bff11777-fc82-450f-950c-d3bfd92503a7", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152809Z:bff11777-fc82-450f-950c-d3bfd92503a7", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "a33c974b-16e6-44e7-8fc9-b1f68c49ec6a", - "Body" : "{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}],\"debugInformation\":\"{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28\\\",\\\"tasks\\\":[{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/85\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615655229,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-85.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"hn0-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"85\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-85.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630363,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/86\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615655276,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-86.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"86\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-86.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/87\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615633333,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-87.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"wn0-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"87\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-87.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/88\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615633266,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-88.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"wn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"88\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-88.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/89\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615633216,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-89.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"wn2-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"89\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-89.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}}]}\"}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/executeScriptActions?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:09 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "70970ed9-9a70-425a-a743-7abbb55c6c89", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152810Z:70970ed9-9a70-425a-a743-7abbb55c6c89", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/operationresults/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview", - "cache-control" : "no-cache", - "x-ms-request-id" : "b1d71680-470c-42d4-bbd9-19fc1e09c0de", - "Body" : "", - "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:09 GMT", - "content-length" : "23", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11941", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "29c9134c-e627-4584-bbd6-6ea8904386f5", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152810Z:29c9134c-e627-4584-bbd6-6ea8904386f5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8f9a6ec6-e632-4faf-9045-bc13e0d41717", - "Body" : "{\"status\":\"InProgress\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:40 GMT", - "content-length" : "22", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11940", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "222fdc78-cfd5-4e7e-83a4-74b20ff46b26", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152840Z:222fdc78-cfd5-4e7e-83a4-74b20ff46b26", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5e354bfc-6dae-4f42-a2a9-94d3598af314", - "Body" : "{\"status\":\"Succeeded\"}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:41 GMT", - "content-length" : "918", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11939", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "9d79bf74-0edf-4f6c-a544-58829ca2a995", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152841Z:9d79bf74-0edf-4f6c-a544-58829ca2a995", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "4748d516-6ae6-44af-aee9-37daf2538553", - "Body" : "{\"value\":[{\"scriptExecutionId\":950092901757386,\"name\":\"script5baf\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:28:13.7560485Z\",\"endTime\":\"2019-01-04T15:28:23.9445006Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]},{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]}]}" - } - }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory/950092901757386/promote?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:41 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "4ed77215-39f7-40d9-bd8b-a9db948855e4", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152841Z:4ed77215-39f7-40d9-bd8b-a9db948855e4", - "cache-control" : "no-cache", - "x-ms-request-id" : "46e5e585-fef2-4544-8b46-4c1ab6bd145d", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:42 GMT", - "content-length" : "212", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11938", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1f59c78e-dc71-4e59-a5e3-5a788de5bd53", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152842Z:1f59c78e-dc71-4e59-a5e3-5a788de5bd53", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b29bae52-8c49-4e0d-97f7-8d7d2553335a", - "Body" : "{\"value\":[{\"name\":\"script5baf\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"applicationName\":null}]}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory?api-version=2018-06-01-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:42 GMT", - "content-length" : "918", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11937", - "StatusCode" : "200", - "x-ms-hdi-served-by" : "global", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "bdc8d713-4475-4b58-8886-878adacb6078", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152842Z:bdc8d713-4475-4b58-8886-878adacb6078", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "b45964b0-f2e5-4dbc-8c5d-d8b491809bff", - "Body" : "{\"value\":[{\"scriptExecutionId\":950092901757386,\"name\":\"script5baf\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:28:13.7560485Z\",\"endTime\":\"2019-01-04T15:28:23.9445006Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]},{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]}]}" - } - }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-43359908c77f?api-version=2017-05-10", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Fri, 04 Jan 2019 15:28:44 GMT", - "content-length" : "0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d18c64bc-0108-4e5a-9888-decbe8c6c049", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20190104T152844Z:d18c64bc-0108-4e5a-9888-decbe8c6c049", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJENDMzNTk5MDhDNzdGLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", - "cache-control" : "no-cache", - "x-ms-request-id" : "d18c64bc-0108-4e5a-9888-decbe8c6c049", - "Body" : "" - } - } ], - "variables" : [ "hdijava-43359908c77f", "hdijava6c7565468c79", "hdisdk-scriptactions186417663bc" ] +{ + "networkCallRecords" : [ { + "Method" : "HEAD", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-43359908c77f?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:01 GMT", + "content-length" : "112", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3b28ed46-2602-4323-9a31-ba7a3db59543", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "WESTUS2:20190104T150401Z:3b28ed46-2602-4323-9a31-ba7a3db59543", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b28ed46-2602-4323-9a31-ba7a3db59543", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-43359908c77f?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:03 GMT", + "content-length" : "194", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "fbfcd864-dd2b-4f51-9a2a-1ccdd3fa59ad", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150403Z:fbfcd864-dd2b-4f51-9a2a-1ccdd3fa59ad", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fbfcd864-dd2b-4f51-9a2a-1ccdd3fa59ad", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f\",\"name\":\"hdijava-43359908c77f\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:04 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8b5a971c-2966-42a2-b0f8-f88ecba4ab95", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150404Z:8b5a971c-2966-42a2-b0f8-f88ecba4ab95", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "e3a5e3cd-9fda-41c4-8d34-9d49f634fade", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:04 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "067b447f-a9ce-4b6a-9333-ef01fd6d854b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150405Z:067b447f-a9ce-4b6a-9333-ef01fd6d854b", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b1a65ca-0371-4237-9248-4a521626ef5c", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e3a5e3cd-9fda-41c4-8d34-9d49f634fade?monitor=true&api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:21 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "19ae7f82-9713-43d3-876e-1973f4592fe5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150422Z:19ae7f82-9713-43d3-876e-1973f4592fe5", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "15f17220-9734-4c6e-8b3f-0c0b56376ed1", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79\",\"name\":\"hdijava6c7565468c79\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T15:04:04.3842398Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6c7565468c79.blob.core.windows.net/\",\"queue\":\"https://hdijava6c7565468c79.queue.core.windows.net/\",\"table\":\"https://hdijava6c7565468c79.table.core.windows.net/\",\"file\":\"https://hdijava6c7565468c79.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:21 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "1086", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c7d76066-bf59-42a0-970f-d65babb4bef2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150422Z:c7d76066-bf59-42a0-970f-d65babb4bef2", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b5844cf-a25d-4b4a-bf1c-d66cd8d8300d", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79\",\"name\":\"hdijava6c7565468c79\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"},\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2019-01-04T15:04:04.5405014Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2019-01-04T15:04:04.3842398Z\",\"primaryEndpoints\":{\"blob\":\"https://hdijava6c7565468c79.blob.core.windows.net/\",\"queue\":\"https://hdijava6c7565468c79.queue.core.windows.net/\",\"table\":\"https://hdijava6c7565468c79.table.core.windows.net/\",\"file\":\"https://hdijava6c7565468c79.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.Storage/storageAccounts/hdijava6c7565468c79/listKeys?api-version=2017-10-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.18.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (StorageManagementClient, 2017-10-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:21 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "288", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9591f9eb-7857-4e92-a6a3-5d8a714a3eba", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150422Z:9591f9eb-7857-4e92-a6a3-5d8a714a3eba", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "5badfee9-fef1-4b86-bd20-d029f3b80dbe", + "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"Whga7g1JBe0xYVQh/e5fjhmNEirtPKO3drNc0Qx5K9UmXIVwrAAeSeoKV1BG7lChDk6rylHEKwEvHZnovPwYSw==\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"x9splMgnb7JHUZhl9Zgp7ERRdcecJw47XrKVSM3SyLd/RcKcQEYIkR4KHajaVgiIgTD/YPgNg9Zh2VuKuKzLsQ==\",\"permissions\":\"FULL\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:41 GMT", + "content-length" : "1276", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "81f9206d-f8ba-40c7-a277-491ff9d9b2be", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150441Z:81f9206d-f8ba-40c7-a277-491ff9d9b2be", + "content-type" : "application/json; charset=utf-8", + "etag" : "\"ff67e41e-cbb7-480f-a16c-e2573ce81855\"", + "cache-control" : "no-cache", + "x-ms-hdi-clusteruri" : "https://management.azure.com/subscriptions/964c10bb-8a6c-43bc-83d3-6b318c6c7305/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc?api-version=2018-06-01-preview", + "x-ms-request-id" : "3da6d252-e80c-402d-9ffa-58fd25137d9f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc\",\"name\":\"hdisdk-scriptactions186417663bc\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"ff67e41e-cbb7-480f-a16c-e2573ce81855\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"InProgress\",\"clusterState\":\"Accepted\",\"createdDate\":\"2019-01-04T15:04:41.193\",\"quotaInfo\":{\"coresUsed\":20},\"tier\":\"standard\"}}", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:04:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6a262213-9a94-4a5f-8db1-389aa8c3a432", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150442Z:6a262213-9a94-4a5f-8db1-389aa8c3a432", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5cee2522-f22f-4fb5-b5ca-2aec016eef8e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:05:12 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ace5efcf-ac63-4981-aa60-9e4c0563b8fc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150512Z:ace5efcf-ac63-4981-aa60-9e4c0563b8fc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "20289c82-8731-4f0f-b9c7-c15519a5ab28", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:05:42 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "155cc6e8-f2b7-4183-9039-0ae2e00af155", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150543Z:155cc6e8-f2b7-4183-9039-0ae2e00af155", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b3591e9d-c256-42e3-8a7e-178bf4f1cfd9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:06:13 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "992606d8-2403-4522-91e5-6f2af34befed", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150613Z:992606d8-2403-4522-91e5-6f2af34befed", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5ee65149-2e1c-4c17-bd5b-087f192718df", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:06:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6fe2a445-d2fc-4b01-86a8-4695cb5a1f2a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150644Z:6fe2a445-d2fc-4b01-86a8-4695cb5a1f2a", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8f822d8d-d92e-4e50-941b-f5d0575438f2", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:07:14 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1559d387-852d-4dc3-8c8e-bfa6a552937d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150715Z:1559d387-852d-4dc3-8c8e-bfa6a552937d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7c72b805-1c90-4930-b1d7-335fce4da3c3", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:07:44 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c3a33eb8-e726-42f9-a498-6787db86709d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150745Z:c3a33eb8-e726-42f9-a498-6787db86709d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e2396ab1-13d0-498f-b52d-6a63f3a201f9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:08:15 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "83cbeb06-76b5-4a7f-92b2-89e2cbd8e322", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150816Z:83cbeb06-76b5-4a7f-92b2-89e2cbd8e322", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4abd2cd9-1067-434c-bc95-a982339226c8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:08:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8c008539-343a-486d-8373-bd5d85d9dd28", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150846Z:8c008539-343a-486d-8373-bd5d85d9dd28", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e141e023-fca0-4eb1-b4f3-b9e6d19d355b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:09:16 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "dfaaf016-f3b2-45d6-aa2d-4f522d5ae984", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150917Z:dfaaf016-f3b2-45d6-aa2d-4f522d5ae984", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "46a39953-8d4d-42de-baed-d8afd6888086", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:09:46 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e69a4888-2114-493c-b1d5-ef3b1d9c0e81", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T150947Z:e69a4888-2114-493c-b1d5-ef3b1d9c0e81", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "21bb00db-69c8-4d13-83e5-589a320358ce", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:10:17 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "7cec239e-7a50-4f0b-af8e-51f807d064e2", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151018Z:7cec239e-7a50-4f0b-af8e-51f807d064e2", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd07cdca-3a6c-4419-a0af-6c865a0a4230", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:10:48 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cef31514-9b45-44be-b854-573fa8f78e4c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151048Z:cef31514-9b45-44be-b854-573fa8f78e4c", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8f5d8b77-34fe-450f-acd0-c29212233aac", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:11:19 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ac1dc560-b408-41e5-b8b2-6581625ac586", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151119Z:ac1dc560-b408-41e5-b8b2-6581625ac586", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "de0a283a-22cf-4638-bc94-d27852145880", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:11:49 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e18a0efc-ccda-4ba3-a4ae-6c37377a2a64", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151150Z:e18a0efc-ccda-4ba3-a4ae-6c37377a2a64", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "f8d53157-a3bb-4d29-b9ff-1331704be082", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:12:20 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c796ef92-b5db-44ee-8aa4-d12b8c7f39ae", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151220Z:c796ef92-b5db-44ee-8aa4-d12b8c7f39ae", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ef2930ae-e614-42b7-bbc3-8d679b627687", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:12:50 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "852af98f-6203-4eaf-aad8-2a80948c43fa", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151250Z:852af98f-6203-4eaf-aad8-2a80948c43fa", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "40ff257a-1a44-41e0-8ea1-00f2a1d31c0c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:13:21 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8c4e4707-14c9-46cd-a374-c61fb29fc21b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151321Z:8c4e4707-14c9-46cd-a374-c61fb29fc21b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c5a41f3a-24b3-4fb3-896a-720563e3b9c0", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:13:51 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e229aeaa-397f-4bf1-934e-2c49c7de31b8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151352Z:e229aeaa-397f-4bf1-934e-2c49c7de31b8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e4676771-0791-4f8c-acbb-00a584921d50", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:14:22 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6f8116bd-da8a-4283-be08-7373909624a9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151422Z:6f8116bd-da8a-4283-be08-7373909624a9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fc5b8a0a-8af2-4379-be4d-8d5c58e2b21c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:14:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "5b3d978b-fc9a-4e6c-b8a5-2f5b9b478f40", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151453Z:5b3d978b-fc9a-4e6c-b8a5-2f5b9b478f40", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2e8858d0-1fff-4a3b-9b5f-59df124c93a4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:15:23 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "be4668d5-6c59-4a3d-a191-722b30c724b3", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151523Z:be4668d5-6c59-4a3d-a191-722b30c724b3", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "21040ac3-2481-4716-acc9-e344e2723f76", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:15:53 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "68df17e3-07ef-4dff-9670-b5879e493c2d", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151554Z:68df17e3-07ef-4dff-9670-b5879e493c2d", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4336ea45-86f6-4c69-a97e-18f1a387cb01", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:16:24 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "af02e8b6-d8d0-40f1-81a4-4d74b909e955", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151625Z:af02e8b6-d8d0-40f1-81a4-4d74b909e955", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9efd4686-1440-498d-81a3-d0a0b2f2bfb8", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:16:55 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "24cf2f8a-38a6-4362-a8e7-57d02bc94dc4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151655Z:24cf2f8a-38a6-4362-a8e7-57d02bc94dc4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8e154fa7-ac3b-448b-9e1c-618ceb8c82e9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:17:25 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b872af56-6ab4-40fc-9293-4868d20f70e9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151726Z:b872af56-6ab4-40fc-9293-4868d20f70e9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2513d897-5dc8-4653-8c1f-5d780b5594f9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:17:56 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e5545239-1163-492d-a1e9-46d82da6fddf", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151756Z:e5545239-1163-492d-a1e9-46d82da6fddf", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1d279e11-679f-4018-9181-91b94ff2d036", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:18:26 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d1944877-8855-40da-aea3-17598e8138fd", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151827Z:d1944877-8855-40da-aea3-17598e8138fd", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bba030bd-7b2b-40ab-80c7-3fe4c98f7700", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:18:56 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1efe671f-8add-4017-b0f0-b9b19bf26ee9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151857Z:1efe671f-8add-4017-b0f0-b9b19bf26ee9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d50a95da-7e44-480a-b8e2-24fd9106d956", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:19:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "eff4b905-83e2-4ec4-8703-c5ca288e1a71", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151928Z:eff4b905-83e2-4ec4-8703-c5ca288e1a71", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4aac9a03-0f61-4a0d-ab94-8ade365a43fb", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:19:58 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d248dee9-a6b3-4af2-8b8f-cafa525ecaea", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T151958Z:d248dee9-a6b3-4af2-8b8f-cafa525ecaea", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "56e59404-caae-4eba-981e-04ab98b3d543", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:20:27 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ded3edb9-bb7d-4fb6-8b1d-fb95a7b40b3e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152028Z:ded3edb9-bb7d-4fb6-8b1d-fb95a7b40b3e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2146dcc1-7a74-4fca-847a-1482dbf06021", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:20:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e78abcb7-f1c3-4b24-84f6-38590c156f76", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152059Z:e78abcb7-f1c3-4b24-84f6-38590c156f76", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7b133bd7-4ee7-4108-9ddd-b7ccc9670c1d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:21:29 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ec4671a5-39f9-497c-80f0-e8aad2fe7cc4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152129Z:ec4671a5-39f9-497c-80f0-e8aad2fe7cc4", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4e8890d8-eaf9-4a8c-ba44-4514bb3ba34e", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:21:59 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "92749c48-35a0-45d5-98c9-cf0a0e4a5335", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152200Z:92749c48-35a0-45d5-98c9-cf0a0e4a5335", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "93a95099-635d-413b-bdd2-a2228ccd84b4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:22:30 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "b98e9098-2940-4c94-8ee4-d316af1032e6", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152231Z:b98e9098-2940-4c94-8ee4-d316af1032e6", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3c72fe20-dc3c-40d6-9f60-6e1baea38006", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:23:00 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "242adfbf-614c-4ee0-86a6-9920e4f44c4b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152301Z:242adfbf-614c-4ee0-86a6-9920e4f44c4b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "72eb8f52-94f6-44bd-af18-a2ef9bec816b", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:23:31 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "92210be6-7168-41da-a52a-442ac6c054fe", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152331Z:92210be6-7168-41da-a52a-442ac6c054fe", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1d346080-3879-4d3f-89c5-03cb33b50117", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:24:01 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "3adfa1f1-8e5d-46ae-b2fd-e34bf0fa4d53", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152402Z:3adfa1f1-8e5d-46ae-b2fd-e34bf0fa4d53", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7799032e-751f-46b9-a5fe-110a079720b4", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:24:32 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f1a64f21-c6dc-4065-9312-544320448538", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152432Z:f1a64f21-c6dc-4065-9312-544320448538", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "36746cf6-b188-494c-93f1-44b7f234bd2d", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:25:02 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c13acfe4-39d2-41d9-bbea-32e1a6b6db0b", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152503Z:c13acfe4-39d2-41d9-bbea-32e1a6b6db0b", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "606b9017-9d25-42ba-bc02-ba3ba60a2dc9", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/create?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:25:33 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "41d5847e-ee52-4f38-b50c-22cd8a0ffcb9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152533Z:41d5847e-ee52-4f38-b50c-22cd8a0ffcb9", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d9427397-b0ab-444a-b9ab-730591cb8f34", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:25:34 GMT", + "content-length" : "1532", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "479d2253-9b55-44bd-a3f5-3f08e6951d74", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152534Z:479d2253-9b55-44bd-a3f5-3f08e6951d74", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2b6c0362-ef12-4382-a539-373c5951d143", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc\",\"name\":\"hdisdk-scriptactions186417663bc\",\"type\":\"Microsoft.HDInsight/clusters\",\"location\":\"East US 2\",\"etag\":\"ff67e41e-cbb7-480f-a16c-e2573ce81855\",\"tags\":null,\"properties\":{\"clusterVersion\":\"3.6.1000.67\",\"clusterHdpVersion\":\"2.6.5.3005-27\",\"osType\":\"Linux\",\"clusterDefinition\":{\"blueprint\":\"https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.1812120705.json\",\"kind\":\"hadoop\",\"componentVersion\":{\"hadoop\":\"2.7\"}},\"computeProfile\":{\"roles\":[{\"name\":\"headnode\",\"targetInstanceCount\":2,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"workernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Large\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false},{\"name\":\"zookeepernode\",\"targetInstanceCount\":3,\"hardwareProfile\":{\"vmSize\":\"Medium\"},\"osProfile\":{\"linuxOperatingSystemProfile\":{\"username\":\"sshuser\"}},\"encryptDataDisks\":false}]},\"provisioningState\":\"Succeeded\",\"clusterState\":\"Running\",\"createdDate\":\"2019-01-04T15:04:41.193\",\"quotaInfo\":{\"coresUsed\":20},\"connectivityEndpoints\":[{\"name\":\"SSH\",\"protocol\":\"TCP\",\"location\":\"hdisdk-scriptactions186417663bc-ssh.azurehdinsight.net\",\"port\":22},{\"name\":\"HTTPS\",\"protocol\":\"TCP\",\"location\":\"hdisdk-scriptactions186417663bc.azurehdinsight.net\",\"port\":443}],\"tier\":\"standard\"}}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/executeScriptActions?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:25:35 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "909f11de-2d93-4b59-8d6b-624290445525", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152535Z:909f11de-2d93-4b59-8d6b-624290445525", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/operationresults/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "1d2a35de-93bf-4981-b0c2-afb87d010893", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:25:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11951", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "635fee87-71cb-46b3-80bf-4d40097a3266", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152535Z:635fee87-71cb-46b3-80bf-4d40097a3266", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e5c2c7d8-5e25-4bd7-a2c6-9bb04d67917c", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:26:04 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11950", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "0fced9fa-bcfb-42e6-93aa-14d20e4939cc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152605Z:0fced9fa-bcfb-42e6-93aa-14d20e4939cc", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d1b109a5-8f40-47d6-89bf-3e5378a01364", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:26:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11949", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "224ccfc1-f6f5-4c1c-96e0-7a4a8bd2906f", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152635Z:224ccfc1-f6f5-4c1c-96e0-7a4a8bd2906f", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b143165-6c54-4470-8d49-d6ec1e82e783", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:27:05 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11948", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "66149425-d163-41f5-a4d9-9159a9a58beb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152705Z:66149425-d163-41f5-a4d9-9159a9a58beb", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "d9d03f7c-cb6d-4265-9468-fecea9154bff", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:27:35 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11947", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "67cef5db-a4af-433b-8964-8dacb0c92886", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152736Z:67cef5db-a4af-433b-8964-8dacb0c92886", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "af17be43-27d3-4ccd-9144-64a19d70176a", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/316a4c51-cf62-44b3-9770-b9130ca96811-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:05 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11946", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c2bf3a12-9298-4c48-b92c-7666c48af8b5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152806Z:c2bf3a12-9298-4c48-b92c-7666c48af8b5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cd98a6f1-3c22-4012-83b0-ffebcff4b6fe", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:06 GMT", + "content-length" : "209", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11945", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "a745b627-f015-4275-a191-2f487baa7b27", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152807Z:a745b627-f015-4275-a191-2f487baa7b27", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "db5f91ae-83e1-42bb-8f28-11da4d66e3ab", + "Body" : "{\"value\":[{\"name\":\"script1\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"applicationName\":null}]}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions/script1?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:07 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "6aadd539-e3d9-4286-827a-952a02b58a91", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152808Z:6aadd539-e3d9-4286-827a-952a02b58a91", + "cache-control" : "no-cache", + "x-ms-request-id" : "ae0e7aac-ad3a-4eae-b89a-4c0b3145c68e", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:07 GMT", + "content-length" : "12", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11944", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "da6be5cd-da8e-4b3a-86b9-6531816d540e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152808Z:da6be5cd-da8e-4b3a-86b9-6531816d540e", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c1d26f7d-4f3a-4232-9c6f-ed1981108f23", + "Body" : "{\"value\":[]}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:08 GMT", + "content-length" : "463", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11943", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f5b4f69f-5930-44a3-ada7-97b4c48e41e8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152809Z:f5b4f69f-5930-44a3-ada7-97b4c48e41e8", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0492e9b2-a3c0-431c-8587-bc90180bf982", + "Body" : "{\"value\":[{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]}]}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory/950091347704332?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:08 GMT", + "content-length" : "4249", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11942", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bff11777-fc82-450f-950c-d3bfd92503a7", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152809Z:bff11777-fc82-450f-950c-d3bfd92503a7", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a33c974b-16e6-44e7-8fc9-b1f68c49ec6a", + "Body" : "{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}],\"debugInformation\":\"{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28\\\",\\\"tasks\\\":[{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/85\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615655229,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-85.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"hn0-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"85\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-85.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630363,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/86\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615655276,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-86.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"86\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-86.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/87\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615633333,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-87.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"wn0-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"87\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-87.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/88\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615633266,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-88.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"wn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"88\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-88.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}},{\\\"href\\\":\\\"http://hn1-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net:8080/api/v1/clusters/hdisdk-scriptactions186417663bc/requests/28/tasks/89\\\",\\\"Tasks\\\":{\\\"attempt_cnt\\\":1,\\\"command\\\":\\\"ACTIONEXECUTE\\\",\\\"command_detail\\\":\\\"run_customscriptaction ACTIONEXECUTE\\\",\\\"end_time\\\":1546615633216,\\\"error_log\\\":\\\"/var/lib/ambari-agent/data/errors-89.txt\\\",\\\"exit_code\\\":0,\\\"host_name\\\":\\\"wn2-hdisdk.lxgvj4lxjhtute5r3vk0e4opuf.cx.internal.cloudapp.net\\\",\\\"id\\\":\\\"89\\\",\\\"output_log\\\":\\\"/var/lib/ambari-agent/data/output-89.txt\\\",\\\"request_id\\\":\\\"28\\\",\\\"role\\\":\\\"run_customscriptaction\\\",\\\"stage_id\\\":\\\"0\\\",\\\"start_time\\\":1546615630364,\\\"status\\\":\\\"COMPLETED\\\",\\\"stderr\\\":null,\\\"stdout\\\":null,\\\"structured_out\\\":null}}]}\"}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/executeScriptActions?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:09 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "70970ed9-9a70-425a-a743-7abbb55c6c89", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152810Z:70970ed9-9a70-425a-a743-7abbb55c6c89", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/operationresults/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview", + "cache-control" : "no-cache", + "x-ms-request-id" : "b1d71680-470c-42d4-bbd9-19fc1e09c0de", + "Body" : "", + "azure-asyncoperation" : "https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:09 GMT", + "content-length" : "23", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11941", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "29c9134c-e627-4584-bbd6-6ea8904386f5", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152810Z:29c9134c-e627-4584-bbd6-6ea8904386f5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8f9a6ec6-e632-4faf-9045-bc13e0d41717", + "Body" : "{\"status\":\"InProgress\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/azureasyncoperations/4a1056ad-cd49-44ca-8adc-ca0682a21be3-0?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:40 GMT", + "content-length" : "22", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11940", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "222fdc78-cfd5-4e7e-83a4-74b20ff46b26", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152840Z:222fdc78-cfd5-4e7e-83a4-74b20ff46b26", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5e354bfc-6dae-4f42-a2a9-94d3598af314", + "Body" : "{\"status\":\"Succeeded\"}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:41 GMT", + "content-length" : "918", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11939", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "9d79bf74-0edf-4f6c-a544-58829ca2a995", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152841Z:9d79bf74-0edf-4f6c-a544-58829ca2a995", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4748d516-6ae6-44af-aee9-37daf2538553", + "Body" : "{\"value\":[{\"scriptExecutionId\":950092901757386,\"name\":\"script5baf\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:28:13.7560485Z\",\"endTime\":\"2019-01-04T15:28:23.9445006Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]},{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]}]}" + } + }, { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory/950092901757386/promote?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:41 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "4ed77215-39f7-40d9-bd8b-a9db948855e4", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152841Z:4ed77215-39f7-40d9-bd8b-a9db948855e4", + "cache-control" : "no-cache", + "x-ms-request-id" : "46e5e585-fef2-4544-8b46-4c1ab6bd145d", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptActions?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:42 GMT", + "content-length" : "212", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11938", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1f59c78e-dc71-4e59-a5e3-5a788de5bd53", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152842Z:1f59c78e-dc71-4e59-a5e3-5a788de5bd53", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b29bae52-8c49-4e0d-97f7-8d7d2553335a", + "Body" : "{\"value\":[{\"name\":\"script5baf\",\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"applicationName\":null}]}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdijava-43359908c77f/providers/Microsoft.HDInsight/clusters/hdisdk-scriptactions186417663bc/scriptExecutionHistory?api-version=2018-06-01-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (HDInsightManagementClient, 2018-06-01-preview, auto-generated)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:42 GMT", + "content-length" : "918", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11937", + "StatusCode" : "200", + "x-ms-hdi-served-by" : "global", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "bdc8d713-4475-4b58-8886-878adacb6078", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152842Z:bdc8d713-4475-4b58-8886-878adacb6078", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b45964b0-f2e5-4dbc-8c5d-d8b491809bff", + "Body" : "{\"value\":[{\"scriptExecutionId\":950092901757386,\"name\":\"script5baf\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:28:13.7560485Z\",\"endTime\":\"2019-01-04T15:28:23.9445006Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]},{\"scriptExecutionId\":950091347704332,\"name\":\"script1\",\"applicationName\":null,\"uri\":\"https://hdiconfigactions.blob.core.windows.net/linuxgiraphconfigactionv01/giraph-installer-v01.sh\",\"parameters\":\"\",\"roles\":[\"headnode\",\"workernode\"],\"startTime\":\"2019-01-04T15:25:36.6180477Z\",\"endTime\":\"2019-01-04T15:27:37.8143221Z\",\"status\":\"Succeeded\",\"operation\":\"PostClusterCreateScriptActionRequest\",\"executionSummary\":[{\"status\":\"COMPLETED\",\"instanceCount\":5}]}]}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/hdijava-43359908c77f?api-version=2017-05-10", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.14.0 OS:Windows Server 2016/10.0 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 Java:11.0.1 (ResourceManagementClient, 2017-05-10)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Fri, 04 Jan 2019 15:28:44 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d18c64bc-0108-4e5a-9888-decbe8c6c049", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20190104T152844Z:d18c64bc-0108-4e5a-9888-decbe8c6c049", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1IRElKQVZBOjJENDMzNTk5MDhDNzdGLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10", + "cache-control" : "no-cache", + "x-ms-request-id" : "d18c64bc-0108-4e5a-9888-decbe8c6c049", + "Body" : "" + } + } ], + "variables" : [ "hdijava-43359908c77f", "hdijava6c7565468c79", "hdisdk-scriptactions186417663bc" ] } \ No newline at end of file diff --git a/iotcentral/resource-manager/v2017_07_01_privatepreview/pom.xml b/iotcentral/resource-manager/v2017_07_01_privatepreview/pom.xml index 9e5ce69b23483..6e349a466fd6b 100644 --- a/iotcentral/resource-manager/v2017_07_01_privatepreview/pom.xml +++ b/iotcentral/resource-manager/v2017_07_01_privatepreview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.iotcentral.v2017_07_01_privatepreview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-iotcentral - 1.0.0-beta - jar - Microsoft Azure SDK for IoTCentral Management - This package contains Microsoft IoTCentral Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.iotcentral.v2017_07_01_privatepreview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-iotcentral + 1.0.0-beta + jar + Microsoft Azure SDK for IoTCentral Management + This package contains Microsoft IoTCentral Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/iotcentral/resource-manager/v2018_09_01/pom.xml b/iotcentral/resource-manager/v2018_09_01/pom.xml index 216ac16f3eb5a..df7f0323b95e3 100644 --- a/iotcentral/resource-manager/v2018_09_01/pom.xml +++ b/iotcentral/resource-manager/v2018_09_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.iotcentral.v2018_09_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-iotcentral - 1.0.0-beta - jar - Microsoft Azure SDK for IoTCentral Management - This package contains Microsoft IoTCentral Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.iotcentral.v2018_09_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-iotcentral + 1.0.0-beta + jar + Microsoft Azure SDK for IoTCentral Management + This package contains Microsoft IoTCentral Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java index e8c0713955093..07b6d662eca31 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java @@ -1,400 +1,400 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography; - -import java.io.IOException; -import java.security.GeneralSecurityException; -import java.security.InvalidAlgorithmParameterException; -import java.security.KeyPair; -import java.security.KeyPairGenerator; -import java.security.NoSuchAlgorithmException; -import java.security.NoSuchProviderException; -import java.security.Provider; -import java.security.Security; -import java.security.interfaces.ECPublicKey; -import java.security.spec.ECGenParameterSpec; -import java.security.spec.ECParameterSpec; -import java.security.spec.EllipticCurve; -import java.security.spec.InvalidKeySpecException; -import java.util.Arrays; -import java.util.List; -import java.util.Map; -import java.util.UUID; - -import org.apache.commons.lang3.tuple.Pair; -import org.apache.commons.lang3.tuple.Triple; - -import com.google.common.collect.ImmutableMap; -import com.google.common.util.concurrent.Futures; -import com.google.common.util.concurrent.ListenableFuture; -import com.microsoft.azure.keyvault.core.IKey; -import com.microsoft.azure.keyvault.cryptography.algorithms.Ecdsa; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es256k; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es256; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es384; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es512; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; - - -public class EcKey implements IKey { - - public static final String P256 = "secp256r1"; - public static final String P384 = "secp384r1"; - public static final String P521 = "secp521r1"; - public static final String P256K = "secp256k1"; - public static final Map CURVE_TO_SIGNATURE = ImmutableMap.builder() - .put(JsonWebKeyCurveName.P_256, Es256.ALGORITHM_NAME) - .put(JsonWebKeyCurveName.P_384, Es384.ALGORITHM_NAME) - .put(JsonWebKeyCurveName.P_521, Es512.ALGORITHM_NAME) - .put(JsonWebKeyCurveName.P_256K, Es256k.ALGORITHM_NAME) - .build(); - public static final Map CURVE_TO_SPEC_NAME = ImmutableMap.builder() - .put(JsonWebKeyCurveName.P_256, P256) - .put(JsonWebKeyCurveName.P_384, P384) - .put(JsonWebKeyCurveName.P_521, P521) - .put(JsonWebKeyCurveName.P_256K, P256K) - .build(); - - - private final String kid; - private final KeyPair keyPair; - private final Provider provider; - private final JsonWebKeyCurveName curve; - - protected final String signatureAlgorithm; - protected String defaultEncryptionAlgorithm; - - public static JsonWebKeyCurveName getDefaultCurve() { - return JsonWebKeyCurveName.P_256; - } - - /** - * Constructor. - * - * Generates a new EcKey with a P_256 curve and a randomly generated kid. - * - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - */ - public EcKey() throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { - this(UUID.randomUUID().toString()); - } - - /** - * Constructor. - * - * Generates a new EcKey with a P_256 curve and the given kid. - * - * @param kid - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - */ - public EcKey(String kid) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { - this(kid, getDefaultCurve(), Security.getProvider("SunEC")); - } - - /** - * Constructor. - * - * Generates a new EcKey with the given curve and kid. - * @param kid - * @param curve - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - */ - public EcKey(String kid, JsonWebKeyCurveName curve) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { - this(kid, curve, Security.getProvider("SunEC")); - } - - /** - * Constructor. - * - * Generates a new EcKey with the given curve and kid. - * @param kid - * @param curve - * @param provider Java security provider - * @throws InvalidAlgorithmParameterException - * @throws NoSuchAlgorithmException - */ - public EcKey(String kid, JsonWebKeyCurveName curve, Provider provider) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { - this.kid = kid; - this.provider = provider; - this.curve = curve; - - signatureAlgorithm = CURVE_TO_SIGNATURE.get(curve); - if (signatureAlgorithm == null) { - throw new NoSuchAlgorithmException("Curve not supported."); - } - - final KeyPairGenerator generator = KeyPairGenerator.getInstance("EC", provider); - ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve)); - - generator.initialize(gps); - keyPair = generator.generateKeyPair(); - - } - - /** - * Constructor. - * - * Generates a new EcKey with the given keyPair. - * The keyPair must be an ECKey. - * @param kid - * @param keyPair - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - */ - public EcKey(String kid, KeyPair keyPair) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { - this(kid, keyPair, Security.getProvider("SunEC")); - } - - /** - * Constructor. - * - * Generates a new EcKey with the given keyPair. - * The keyPair must be an ECKey. - * @param kid - * @param keyPair - * @param provider Java security provider - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - */ - public EcKey(String kid, KeyPair keyPair, Provider provider) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { - - if (Strings.isNullOrWhiteSpace(kid)) { - throw new IllegalArgumentException("Please provide a kid"); - } - - if (keyPair == null) { - throw new IllegalArgumentException("Please provide an ECKey"); - } - - if (keyPair.getPublic() == null || !(keyPair.getPublic() instanceof ECPublicKey)) { - throw new IllegalArgumentException("The keyPair provided is not an ECKey"); - } - - this.kid = kid; - this.keyPair = keyPair; - this.provider = provider; - curve = getCurveFromKeyPair(keyPair); - signatureAlgorithm = CURVE_TO_SIGNATURE.get(curve); - if (signatureAlgorithm == null) { - throw new IllegalArgumentException("Curve not supported."); - } - } - - /** - * Converts JSON web key to EC key pair, does not include the private key. - * @param jwk - * @return EcKey - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - * @throws InvalidKeySpecException - * @throws NoSuchProviderException - */ - public static EcKey fromJsonWebKey(JsonWebKey jwk) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeySpecException, NoSuchProviderException { - return fromJsonWebKey(jwk, false, null); - } - - /** - * Converts JSON web key to EC key pair and include the private key if set to true. - * @param jwk - * @param includePrivateParameters true if the EC key pair should include the private key. False otherwise. - * @return EcKey - * @throws NoSuchAlgorithmException - * @throws InvalidAlgorithmParameterException - * @throws InvalidKeySpecException - * @throws NoSuchProviderException - */ - public static EcKey fromJsonWebKey(JsonWebKey jwk, boolean includePrivateParameters) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeySpecException, NoSuchProviderException { - return fromJsonWebKey(jwk, includePrivateParameters, null); - } - - /** - * Converts JSON web key to EC key pair and include the private key if set to true. - * @param jwk - * @param includePrivateParameters true if the EC key pair should include the private key. False otherwise. - * @param provider the Java Security Provider - * @return EcKey - */ - public static EcKey fromJsonWebKey(JsonWebKey jwk, boolean includePrivateParameters, Provider provider) { - try { - if (jwk.kid() != null) { - return new EcKey(jwk.kid(), jwk.toEC(includePrivateParameters, provider)); - } else { - throw new IllegalArgumentException("Json Web Key should have a kid"); - } - } catch (GeneralSecurityException e) { - throw new IllegalStateException(e); - } - } - - /** - * Converts EcKey to JSON web key. - * @return - */ - public JsonWebKey toJsonWebKey() { - return JsonWebKey.fromEC(keyPair, provider); - } - - // Matches the curve of the keyPair to supported curves. - private JsonWebKeyCurveName getCurveFromKeyPair(KeyPair keyPair) { - try { - ECPublicKey key = (ECPublicKey) keyPair.getPublic(); - ECParameterSpec spec = key.getParams(); - EllipticCurve crv = spec.getCurve(); - - List curveList = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K); - - for (JsonWebKeyCurveName curve : curveList) { - ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve)); - KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider); - kpg.initialize(gps); - - // Generate dummy keypair to get parameter spec. - KeyPair apair = kpg.generateKeyPair(); - ECPublicKey apub = (ECPublicKey) apair.getPublic(); - ECParameterSpec aspec = apub.getParams(); - EllipticCurve acurve = aspec.getCurve(); - - //Matches the parameter spec - if (acurve.equals(crv)) { - return curve; - } - } - - //Did not find a supported curve. - throw new IllegalArgumentException("Curve not supported."); - } catch (GeneralSecurityException e) { - throw new IllegalStateException(e); - } - } - - /** - * @return curve of the key - */ - public JsonWebKeyCurveName getCurve() { - return curve; - } - - /** - * - * @return the underlying keyPair of the key - */ - public KeyPair getKeyPair() { - return keyPair; - } - - @Override - public void close() throws IOException { - // Intentionally empty - } - - @Override - public String getDefaultEncryptionAlgorithm() { - return null; - } - - @Override - public String getDefaultKeyWrapAlgorithm() { - return null; - } - - @Override - public String getDefaultSignatureAlgorithm() { - return signatureAlgorithm; - } - - @Override - public String getKid() { - return kid; - } - - @Override - public ListenableFuture decryptAsync(byte[] ciphertext, byte[] iv, byte[] authenticationData, - byte[] authenticationTag, String algorithm) throws NoSuchAlgorithmException { - throw new UnsupportedOperationException("Decrypt Async is not supported"); - } - - @Override - public ListenableFuture> encryptAsync(byte[] plaintext, byte[] iv, - byte[] authenticationData, String algorithm) throws NoSuchAlgorithmException { - throw new UnsupportedOperationException("Encrypt Async is not supported"); - } - - @Override - public ListenableFuture> wrapKeyAsync(byte[] key, String algorithm) - throws NoSuchAlgorithmException { - throw new UnsupportedOperationException("Wrap key is not supported"); - } - - @Override - public ListenableFuture unwrapKeyAsync(byte[] encryptedKey, String algorithm) - throws NoSuchAlgorithmException { - throw new UnsupportedOperationException("Unwrap key is not supported"); - } - - @Override - public ListenableFuture> signAsync(byte[] digest, String algorithm) throws NoSuchAlgorithmException { - - if (keyPair.getPrivate() == null) { - throw new UnsupportedOperationException("Sign is not supported without a private key."); - } - - if (digest == null) { - throw new IllegalArgumentException("Please provide a digest to sign."); - } - - if (Strings.isNullOrWhiteSpace(algorithm)) { - throw new IllegalArgumentException("Please provide a signature algorithm to use."); - } - - // Interpret the requested algorithm - Algorithm baseAlgorithm = AlgorithmResolver.Default.get(algorithm); - - if (baseAlgorithm == null || !(baseAlgorithm instanceof AsymmetricSignatureAlgorithm)) { - throw new NoSuchAlgorithmException(algorithm); - } - - Ecdsa algo = (Ecdsa) baseAlgorithm; - ISignatureTransform signer = algo.createSignatureTransform(keyPair, provider); - - try { - return Futures.immediateFuture(Pair.of(signer.sign(digest), algorithm)); - } catch (Exception e) { - return Futures.immediateFailedFuture(e); - } - } - - @Override - public ListenableFuture verifyAsync(byte[] digest, byte[] signature, String algorithm) throws NoSuchAlgorithmException { - - if (digest == null) { - throw new IllegalArgumentException("Please provide a digest input."); - } - - if (Strings.isNullOrWhiteSpace(algorithm)) { - throw new IllegalArgumentException("Please provide an algorithm"); - } - - // Interpret the requested algorithm - Algorithm baseAlgorithm = AlgorithmResolver.Default.get(algorithm); - - if (baseAlgorithm == null || !(baseAlgorithm instanceof AsymmetricSignatureAlgorithm)) { - throw new NoSuchAlgorithmException(algorithm); - } - - Ecdsa algo = (Ecdsa) baseAlgorithm; - - ISignatureTransform signer = algo.createSignatureTransform(keyPair, provider); - - try { - return Futures.immediateFuture(signer.verify(digest, signature)); - } catch (Exception e) { - return Futures.immediateFailedFuture(e); - } - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography; + +import java.io.IOException; +import java.security.GeneralSecurityException; +import java.security.InvalidAlgorithmParameterException; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.security.NoSuchAlgorithmException; +import java.security.NoSuchProviderException; +import java.security.Provider; +import java.security.Security; +import java.security.interfaces.ECPublicKey; +import java.security.spec.ECGenParameterSpec; +import java.security.spec.ECParameterSpec; +import java.security.spec.EllipticCurve; +import java.security.spec.InvalidKeySpecException; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.UUID; + +import org.apache.commons.lang3.tuple.Pair; +import org.apache.commons.lang3.tuple.Triple; + +import com.google.common.collect.ImmutableMap; +import com.google.common.util.concurrent.Futures; +import com.google.common.util.concurrent.ListenableFuture; +import com.microsoft.azure.keyvault.core.IKey; +import com.microsoft.azure.keyvault.cryptography.algorithms.Ecdsa; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es256k; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es256; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es384; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es512; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; + + +public class EcKey implements IKey { + + public static final String P256 = "secp256r1"; + public static final String P384 = "secp384r1"; + public static final String P521 = "secp521r1"; + public static final String P256K = "secp256k1"; + public static final Map CURVE_TO_SIGNATURE = ImmutableMap.builder() + .put(JsonWebKeyCurveName.P_256, Es256.ALGORITHM_NAME) + .put(JsonWebKeyCurveName.P_384, Es384.ALGORITHM_NAME) + .put(JsonWebKeyCurveName.P_521, Es512.ALGORITHM_NAME) + .put(JsonWebKeyCurveName.P_256K, Es256k.ALGORITHM_NAME) + .build(); + public static final Map CURVE_TO_SPEC_NAME = ImmutableMap.builder() + .put(JsonWebKeyCurveName.P_256, P256) + .put(JsonWebKeyCurveName.P_384, P384) + .put(JsonWebKeyCurveName.P_521, P521) + .put(JsonWebKeyCurveName.P_256K, P256K) + .build(); + + + private final String kid; + private final KeyPair keyPair; + private final Provider provider; + private final JsonWebKeyCurveName curve; + + protected final String signatureAlgorithm; + protected String defaultEncryptionAlgorithm; + + public static JsonWebKeyCurveName getDefaultCurve() { + return JsonWebKeyCurveName.P_256; + } + + /** + * Constructor. + * + * Generates a new EcKey with a P_256 curve and a randomly generated kid. + * + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + */ + public EcKey() throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { + this(UUID.randomUUID().toString()); + } + + /** + * Constructor. + * + * Generates a new EcKey with a P_256 curve and the given kid. + * + * @param kid + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + */ + public EcKey(String kid) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { + this(kid, getDefaultCurve(), Security.getProvider("SunEC")); + } + + /** + * Constructor. + * + * Generates a new EcKey with the given curve and kid. + * @param kid + * @param curve + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + */ + public EcKey(String kid, JsonWebKeyCurveName curve) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { + this(kid, curve, Security.getProvider("SunEC")); + } + + /** + * Constructor. + * + * Generates a new EcKey with the given curve and kid. + * @param kid + * @param curve + * @param provider Java security provider + * @throws InvalidAlgorithmParameterException + * @throws NoSuchAlgorithmException + */ + public EcKey(String kid, JsonWebKeyCurveName curve, Provider provider) throws InvalidAlgorithmParameterException, NoSuchAlgorithmException { + this.kid = kid; + this.provider = provider; + this.curve = curve; + + signatureAlgorithm = CURVE_TO_SIGNATURE.get(curve); + if (signatureAlgorithm == null) { + throw new NoSuchAlgorithmException("Curve not supported."); + } + + final KeyPairGenerator generator = KeyPairGenerator.getInstance("EC", provider); + ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve)); + + generator.initialize(gps); + keyPair = generator.generateKeyPair(); + + } + + /** + * Constructor. + * + * Generates a new EcKey with the given keyPair. + * The keyPair must be an ECKey. + * @param kid + * @param keyPair + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + */ + public EcKey(String kid, KeyPair keyPair) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { + this(kid, keyPair, Security.getProvider("SunEC")); + } + + /** + * Constructor. + * + * Generates a new EcKey with the given keyPair. + * The keyPair must be an ECKey. + * @param kid + * @param keyPair + * @param provider Java security provider + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + */ + public EcKey(String kid, KeyPair keyPair, Provider provider) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { + + if (Strings.isNullOrWhiteSpace(kid)) { + throw new IllegalArgumentException("Please provide a kid"); + } + + if (keyPair == null) { + throw new IllegalArgumentException("Please provide an ECKey"); + } + + if (keyPair.getPublic() == null || !(keyPair.getPublic() instanceof ECPublicKey)) { + throw new IllegalArgumentException("The keyPair provided is not an ECKey"); + } + + this.kid = kid; + this.keyPair = keyPair; + this.provider = provider; + curve = getCurveFromKeyPair(keyPair); + signatureAlgorithm = CURVE_TO_SIGNATURE.get(curve); + if (signatureAlgorithm == null) { + throw new IllegalArgumentException("Curve not supported."); + } + } + + /** + * Converts JSON web key to EC key pair, does not include the private key. + * @param jwk + * @return EcKey + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + * @throws InvalidKeySpecException + * @throws NoSuchProviderException + */ + public static EcKey fromJsonWebKey(JsonWebKey jwk) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeySpecException, NoSuchProviderException { + return fromJsonWebKey(jwk, false, null); + } + + /** + * Converts JSON web key to EC key pair and include the private key if set to true. + * @param jwk + * @param includePrivateParameters true if the EC key pair should include the private key. False otherwise. + * @return EcKey + * @throws NoSuchAlgorithmException + * @throws InvalidAlgorithmParameterException + * @throws InvalidKeySpecException + * @throws NoSuchProviderException + */ + public static EcKey fromJsonWebKey(JsonWebKey jwk, boolean includePrivateParameters) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InvalidKeySpecException, NoSuchProviderException { + return fromJsonWebKey(jwk, includePrivateParameters, null); + } + + /** + * Converts JSON web key to EC key pair and include the private key if set to true. + * @param jwk + * @param includePrivateParameters true if the EC key pair should include the private key. False otherwise. + * @param provider the Java Security Provider + * @return EcKey + */ + public static EcKey fromJsonWebKey(JsonWebKey jwk, boolean includePrivateParameters, Provider provider) { + try { + if (jwk.kid() != null) { + return new EcKey(jwk.kid(), jwk.toEC(includePrivateParameters, provider)); + } else { + throw new IllegalArgumentException("Json Web Key should have a kid"); + } + } catch (GeneralSecurityException e) { + throw new IllegalStateException(e); + } + } + + /** + * Converts EcKey to JSON web key. + * @return + */ + public JsonWebKey toJsonWebKey() { + return JsonWebKey.fromEC(keyPair, provider); + } + + // Matches the curve of the keyPair to supported curves. + private JsonWebKeyCurveName getCurveFromKeyPair(KeyPair keyPair) { + try { + ECPublicKey key = (ECPublicKey) keyPair.getPublic(); + ECParameterSpec spec = key.getParams(); + EllipticCurve crv = spec.getCurve(); + + List curveList = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K); + + for (JsonWebKeyCurveName curve : curveList) { + ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve)); + KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider); + kpg.initialize(gps); + + // Generate dummy keypair to get parameter spec. + KeyPair apair = kpg.generateKeyPair(); + ECPublicKey apub = (ECPublicKey) apair.getPublic(); + ECParameterSpec aspec = apub.getParams(); + EllipticCurve acurve = aspec.getCurve(); + + //Matches the parameter spec + if (acurve.equals(crv)) { + return curve; + } + } + + //Did not find a supported curve. + throw new IllegalArgumentException("Curve not supported."); + } catch (GeneralSecurityException e) { + throw new IllegalStateException(e); + } + } + + /** + * @return curve of the key + */ + public JsonWebKeyCurveName getCurve() { + return curve; + } + + /** + * + * @return the underlying keyPair of the key + */ + public KeyPair getKeyPair() { + return keyPair; + } + + @Override + public void close() throws IOException { + // Intentionally empty + } + + @Override + public String getDefaultEncryptionAlgorithm() { + return null; + } + + @Override + public String getDefaultKeyWrapAlgorithm() { + return null; + } + + @Override + public String getDefaultSignatureAlgorithm() { + return signatureAlgorithm; + } + + @Override + public String getKid() { + return kid; + } + + @Override + public ListenableFuture decryptAsync(byte[] ciphertext, byte[] iv, byte[] authenticationData, + byte[] authenticationTag, String algorithm) throws NoSuchAlgorithmException { + throw new UnsupportedOperationException("Decrypt Async is not supported"); + } + + @Override + public ListenableFuture> encryptAsync(byte[] plaintext, byte[] iv, + byte[] authenticationData, String algorithm) throws NoSuchAlgorithmException { + throw new UnsupportedOperationException("Encrypt Async is not supported"); + } + + @Override + public ListenableFuture> wrapKeyAsync(byte[] key, String algorithm) + throws NoSuchAlgorithmException { + throw new UnsupportedOperationException("Wrap key is not supported"); + } + + @Override + public ListenableFuture unwrapKeyAsync(byte[] encryptedKey, String algorithm) + throws NoSuchAlgorithmException { + throw new UnsupportedOperationException("Unwrap key is not supported"); + } + + @Override + public ListenableFuture> signAsync(byte[] digest, String algorithm) throws NoSuchAlgorithmException { + + if (keyPair.getPrivate() == null) { + throw new UnsupportedOperationException("Sign is not supported without a private key."); + } + + if (digest == null) { + throw new IllegalArgumentException("Please provide a digest to sign."); + } + + if (Strings.isNullOrWhiteSpace(algorithm)) { + throw new IllegalArgumentException("Please provide a signature algorithm to use."); + } + + // Interpret the requested algorithm + Algorithm baseAlgorithm = AlgorithmResolver.Default.get(algorithm); + + if (baseAlgorithm == null || !(baseAlgorithm instanceof AsymmetricSignatureAlgorithm)) { + throw new NoSuchAlgorithmException(algorithm); + } + + Ecdsa algo = (Ecdsa) baseAlgorithm; + ISignatureTransform signer = algo.createSignatureTransform(keyPair, provider); + + try { + return Futures.immediateFuture(Pair.of(signer.sign(digest), algorithm)); + } catch (Exception e) { + return Futures.immediateFailedFuture(e); + } + } + + @Override + public ListenableFuture verifyAsync(byte[] digest, byte[] signature, String algorithm) throws NoSuchAlgorithmException { + + if (digest == null) { + throw new IllegalArgumentException("Please provide a digest input."); + } + + if (Strings.isNullOrWhiteSpace(algorithm)) { + throw new IllegalArgumentException("Please provide an algorithm"); + } + + // Interpret the requested algorithm + Algorithm baseAlgorithm = AlgorithmResolver.Default.get(algorithm); + + if (baseAlgorithm == null || !(baseAlgorithm instanceof AsymmetricSignatureAlgorithm)) { + throw new NoSuchAlgorithmException(algorithm); + } + + Ecdsa algo = (Ecdsa) baseAlgorithm; + + ISignatureTransform signer = algo.createSignatureTransform(keyPair, provider); + + try { + return Futures.immediateFuture(signer.verify(digest, signature)); + } catch (Exception e) { + return Futures.immediateFailedFuture(e); + } + } + +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa.java b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa.java index 4c8e362d4746f..eec729a18a1b8 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa.java @@ -1,66 +1,66 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.algorithms; - -import java.security.GeneralSecurityException; -import java.security.KeyPair; -import java.security.Provider; -import java.security.Signature; - -import com.microsoft.azure.keyvault.cryptography.AsymmetricSignatureAlgorithm; -import com.microsoft.azure.keyvault.cryptography.ISignatureTransform; -import com.microsoft.azure.keyvault.cryptography.SignatureEncoding; - -public abstract class Ecdsa extends AsymmetricSignatureAlgorithm { - - protected Ecdsa() { - super("NONEwithEDCSA"); - } - - public ISignatureTransform createSignatureTransform(KeyPair key, Provider provider) { - return new EcdsaSignatureTransform(key, provider, this); - } - - public abstract int getDigestLength(); - public abstract int getCoordLength(); - - private void checkDigestLength(byte[] digest) { - if (digest.length != this.getDigestLength()) { - throw new IllegalArgumentException("Invalid digest length."); - } - } - - - class EcdsaSignatureTransform implements ISignatureTransform { - private static final String ALGORITHM = "NONEwithECDSA"; - private final KeyPair keyPair; - private final Provider provider; - private final Ecdsa algorithm; - - EcdsaSignatureTransform(KeyPair keyPair, Provider provider, Ecdsa algorithm) { - this.keyPair = keyPair; - this.provider = provider; - this.algorithm = algorithm; - } - - @Override - public byte[] sign(byte[] digest) throws GeneralSecurityException { - checkDigestLength(digest); - Signature signature = Signature.getInstance(ALGORITHM, provider); - signature.initSign(keyPair.getPrivate()); - signature.update(digest); - return SignatureEncoding.fromAsn1Der(signature.sign(), algorithm); - } - - @Override - public boolean verify(byte[] digest, byte[] signature) throws GeneralSecurityException { - Signature verify = Signature.getInstance(ALGORITHM, provider); - checkDigestLength(digest); - signature = SignatureEncoding.toAsn1Der(signature, algorithm); - verify.initVerify(keyPair.getPublic()); - verify.update(digest); - return verify.verify(signature); - } - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.algorithms; + +import java.security.GeneralSecurityException; +import java.security.KeyPair; +import java.security.Provider; +import java.security.Signature; + +import com.microsoft.azure.keyvault.cryptography.AsymmetricSignatureAlgorithm; +import com.microsoft.azure.keyvault.cryptography.ISignatureTransform; +import com.microsoft.azure.keyvault.cryptography.SignatureEncoding; + +public abstract class Ecdsa extends AsymmetricSignatureAlgorithm { + + protected Ecdsa() { + super("NONEwithEDCSA"); + } + + public ISignatureTransform createSignatureTransform(KeyPair key, Provider provider) { + return new EcdsaSignatureTransform(key, provider, this); + } + + public abstract int getDigestLength(); + public abstract int getCoordLength(); + + private void checkDigestLength(byte[] digest) { + if (digest.length != this.getDigestLength()) { + throw new IllegalArgumentException("Invalid digest length."); + } + } + + + class EcdsaSignatureTransform implements ISignatureTransform { + private static final String ALGORITHM = "NONEwithECDSA"; + private final KeyPair keyPair; + private final Provider provider; + private final Ecdsa algorithm; + + EcdsaSignatureTransform(KeyPair keyPair, Provider provider, Ecdsa algorithm) { + this.keyPair = keyPair; + this.provider = provider; + this.algorithm = algorithm; + } + + @Override + public byte[] sign(byte[] digest) throws GeneralSecurityException { + checkDigestLength(digest); + Signature signature = Signature.getInstance(ALGORITHM, provider); + signature.initSign(keyPair.getPrivate()); + signature.update(digest); + return SignatureEncoding.fromAsn1Der(signature.sign(), algorithm); + } + + @Override + public boolean verify(byte[] digest, byte[] signature) throws GeneralSecurityException { + Signature verify = Signature.getInstance(ALGORITHM, provider); + checkDigestLength(digest); + signature = SignatureEncoding.toAsn1Der(signature, algorithm); + verify.initVerify(keyPair.getPublic()); + verify.update(digest); + return verify.verify(signature); + } + } +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256.java b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256.java index 6c6ac27a9457a..488c09f566e1f 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256.java @@ -1,18 +1,18 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.algorithms; - -public class Es256 extends Ecdsa { - public static final String ALGORITHM_NAME = "ES256"; - - @Override - public int getDigestLength() { - return 32; - } - - @Override - public int getCoordLength() { - return 32; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.algorithms; + +public class Es256 extends Ecdsa { + public static final String ALGORITHM_NAME = "ES256"; + + @Override + public int getDigestLength() { + return 32; + } + + @Override + public int getCoordLength() { + return 32; + } +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java index 66924b751327b..6fcbcd17ccc8e 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java @@ -1,18 +1,18 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.algorithms; - -public class Es256k extends Ecdsa { - public static final String ALGORITHM_NAME = "ES256K"; - - @Override - public int getDigestLength() { - return 32; - } - - @Override - public int getCoordLength() { - return 32; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.algorithms; + +public class Es256k extends Ecdsa { + public static final String ALGORITHM_NAME = "ES256K"; + + @Override + public int getDigestLength() { + return 32; + } + + @Override + public int getCoordLength() { + return 32; + } +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es384.java b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es384.java index 4f68ac56927a5..eba2b5878ed3d 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es384.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es384.java @@ -1,18 +1,18 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.algorithms; - -public class Es384 extends Ecdsa { - public static final String ALGORITHM_NAME = "ES384"; - - @Override - public int getDigestLength() { - return 48; - } - - @Override - public int getCoordLength() { - return 48; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.algorithms; + +public class Es384 extends Ecdsa { + public static final String ALGORITHM_NAME = "ES384"; + + @Override + public int getDigestLength() { + return 48; + } + + @Override + public int getCoordLength() { + return 48; + } +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es512.java b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es512.java index 68c5c22af488d..26657b9ad4107 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es512.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es512.java @@ -1,18 +1,18 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.algorithms; - -public class Es512 extends Ecdsa { - public static final String ALGORITHM_NAME = "ES512"; - - @Override - public int getDigestLength() { - return 64; - } - - @Override - public int getCoordLength() { - return 66; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.algorithms; + +public class Es512 extends Ecdsa { + public static final String ALGORITHM_NAME = "ES512"; + + @Override + public int getDigestLength() { + return 64; + } + + @Override + public int getCoordLength() { + return 66; + } +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java b/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java index 8a57082beb7cc..e9cee2908738e 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java @@ -1,340 +1,340 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.test; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; - -import java.io.FileNotFoundException; -import java.io.IOException; -import java.math.BigInteger; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.security.InvalidAlgorithmParameterException; -import java.security.KeyFactory; -import java.security.KeyPair; -import java.security.KeyPairGenerator; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.Provider; -import java.security.PublicKey; -import java.security.Security; -import java.security.interfaces.ECPrivateKey; -import java.security.interfaces.ECPublicKey; -import java.security.spec.ECGenParameterSpec; -import java.security.spec.ECPoint; -import java.security.spec.InvalidKeySpecException; -import java.security.spec.PKCS8EncodedKeySpec; -import java.security.spec.X509EncodedKeySpec; -import java.util.Arrays; -import java.util.List; -import java.util.Map; -import java.util.concurrent.ExecutionException; - -import org.apache.commons.lang3.tuple.Pair; -import org.junit.BeforeClass; -import org.junit.Test; - -import com.google.common.collect.ImmutableMap; -import com.microsoft.azure.keyvault.cryptography.EcKey; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es256; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es256k; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es384; -import com.microsoft.azure.keyvault.cryptography.algorithms.Es512; -import com.microsoft.azure.keyvault.cryptography.SignatureEncoding; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; - -public class ECKeyTest { - - private static Provider _provider = null; - - static byte[] CEK; - static KeyFactory FACTORY; - static MessageDigest DIGEST_256; - static MessageDigest DIGEST_384; - static MessageDigest DIGEST_512; - static KeyPairGenerator EC_KEY_GENERATOR; - static Map CURVE_TO_DIGEST; - static List CURVE_LIST; - -// To create keys and signatures used in this class with openssl: -// -// Create key -// openssl ecparam -name {curve_name} -genkey > {key_name}.pem -// openssl pkcs8 -topk8 -nocrypt -in {key_name}.pem -out {key_name}pkcs8.pem -// openssl ec -in {key_name}pkcs8.pem -pubout -out {key_name}pkcs8pub.pem -// -// Sign key -// openssl dgst -{sha_digest} -sign {key_name}pkcs8.pem -out {signature} -// -// Verify key -// openssl dgst -{sha_digest} -verify {key_name}pkcs8pub.pem -signature {signature} - - - protected static void setProvider(Provider provider) { - _provider = provider; - } - - @BeforeClass - public static void setUpBeforeClass() throws Exception { - setProvider(Security.getProvider("SunEC")); - EC_KEY_GENERATOR = KeyPairGenerator.getInstance("EC", _provider); - - Path byte_location = Paths.get(getPath("byte_array.bin")); - CEK = Files.readAllBytes(byte_location); - - FACTORY = KeyFactory.getInstance("EC", _provider); - - DIGEST_256 = MessageDigest.getInstance("SHA-256"); - DIGEST_384 = MessageDigest.getInstance("SHA-384"); - DIGEST_512 = MessageDigest.getInstance("SHA-512"); - - CURVE_TO_DIGEST = ImmutableMap.builder() - .put(JsonWebKeyCurveName.P_256, DIGEST_256) - .put(JsonWebKeyCurveName.P_384, DIGEST_384) - .put(JsonWebKeyCurveName.P_521, DIGEST_512) - .put(JsonWebKeyCurveName.P_256K, DIGEST_256) - .build(); - //JsonWebKeyCurveName.SECP256K1) - CURVE_LIST = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K); - } - - @Test - public void testCurves() throws Exception { - for (JsonWebKeyCurveName crv : CURVE_LIST) { - EcKey key = new EcKey("keyId", crv); - doSignVerify(key, CURVE_TO_DIGEST.get(crv)); - } - } - - @Test(expected = NoSuchAlgorithmException.class) - public void testUnsupportedCurve() throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InstantiationException, IllegalAccessException, ClassNotFoundException { - EcKey key = new EcKey("keyId", new JsonWebKeyCurveName("not an algo")); - } - - @Test - public void testDefaultKey() throws Exception { - EcKey key = new EcKey("keyId"); - doSignVerify(key, DIGEST_256); - } - - @Test - public void testWithKeyPair() throws Exception { - for (JsonWebKeyCurveName crv : CURVE_LIST) { - ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.CURVE_TO_SPEC_NAME.get(crv)); - EC_KEY_GENERATOR.initialize(gps); - KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); - - final String name = "keyid"; - EcKey key = new EcKey(name, keyPair); - assertEquals(name, key.getKid()); - assertEquals(crv, key.getCurve()); - doSignVerify(key, CURVE_TO_DIGEST.get(crv)); - } - } - - @Test(expected = IllegalArgumentException.class) - public void testWithNotCurveKeyPair() throws Exception { - ECGenParameterSpec gps = new ECGenParameterSpec("secp192k1"); - EC_KEY_GENERATOR.initialize(gps); - KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); - - final String name = "keyid"; - EcKey key = new EcKey(name, keyPair); - } - - @Test(expected = UnsupportedOperationException.class) - public void testFromJsonWebKeyPublicOnly() throws Exception { - ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.P256); - EC_KEY_GENERATOR.initialize(gps); - KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); - - ECPublicKey apub = (ECPublicKey) keyPair.getPublic(); - ECPoint point = apub.getW(); - - JsonWebKey jwk = new JsonWebKey() - .withKid("kid") - .withCrv(JsonWebKeyCurveName.P_256) - .withX(point.getAffineX().toByteArray()) - .withY(point.getAffineY().toByteArray()) - .withKty(JsonWebKeyType.EC); - - assertFalse(jwk.hasPrivateKey()); - - EcKey newKey = EcKey.fromJsonWebKey(jwk, false); - assertEquals("kid", newKey.getKid()); - doSignVerify(newKey, DIGEST_256); - } - - @Test - public void testFromJsonWebKey() throws Exception { - ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.P384); - EC_KEY_GENERATOR.initialize(gps); - KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); - - ECPublicKey apub = (ECPublicKey) keyPair.getPublic(); - ECPoint point = apub.getW(); - ECPrivateKey apriv = (ECPrivateKey) keyPair.getPrivate(); - - JsonWebKey jwk = new JsonWebKey() - .withKid("kid") - .withCrv(JsonWebKeyCurveName.P_384) - .withX(point.getAffineX().toByteArray()) - .withY(point.getAffineY().toByteArray()) - .withD(apriv.getS().toByteArray()) - .withKty(JsonWebKeyType.EC); - - assertTrue(jwk.hasPrivateKey()); - - EcKey newKey = EcKey.fromJsonWebKey(jwk, true); - assertEquals("kid", newKey.getKid()); - doSignVerify(newKey, DIGEST_384); - } - - private static PrivateKey generatePrivateKey(KeyFactory factory, String filename) throws InvalidKeySpecException, FileNotFoundException, IOException { - PemFile pemFile = new PemFile(filename); - byte[] content = pemFile.getPemObject().getContent(); - PKCS8EncodedKeySpec privKeySpec = new PKCS8EncodedKeySpec(content); - return factory.generatePrivate(privKeySpec); - } - - private static PublicKey generatePublicKey(KeyFactory factory, String filename) throws InvalidKeySpecException, FileNotFoundException, IOException { - PemFile pemFile = new PemFile(filename); - byte[] content = pemFile.getPemObject().getContent(); - X509EncodedKeySpec pubKeySpec = new X509EncodedKeySpec(content); - return factory.generatePublic(pubKeySpec); - } - - private KeyPair getKeyFromFile(String privateKeyPath, String publicKeyPath) throws InvalidKeySpecException, FileNotFoundException, IOException { - PrivateKey priv = generatePrivateKey(FACTORY, privateKeyPath); - PublicKey pub = generatePublicKey(FACTORY, publicKeyPath); - ECPublicKey apub = (ECPublicKey) pub; - ECPrivateKey apriv = (ECPrivateKey) priv; - - KeyPair keyPair = new KeyPair(apub, apriv); - return keyPair; - } - - private void testFromFile(String keyType, MessageDigest digest, String algorithm) throws Exception { - String privateKeyPath = getPath(keyType+"keynew.pem"); - String publicKeyPath = getPath(keyType+"keypubnew.pem"); - - EcKey newKey = new EcKey("akey", getKeyFromFile(privateKeyPath, publicKeyPath)); - - Path signatureLocation = Paths.get(getPath(keyType+"sig.der")); - byte[] signature = SignatureEncoding.fromAsn1Der(Files.readAllBytes(signatureLocation), algorithm); - - doVerify(newKey, digest, signature); - } - - private static String getPath(String filename){ - - String path = ECKeyTest.class.getClassLoader().getResource(filename).getPath(); - if(path.contains(":")){ - path = path.substring(1); - } - return path; - } - - @Test - public void testCreateSECP256K1Key() throws Exception { - ECGenParameterSpec gps = new ECGenParameterSpec("secp256k1"); - Provider myprov = Security.getProvider("BC"); - final KeyPairGenerator generator = KeyPairGenerator.getInstance("EC"); - - generator.initialize(gps); - EcKey key = new EcKey("akey", JsonWebKeyCurveName.P_256K); - } - - @Test - public void testFromP384File() throws Exception { - testFromFile("p384", DIGEST_384, Es384.ALGORITHM_NAME); - } - - @Test - public void testFromP521File() throws Exception { - testFromFile("p521", DIGEST_512, Es512.ALGORITHM_NAME); - } - - @Test - public void testFromP256File() throws Exception { - testFromFile("p256", DIGEST_256, Es256.ALGORITHM_NAME); - } - - @Test - public void testFromSEC256File() throws Exception{ - testFromFile("secp256", DIGEST_256, Es256k.ALGORITHM_NAME); - } - - @Test - public void testToJsonWebKey() throws Exception { - ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.P521); - EC_KEY_GENERATOR.initialize(gps); - KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); - - ECPublicKey apub = (ECPublicKey) keyPair.getPublic(); - ECPoint point = apub.getW(); - ECPrivateKey apriv = (ECPrivateKey) keyPair.getPrivate(); - - JsonWebKey jwk = new JsonWebKey() - .withKid("kid") - .withCrv(JsonWebKeyCurveName.P_521) - .withX(point.getAffineX().toByteArray()) - .withY(point.getAffineY().toByteArray()) - .withD(apriv.getS().toByteArray()) - .withKty(JsonWebKeyType.EC); - - EcKey newKey = new EcKey("kid", keyPair); - - JsonWebKey newJwk = newKey.toJsonWebKey(); - //set missing parameters - newJwk.withKid("kid"); - - assertEquals(jwk, newJwk); - } - - //Checks validity of verify by - //Externally signing a byte_array with openssl - //Verifying with SDK - private void doVerify(EcKey key, MessageDigest digest, byte[] preGenSignature) throws IOException, NoSuchAlgorithmException, InterruptedException, ExecutionException { - byte[] hash = digest.digest(CEK); - - //Use sign and verify to test each other. - boolean result = key.verifyAsync(hash, preGenSignature, key.getDefaultSignatureAlgorithm()).get(); - assertTrue(result); - - //Check that key denies invalid digest. - BigInteger bigInt = new BigInteger(hash); - BigInteger shiftInt = bigInt.shiftRight(4); - byte [] shifted = shiftInt.toByteArray(); - boolean incorrectResult = key.verifyAsync(shifted, preGenSignature, key.getDefaultSignatureAlgorithm()).get(); - assertFalse(incorrectResult); - - key.close(); - } - - private void doSignVerify(EcKey key, MessageDigest digest) throws IOException, NoSuchAlgorithmException, InterruptedException, ExecutionException { - - byte[] hash = digest.digest(CEK); - - //Use sign and verify to test each other. - Pair signature = key.signAsync(hash, key.getDefaultSignatureAlgorithm()).get(); - boolean result = key.verifyAsync(hash, signature.getLeft(), key.getDefaultSignatureAlgorithm()).get(); - assertTrue(result); - - //Check that key denies invalid digest. - BigInteger bigInt = new BigInteger(hash); - BigInteger shiftInt = bigInt.shiftRight(4); - byte [] shifted = shiftInt.toByteArray(); - boolean incorrectResult = key.verifyAsync(shifted, signature.getLeft(), key.getDefaultSignatureAlgorithm()).get(); - assertFalse(incorrectResult); - - key.close(); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.test; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +import java.io.FileNotFoundException; +import java.io.IOException; +import java.math.BigInteger; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.security.InvalidAlgorithmParameterException; +import java.security.KeyFactory; +import java.security.KeyPair; +import java.security.KeyPairGenerator; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.PrivateKey; +import java.security.Provider; +import java.security.PublicKey; +import java.security.Security; +import java.security.interfaces.ECPrivateKey; +import java.security.interfaces.ECPublicKey; +import java.security.spec.ECGenParameterSpec; +import java.security.spec.ECPoint; +import java.security.spec.InvalidKeySpecException; +import java.security.spec.PKCS8EncodedKeySpec; +import java.security.spec.X509EncodedKeySpec; +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ExecutionException; + +import org.apache.commons.lang3.tuple.Pair; +import org.junit.BeforeClass; +import org.junit.Test; + +import com.google.common.collect.ImmutableMap; +import com.microsoft.azure.keyvault.cryptography.EcKey; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es256; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es256k; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es384; +import com.microsoft.azure.keyvault.cryptography.algorithms.Es512; +import com.microsoft.azure.keyvault.cryptography.SignatureEncoding; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; + +public class ECKeyTest { + + private static Provider _provider = null; + + static byte[] CEK; + static KeyFactory FACTORY; + static MessageDigest DIGEST_256; + static MessageDigest DIGEST_384; + static MessageDigest DIGEST_512; + static KeyPairGenerator EC_KEY_GENERATOR; + static Map CURVE_TO_DIGEST; + static List CURVE_LIST; + +// To create keys and signatures used in this class with openssl: +// +// Create key +// openssl ecparam -name {curve_name} -genkey > {key_name}.pem +// openssl pkcs8 -topk8 -nocrypt -in {key_name}.pem -out {key_name}pkcs8.pem +// openssl ec -in {key_name}pkcs8.pem -pubout -out {key_name}pkcs8pub.pem +// +// Sign key +// openssl dgst -{sha_digest} -sign {key_name}pkcs8.pem -out {signature} +// +// Verify key +// openssl dgst -{sha_digest} -verify {key_name}pkcs8pub.pem -signature {signature} + + + protected static void setProvider(Provider provider) { + _provider = provider; + } + + @BeforeClass + public static void setUpBeforeClass() throws Exception { + setProvider(Security.getProvider("SunEC")); + EC_KEY_GENERATOR = KeyPairGenerator.getInstance("EC", _provider); + + Path byte_location = Paths.get(getPath("byte_array.bin")); + CEK = Files.readAllBytes(byte_location); + + FACTORY = KeyFactory.getInstance("EC", _provider); + + DIGEST_256 = MessageDigest.getInstance("SHA-256"); + DIGEST_384 = MessageDigest.getInstance("SHA-384"); + DIGEST_512 = MessageDigest.getInstance("SHA-512"); + + CURVE_TO_DIGEST = ImmutableMap.builder() + .put(JsonWebKeyCurveName.P_256, DIGEST_256) + .put(JsonWebKeyCurveName.P_384, DIGEST_384) + .put(JsonWebKeyCurveName.P_521, DIGEST_512) + .put(JsonWebKeyCurveName.P_256K, DIGEST_256) + .build(); + //JsonWebKeyCurveName.SECP256K1) + CURVE_LIST = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K); + } + + @Test + public void testCurves() throws Exception { + for (JsonWebKeyCurveName crv : CURVE_LIST) { + EcKey key = new EcKey("keyId", crv); + doSignVerify(key, CURVE_TO_DIGEST.get(crv)); + } + } + + @Test(expected = NoSuchAlgorithmException.class) + public void testUnsupportedCurve() throws NoSuchAlgorithmException, InvalidAlgorithmParameterException, InstantiationException, IllegalAccessException, ClassNotFoundException { + EcKey key = new EcKey("keyId", new JsonWebKeyCurveName("not an algo")); + } + + @Test + public void testDefaultKey() throws Exception { + EcKey key = new EcKey("keyId"); + doSignVerify(key, DIGEST_256); + } + + @Test + public void testWithKeyPair() throws Exception { + for (JsonWebKeyCurveName crv : CURVE_LIST) { + ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.CURVE_TO_SPEC_NAME.get(crv)); + EC_KEY_GENERATOR.initialize(gps); + KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); + + final String name = "keyid"; + EcKey key = new EcKey(name, keyPair); + assertEquals(name, key.getKid()); + assertEquals(crv, key.getCurve()); + doSignVerify(key, CURVE_TO_DIGEST.get(crv)); + } + } + + @Test(expected = IllegalArgumentException.class) + public void testWithNotCurveKeyPair() throws Exception { + ECGenParameterSpec gps = new ECGenParameterSpec("secp192k1"); + EC_KEY_GENERATOR.initialize(gps); + KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); + + final String name = "keyid"; + EcKey key = new EcKey(name, keyPair); + } + + @Test(expected = UnsupportedOperationException.class) + public void testFromJsonWebKeyPublicOnly() throws Exception { + ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.P256); + EC_KEY_GENERATOR.initialize(gps); + KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); + + ECPublicKey apub = (ECPublicKey) keyPair.getPublic(); + ECPoint point = apub.getW(); + + JsonWebKey jwk = new JsonWebKey() + .withKid("kid") + .withCrv(JsonWebKeyCurveName.P_256) + .withX(point.getAffineX().toByteArray()) + .withY(point.getAffineY().toByteArray()) + .withKty(JsonWebKeyType.EC); + + assertFalse(jwk.hasPrivateKey()); + + EcKey newKey = EcKey.fromJsonWebKey(jwk, false); + assertEquals("kid", newKey.getKid()); + doSignVerify(newKey, DIGEST_256); + } + + @Test + public void testFromJsonWebKey() throws Exception { + ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.P384); + EC_KEY_GENERATOR.initialize(gps); + KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); + + ECPublicKey apub = (ECPublicKey) keyPair.getPublic(); + ECPoint point = apub.getW(); + ECPrivateKey apriv = (ECPrivateKey) keyPair.getPrivate(); + + JsonWebKey jwk = new JsonWebKey() + .withKid("kid") + .withCrv(JsonWebKeyCurveName.P_384) + .withX(point.getAffineX().toByteArray()) + .withY(point.getAffineY().toByteArray()) + .withD(apriv.getS().toByteArray()) + .withKty(JsonWebKeyType.EC); + + assertTrue(jwk.hasPrivateKey()); + + EcKey newKey = EcKey.fromJsonWebKey(jwk, true); + assertEquals("kid", newKey.getKid()); + doSignVerify(newKey, DIGEST_384); + } + + private static PrivateKey generatePrivateKey(KeyFactory factory, String filename) throws InvalidKeySpecException, FileNotFoundException, IOException { + PemFile pemFile = new PemFile(filename); + byte[] content = pemFile.getPemObject().getContent(); + PKCS8EncodedKeySpec privKeySpec = new PKCS8EncodedKeySpec(content); + return factory.generatePrivate(privKeySpec); + } + + private static PublicKey generatePublicKey(KeyFactory factory, String filename) throws InvalidKeySpecException, FileNotFoundException, IOException { + PemFile pemFile = new PemFile(filename); + byte[] content = pemFile.getPemObject().getContent(); + X509EncodedKeySpec pubKeySpec = new X509EncodedKeySpec(content); + return factory.generatePublic(pubKeySpec); + } + + private KeyPair getKeyFromFile(String privateKeyPath, String publicKeyPath) throws InvalidKeySpecException, FileNotFoundException, IOException { + PrivateKey priv = generatePrivateKey(FACTORY, privateKeyPath); + PublicKey pub = generatePublicKey(FACTORY, publicKeyPath); + ECPublicKey apub = (ECPublicKey) pub; + ECPrivateKey apriv = (ECPrivateKey) priv; + + KeyPair keyPair = new KeyPair(apub, apriv); + return keyPair; + } + + private void testFromFile(String keyType, MessageDigest digest, String algorithm) throws Exception { + String privateKeyPath = getPath(keyType+"keynew.pem"); + String publicKeyPath = getPath(keyType+"keypubnew.pem"); + + EcKey newKey = new EcKey("akey", getKeyFromFile(privateKeyPath, publicKeyPath)); + + Path signatureLocation = Paths.get(getPath(keyType+"sig.der")); + byte[] signature = SignatureEncoding.fromAsn1Der(Files.readAllBytes(signatureLocation), algorithm); + + doVerify(newKey, digest, signature); + } + + private static String getPath(String filename){ + + String path = ECKeyTest.class.getClassLoader().getResource(filename).getPath(); + if(path.contains(":")){ + path = path.substring(1); + } + return path; + } + + @Test + public void testCreateSECP256K1Key() throws Exception { + ECGenParameterSpec gps = new ECGenParameterSpec("secp256k1"); + Provider myprov = Security.getProvider("BC"); + final KeyPairGenerator generator = KeyPairGenerator.getInstance("EC"); + + generator.initialize(gps); + EcKey key = new EcKey("akey", JsonWebKeyCurveName.P_256K); + } + + @Test + public void testFromP384File() throws Exception { + testFromFile("p384", DIGEST_384, Es384.ALGORITHM_NAME); + } + + @Test + public void testFromP521File() throws Exception { + testFromFile("p521", DIGEST_512, Es512.ALGORITHM_NAME); + } + + @Test + public void testFromP256File() throws Exception { + testFromFile("p256", DIGEST_256, Es256.ALGORITHM_NAME); + } + + @Test + public void testFromSEC256File() throws Exception{ + testFromFile("secp256", DIGEST_256, Es256k.ALGORITHM_NAME); + } + + @Test + public void testToJsonWebKey() throws Exception { + ECGenParameterSpec gps = new ECGenParameterSpec(EcKey.P521); + EC_KEY_GENERATOR.initialize(gps); + KeyPair keyPair = EC_KEY_GENERATOR.generateKeyPair(); + + ECPublicKey apub = (ECPublicKey) keyPair.getPublic(); + ECPoint point = apub.getW(); + ECPrivateKey apriv = (ECPrivateKey) keyPair.getPrivate(); + + JsonWebKey jwk = new JsonWebKey() + .withKid("kid") + .withCrv(JsonWebKeyCurveName.P_521) + .withX(point.getAffineX().toByteArray()) + .withY(point.getAffineY().toByteArray()) + .withD(apriv.getS().toByteArray()) + .withKty(JsonWebKeyType.EC); + + EcKey newKey = new EcKey("kid", keyPair); + + JsonWebKey newJwk = newKey.toJsonWebKey(); + //set missing parameters + newJwk.withKid("kid"); + + assertEquals(jwk, newJwk); + } + + //Checks validity of verify by + //Externally signing a byte_array with openssl + //Verifying with SDK + private void doVerify(EcKey key, MessageDigest digest, byte[] preGenSignature) throws IOException, NoSuchAlgorithmException, InterruptedException, ExecutionException { + byte[] hash = digest.digest(CEK); + + //Use sign and verify to test each other. + boolean result = key.verifyAsync(hash, preGenSignature, key.getDefaultSignatureAlgorithm()).get(); + assertTrue(result); + + //Check that key denies invalid digest. + BigInteger bigInt = new BigInteger(hash); + BigInteger shiftInt = bigInt.shiftRight(4); + byte [] shifted = shiftInt.toByteArray(); + boolean incorrectResult = key.verifyAsync(shifted, preGenSignature, key.getDefaultSignatureAlgorithm()).get(); + assertFalse(incorrectResult); + + key.close(); + } + + private void doSignVerify(EcKey key, MessageDigest digest) throws IOException, NoSuchAlgorithmException, InterruptedException, ExecutionException { + + byte[] hash = digest.digest(CEK); + + //Use sign and verify to test each other. + Pair signature = key.signAsync(hash, key.getDefaultSignatureAlgorithm()).get(); + boolean result = key.verifyAsync(hash, signature.getLeft(), key.getDefaultSignatureAlgorithm()).get(); + assertTrue(result); + + //Check that key denies invalid digest. + BigInteger bigInt = new BigInteger(hash); + BigInteger shiftInt = bigInt.shiftRight(4); + byte [] shifted = shiftInt.toByteArray(); + boolean incorrectResult = key.verifyAsync(shifted, signature.getLeft(), key.getDefaultSignatureAlgorithm()).get(); + assertFalse(incorrectResult); + + key.close(); + } +} diff --git a/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/PemFile.java b/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/PemFile.java index d0fe37cfe00a1..bb860374154ed 100644 --- a/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/PemFile.java +++ b/keyvault/data-plane/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/PemFile.java @@ -1,30 +1,30 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.cryptography.test; - -import java.io.FileInputStream; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.io.InputStreamReader; - -import org.bouncycastle.util.io.pem.PemObject; -import org.bouncycastle.util.io.pem.PemReader; - -public class PemFile { - - private PemObject pemObject; - - public PemFile(String filename) throws FileNotFoundException, IOException { - PemReader pemReader = new PemReader(new InputStreamReader(new FileInputStream(filename))); - try { - this.pemObject = pemReader.readPemObject(); - } finally { - pemReader.close(); - } - } - - public PemObject getPemObject() { - return pemObject; - } +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.cryptography.test; + +import java.io.FileInputStream; +import java.io.FileNotFoundException; +import java.io.IOException; +import java.io.InputStreamReader; + +import org.bouncycastle.util.io.pem.PemObject; +import org.bouncycastle.util.io.pem.PemReader; + +public class PemFile { + + private PemObject pemObject; + + public PemFile(String filename) throws FileNotFoundException, IOException { + PemReader pemReader = new PemReader(new InputStreamReader(new FileInputStream(filename))); + try { + this.pemObject = pemReader.readPemObject(); + } finally { + pemReader.close(); + } + } + + public PemObject getPemObject() { + return pemObject; + } } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json index 17ec07bda8d71..2e4d6da3eb538 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:19 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2e0ca1f2-c6e9-4f81-8fdb-fdd28708e6e6", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:20 GMT", - "content-length" : "668", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "35c93088-645c-4a46-8cf0-8c73491298b7", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:20 GMT", - "content-length" : "668", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bc838004-cdaf-4646-aa77-7bef3a49f0c3", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:20 GMT", - "content-length" : "668", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c73088e0-2dd7-4b14-b42b-be32cc58275e", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:20 GMT", - "content-length" : "811", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fc1ea78f-d645-410b-bb0a-4530a86598f6", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150360,\"scheduledPurgeDate\":1554926360,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:20 GMT", - "content-length" : "85", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b1c13587-b3d6-477f-9961-ff740da82b43", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:30 GMT", - "content-length" : "85", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "739a3f49-befb-49ca-b406-49bd2177832c", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:41 GMT", - "content-length" : "811", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9a898e8c-f910-4f97-b341-5f5b7a8b4367", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150360,\"scheduledPurgeDate\":1554926360,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:42 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e89cd7dc-97e4-4f0f-a0ac-c4d3992eb04c", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:19 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2e0ca1f2-c6e9-4f81-8fdb-fdd28708e6e6", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:20 GMT", + "content-length" : "668", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "35c93088-645c-4a46-8cf0-8c73491298b7", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:20 GMT", + "content-length" : "668", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bc838004-cdaf-4646-aa77-7bef3a49f0c3", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:20 GMT", + "content-length" : "668", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c73088e0-2dd7-4b14-b42b-be32cc58275e", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:20 GMT", + "content-length" : "811", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fc1ea78f-d645-410b-bb0a-4530a86598f6", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150360,\"scheduledPurgeDate\":1554926360,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:20 GMT", + "content-length" : "85", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b1c13587-b3d6-477f-9961-ff740da82b43", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:30 GMT", + "content-length" : "85", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "739a3f49-befb-49ca-b406-49bd2177832c", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:41 GMT", + "content-length" : "811", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9a898e8c-f910-4f97-b341-5f5b7a8b4367", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150360,\"scheduledPurgeDate\":1554926360,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/7bf695d4513a4236a76f1bc03c57d848\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sycGANkD4TbKaRrm1qY0khvNBysKPUca_VG0ecQvu2sLMxdL7jzDZWDbUyzzjR1oXMSApqQLkk7_OAzD8h8on8Y2WCZzy5mlGQJhHD5-sAZsMTDH1tzC-M-YoAUqlY_fTyJkVM6K5FnO4IiI7SeCzrNAhSUCb7X8Hr8pJ0xeJ23EUfEbiGoNLQQc1k7SDAd9rgY6XJ6nzmbcZFYZ6Gjb49jdKWpDgoaoZGPPn0XPMqL0IB3NPacoy412WzZCYNKMt36pIDaRPG82q6Gp-AA_aZDumQP9Udqxg6PxkYQ5_ycnYwJmpYPt2wcFvFAQQSNR9e5jumnCCsTN_4-gt-5yaw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150360,\"updated\":1547150360,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:42 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e89cd7dc-97e4-4f0f-a0ac-c4d3992eb04c", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json index d8e76aac8bfd9..dcf087fb4bc92 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json @@ -1,218 +1,218 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:14 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a4456697-998b-4d64-acb0-e5ebcb029af0", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:14 GMT", - "content-length" : "668", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b1597717-2323-48a7-b9e5-95e2912f3e83", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:14 GMT", - "content-length" : "668", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "841de62e-2ce3-47eb-8dad-1a3697e50360", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:15 GMT", - "content-length" : "668", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6ee3f3c2-0b67-4524-a509-b3bf4f21c555", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:15 GMT", - "content-length" : "811", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "42b5f8d6-2c4d-4214-88f0-e6335288b8ef", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150475,\"scheduledPurgeDate\":1554926475,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:15 GMT", - "content-length" : "85", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8d390cdc-4b97-4f38-93c5-eb0bde7069a8", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:25 GMT", - "content-length" : "811", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0a1c23f6-2405-4d50-823e-dfa3287128db", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150475,\"scheduledPurgeDate\":1554926475,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:26 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6ead49d4-5c80-4e3f-af1b-5193068292c4", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:14 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a4456697-998b-4d64-acb0-e5ebcb029af0", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:14 GMT", + "content-length" : "668", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b1597717-2323-48a7-b9e5-95e2912f3e83", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:14 GMT", + "content-length" : "668", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "841de62e-2ce3-47eb-8dad-1a3697e50360", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:15 GMT", + "content-length" : "668", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6ee3f3c2-0b67-4524-a509-b3bf4f21c555", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:15 GMT", + "content-length" : "811", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "42b5f8d6-2c4d-4214-88f0-e6335288b8ef", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150475,\"scheduledPurgeDate\":1554926475,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:15 GMT", + "content-length" : "85", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8d390cdc-4b97-4f38-93c5-eb0bde7069a8", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:25 GMT", + "content-length" : "811", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0a1c23f6-2405-4d50-823e-dfa3287128db", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1547150475,\"scheduledPurgeDate\":1554926475,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/JavaExtensionKey1/a885b12673b04178b81ea08d00fabbdd\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xLxIGgi_kDaME6p3N_26SWKbVX3-mQRHiNqfefzj7zAB4owyMTqOfQXUvHoOYhcWCG_cCEj9kTQXAF-ZT7SyQVyqcT_rUvBoiIywqx3si2G8KQ3bin8gNFfJuxXepmjWMpA6rrMFWYn5ly5mYjLtJc-itdoAITPVFHnIzHHcMKKiB3wh-rOQjZqKHO1Dkp5IK_v8SXOQ4FpNTNxoQKvxM3iaWcWS0w5-Bui8HEn2OZOP6A-WeQBYIrCyTPH34JZ7EDFykVmxfsmVIZT4cQ1BtSy54srJUDJnzfZExkkTDSDPByKIvrLTWgqjlaAK2MnlaWI2Ec0WfymSNxE4jFXE4w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547150474,\"updated\":1547150474,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:26 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6ead49d4-5c80-4e3f-af1b-5193068292c4", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json index ba5bd794538fe..7763f1cf3ed69 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:21 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c626a696-f380-4a2b-88cd-08640c917e40", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:21 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d02750c1-f70d-4a5e-99a4-d73e1e78f0f8", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:22 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "73f3596b-a745-44f5-a8f1-81b378649518", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:22 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bdc0ed8d-4415-4e53-a8cb-2c3b8ff4d959", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:22 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a90c7b6c-3574-4dae-9f6f-1526e93aa842", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150303,\"scheduledPurgeDate\":1554926303,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:23 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3148c4bb-7aa4-4288-b0c2-efcbe7b476e0", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:34 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "107c235d-597c-4759-913f-f6320a77db84", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:44 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9c64c5e8-2f8a-4c4c-ab55-d78d7deddce0", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150303,\"scheduledPurgeDate\":1554926303,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:44 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1f734e1d-2555-4550-8802-0a24c9dddb8e", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:21 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c626a696-f380-4a2b-88cd-08640c917e40", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:21 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d02750c1-f70d-4a5e-99a4-d73e1e78f0f8", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:22 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "73f3596b-a745-44f5-a8f1-81b378649518", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:22 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bdc0ed8d-4415-4e53-a8cb-2c3b8ff4d959", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:22 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a90c7b6c-3574-4dae-9f6f-1526e93aa842", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150303,\"scheduledPurgeDate\":1554926303,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:23 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3148c4bb-7aa4-4288-b0c2-efcbe7b476e0", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:34 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "107c235d-597c-4759-913f-f6320a77db84", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:44 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9c64c5e8-2f8a-4c4c-ab55-d78d7deddce0", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150303,\"scheduledPurgeDate\":1554926303,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/e0b9414ee6b94be5a52516ab720d1f8e\",\"attributes\":{\"enabled\":true,\"created\":1547150302,\"updated\":1547150302,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:44 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1f734e1d-2555-4550-8802-0a24c9dddb8e", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json index 3e7e4dffd95cb..eadfe9c1a8241 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:27 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4a28e018-6f99-4a62-805d-7b720a396bec", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:28 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f6c41d9e-a683-41bd-8ec3-e23cdf338bd2", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:28 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cce32591-55b4-4c26-8c88-a1cba9dad219", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:28 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b1524a94-1d06-4f2f-ae36-4135fd58c473", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:28 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "64e48715-aa07-4539-a67b-62c5f84965cb", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150429,\"scheduledPurgeDate\":1554926429,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:29 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7b5b6438-af72-4cb3-8281-418a70210c88", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:40 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1ee4a0a3-08c6-441d-8b38-ee676a3cb854", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:50 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6bcaa8cc-f083-4f07-bd4a-3ba4d517282c", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150429,\"scheduledPurgeDate\":1554926429,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:50 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b2cbcce0-00cc-4c02-a17f-0d32fa28a50a", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:27 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4a28e018-6f99-4a62-805d-7b720a396bec", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:28 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f6c41d9e-a683-41bd-8ec3-e23cdf338bd2", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:28 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cce32591-55b4-4c26-8c88-a1cba9dad219", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:28 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b1524a94-1d06-4f2f-ae36-4135fd58c473", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:28 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "64e48715-aa07-4539-a67b-62c5f84965cb", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150429,\"scheduledPurgeDate\":1554926429,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:29 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7b5b6438-af72-4cb3-8281-418a70210c88", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:40 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1ee4a0a3-08c6-441d-8b38-ee676a3cb854", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:50 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6bcaa8cc-f083-4f07-bd4a-3ba4d517282c", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150429,\"scheduledPurgeDate\":1554926429,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/7901c768da48439a84a68f53e2e5c028\",\"attributes\":{\"enabled\":true,\"created\":1547150429,\"updated\":1547150429,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:50 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b2cbcce0-00cc-4c02-a17f-0d32fa28a50a", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json index df8df5b8f8189..32787e41e1ea4 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:42 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "24567de2-83f7-4735-b655-30480fbbd41e", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:42 GMT", - "content-length" : "307", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "89abcae5-7584-4fcd-9881-9101ca98a882", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:43 GMT", - "content-length" : "307", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8a0306fe-919e-49b4-90dc-cf8404280931", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:43 GMT", - "content-length" : "307", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a7429165-7960-4579-babd-26e594451fe3", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:43 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6f227089-2201-4113-aec5-90867971ff52", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150383,\"scheduledPurgeDate\":1554926383,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:44 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2dbbff82-2e7a-429f-b5aa-3d118c3c8e66", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:54 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2ff97d94-fa94-4e10-919d-9abb8baaf9fc", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:04 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d0baabdf-7584-4916-91d0-c2816a8aacf4", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150383,\"scheduledPurgeDate\":1554926383,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:04 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1a42d678-6131-4a23-b70f-a5ddfc27a7dc", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:42 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "24567de2-83f7-4735-b655-30480fbbd41e", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:42 GMT", + "content-length" : "307", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "89abcae5-7584-4fcd-9881-9101ca98a882", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:43 GMT", + "content-length" : "307", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8a0306fe-919e-49b4-90dc-cf8404280931", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:43 GMT", + "content-length" : "307", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a7429165-7960-4579-babd-26e594451fe3", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:43 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6f227089-2201-4113-aec5-90867971ff52", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150383,\"scheduledPurgeDate\":1554926383,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:44 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2dbbff82-2e7a-429f-b5aa-3d118c3c8e66", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:54 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2ff97d94-fa94-4e10-919d-9abb8baaf9fc", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:04 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d0baabdf-7584-4916-91d0-c2816a8aacf4", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1547150383,\"scheduledPurgeDate\":1554926383,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret2/3749478e538c41d083e74e5eb1473257\",\"attributes\":{\"enabled\":true,\"created\":1547150382,\"updated\":1547150382,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:04 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1a42d678-6131-4a23-b70f-a5ddfc27a7dc", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json index 6602d43a69d66..ca8dada5d496c 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:05 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1df21e6f-d793-4b19-9e55-bdc9117a4554", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:05 GMT", - "content-length" : "307", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cd2925a3-f298-4cf0-8008-2279ba69d37b", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:06 GMT", - "content-length" : "307", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "343b4488-618a-47f0-a05a-153b4b9588b6", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:06 GMT", - "content-length" : "307", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1a986902-a486-4dd1-b08b-15e22d7158b0", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:06 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "623be169-106a-48ee-b199-42488a7283be", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4\",\"deletedDate\":1547150407,\"scheduledPurgeDate\":1554926407,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:06 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4ae20389-030a-4997-84f1-82eb67189c5d", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret4\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:16 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1a2aa860-0ffc-4587-a1b6-d2abc60643bf", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret4\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:27 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5538180c-9f18-4036-82dd-ea6a0ddf8d81", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4\",\"deletedDate\":1547150407,\"scheduledPurgeDate\":1554926407,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:28 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a395d98d-dcd9-4194-934a-fe55229fca15", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:05 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1df21e6f-d793-4b19-9e55-bdc9117a4554", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:05 GMT", + "content-length" : "307", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cd2925a3-f298-4cf0-8008-2279ba69d37b", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:06 GMT", + "content-length" : "307", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "343b4488-618a-47f0-a05a-153b4b9588b6", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:06 GMT", + "content-length" : "307", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1a986902-a486-4dd1-b08b-15e22d7158b0", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:06 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "623be169-106a-48ee-b199-42488a7283be", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4\",\"deletedDate\":1547150407,\"scheduledPurgeDate\":1554926407,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:06 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4ae20389-030a-4997-84f1-82eb67189c5d", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret4\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:16 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1a2aa860-0ffc-4587-a1b6-d2abc60643bf", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret4\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:27 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5538180c-9f18-4036-82dd-ea6a0ddf8d81", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4\",\"deletedDate\":1547150407,\"scheduledPurgeDate\":1554926407,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret4/d784b6be36044895b918ae64a6be5ded\",\"attributes\":{\"enabled\":true,\"created\":1547150406,\"updated\":1547150406,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret4?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:28 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a395d98d-dcd9-4194-934a-fe55229fca15", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json index 00a53e706e66f..cd1b232de0ab2 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json @@ -1,272 +1,272 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:45 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0094806c-cd0a-44fb-bb76-990cbdf6c847", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:45 GMT", - "content-length" : "318", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1d224a31-9e80-45ee-a867-8ac901a0569f", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:45 GMT", - "content-length" : "318", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "81c4c64b-b05e-40c1-af97-775f575ef7f0", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:45 GMT", - "content-length" : "318", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cbf88aa7-0771-44d2-8f7b-5c7283b9651c", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:46 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a0bbe15c-f0b2-4e50-8668-5cc83cff7023", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1547150326,\"scheduledPurgeDate\":1554926326,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:46 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cff1fd71-385a-4b3a-a7b4-2746843ef869", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:58:57 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2eb9f0c1-2f4a-41dc-8fb2-b59b5ba6b5a4", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:07 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2a1eb189-584d-4f11-8ec3-d0ea73c05f9e", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:18 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ee1a54bd-f199-4c32-bfe9-487e5fefd18b", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1547150326,\"scheduledPurgeDate\":1554926326,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 19:59:18 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2be72338-9165-49bc-aa43-9d681493f1ba", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:45 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0094806c-cd0a-44fb-bb76-990cbdf6c847", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:45 GMT", + "content-length" : "318", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1d224a31-9e80-45ee-a867-8ac901a0569f", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:45 GMT", + "content-length" : "318", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "81c4c64b-b05e-40c1-af97-775f575ef7f0", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:45 GMT", + "content-length" : "318", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cbf88aa7-0771-44d2-8f7b-5c7283b9651c", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:46 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a0bbe15c-f0b2-4e50-8668-5cc83cff7023", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1547150326,\"scheduledPurgeDate\":1554926326,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:46 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cff1fd71-385a-4b3a-a7b4-2746843ef869", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:58:57 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2eb9f0c1-2f4a-41dc-8fb2-b59b5ba6b5a4", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:07 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2a1eb189-584d-4f11-8ec3-d0ea73c05f9e", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:18 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ee1a54bd-f199-4c32-bfe9-487e5fefd18b", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1547150326,\"scheduledPurgeDate\":1554926326,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret3/fdbccb1f9bc74804a1ded13270332875\",\"attributes\":{\"enabled\":true,\"created\":1547150325,\"updated\":1547150325,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 19:59:18 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2be72338-9165-49bc-aa43-9d681493f1ba", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json index d5a3f88538ee6..b4465af60563c 100644 --- a/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json +++ b/keyvault/data-plane/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:50 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "61dc2e64-c06c-42b2-b860-a2759cec4574", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:51 GMT", - "content-length" : "318", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d0655b38-6266-429e-9ccf-a06cd23a868e", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:51 GMT", - "content-length" : "318", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8792d2e0-b9f8-4720-b957-a177e277dc51", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:51 GMT", - "content-length" : "318", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "977a4075-b6ef-4927-916f-ea0a0d3b5251", - "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:51 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5ccf5eb6-e37b-4cc9-8f8d-57053557792a", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150452,\"scheduledPurgeDate\":1554926452,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:00:53 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0365c882-c010-420d-9e03-e28483300844", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:03 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4f1c25ef-339c-4d53-84de-77429995fa20", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:13 GMT", - "content-length" : "413", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ec8c4229-cc5d-42c0-908d-b2fb04c4c8af", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150452,\"scheduledPurgeDate\":1554926452,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:01:13 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "51325014-48db-4263-911f-ac8799cea53c", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:50 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "61dc2e64-c06c-42b2-b860-a2759cec4574", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:51 GMT", + "content-length" : "318", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d0655b38-6266-429e-9ccf-a06cd23a868e", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:51 GMT", + "content-length" : "318", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8792d2e0-b9f8-4720-b957-a177e277dc51", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:51 GMT", + "content-length" : "318", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "977a4075-b6ef-4927-916f-ea0a0d3b5251", + "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:51 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5ccf5eb6-e37b-4cc9-8f8d-57053557792a", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150452,\"scheduledPurgeDate\":1554926452,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:00:53 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0365c882-c010-420d-9e03-e28483300844", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:03 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4f1c25ef-339c-4d53-84de-77429995fa20", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:13 GMT", + "content-length" : "413", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ec8c4229-cc5d-42c0-908d-b2fb04c4c8af", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1547150452,\"scheduledPurgeDate\":1554926452,\"contentType\":\"application/octet-stream\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/JavaExtensionSecret1/ca70a527ac8343b7aa072199df4bd0b0\",\"attributes\":{\"enabled\":true,\"created\":1547150451,\"updated\":1547150451,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:01:13 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "51325014-48db-4263-911f-ac8799cea53c", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcHsmValidationTests.java b/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcHsmValidationTests.java index f059824b4231a..11ce618c9f349 100644 --- a/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcHsmValidationTests.java +++ b/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcHsmValidationTests.java @@ -1,50 +1,50 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.webkey.test; - -import org.junit.Assert; -import org.junit.Test; - -import com.fasterxml.jackson.databind.ObjectMapper; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; - - -public class EcHsmValidationTests { - - String keyWithoutT = "{\"kid\":\"key_id\",\"kty\":\"EC-HSM\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":null,\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256\",\"x\":\"KyjF795jLyVIgswKSQInEGYHNBKSKyPgNojEgYlldMI\",\"y\":\"AIl_ca1ZIKbJ5YGdgGr_7HySldI2aWeBaOImZEYIMpVe\"}"; - String keyWithT = "{\"kid\":\"key_id\",\"kty\":\"EC-HSM\",\"key_ops\":null,\"key_hsm\":\"T-TOKEN\"}"; - - @Test - public void ecHsmValidation() throws Exception { - ObjectMapper mapper = new ObjectMapper(); - JsonWebKey keyNoT = mapper.readValue(keyWithoutT, JsonWebKey.class); - JsonWebKey keyT = mapper.readValue(keyWithT, JsonWebKey.class); - - Assert.assertTrue(keyNoT.isValid()); - Assert.assertFalse(keyNoT.hasPrivateKey()); - - Assert.assertTrue(keyT.isValid()); - Assert.assertFalse(keyT.hasPrivateKey()); - } - - @Test - public void ecHsmHashCode() throws Exception { - ObjectMapper mapper = new ObjectMapper(); - JsonWebKey keyNoT = mapper.readValue(keyWithoutT, JsonWebKey.class); - JsonWebKey keyT = mapper.readValue(keyWithT, JsonWebKey.class); - - Assert.assertNotEquals(keyT.hashCode(), keyNoT.hashCode()); - - // Compare hash codes for unequal JWK that would not map to the same hash - Assert.assertNotEquals(keyT.hashCode(), new JsonWebKey().withKid(keyT.kid()).withT(keyT.t()).hashCode()); - Assert.assertNotEquals(keyT.hashCode(), new JsonWebKey().withKid(keyT.kid()).withKty(keyT.kty()).hashCode()); - Assert.assertNotEquals(keyNoT.hashCode(), new JsonWebKey().hashCode()); - - // Compare hash codes for unequal JWK that would map to the same hash - Assert.assertEquals(keyT.hashCode(), - new JsonWebKey().withKid(keyT.kid()).withKty(keyT.kty()).withT(keyT.t()).hashCode()); - Assert.assertEquals(keyNoT.hashCode(), new JsonWebKey().withKid(keyT.kid()).hashCode()); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.webkey.test; + +import org.junit.Assert; +import org.junit.Test; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; + + +public class EcHsmValidationTests { + + String keyWithoutT = "{\"kid\":\"key_id\",\"kty\":\"EC-HSM\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":null,\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256\",\"x\":\"KyjF795jLyVIgswKSQInEGYHNBKSKyPgNojEgYlldMI\",\"y\":\"AIl_ca1ZIKbJ5YGdgGr_7HySldI2aWeBaOImZEYIMpVe\"}"; + String keyWithT = "{\"kid\":\"key_id\",\"kty\":\"EC-HSM\",\"key_ops\":null,\"key_hsm\":\"T-TOKEN\"}"; + + @Test + public void ecHsmValidation() throws Exception { + ObjectMapper mapper = new ObjectMapper(); + JsonWebKey keyNoT = mapper.readValue(keyWithoutT, JsonWebKey.class); + JsonWebKey keyT = mapper.readValue(keyWithT, JsonWebKey.class); + + Assert.assertTrue(keyNoT.isValid()); + Assert.assertFalse(keyNoT.hasPrivateKey()); + + Assert.assertTrue(keyT.isValid()); + Assert.assertFalse(keyT.hasPrivateKey()); + } + + @Test + public void ecHsmHashCode() throws Exception { + ObjectMapper mapper = new ObjectMapper(); + JsonWebKey keyNoT = mapper.readValue(keyWithoutT, JsonWebKey.class); + JsonWebKey keyT = mapper.readValue(keyWithT, JsonWebKey.class); + + Assert.assertNotEquals(keyT.hashCode(), keyNoT.hashCode()); + + // Compare hash codes for unequal JWK that would not map to the same hash + Assert.assertNotEquals(keyT.hashCode(), new JsonWebKey().withKid(keyT.kid()).withT(keyT.t()).hashCode()); + Assert.assertNotEquals(keyT.hashCode(), new JsonWebKey().withKid(keyT.kid()).withKty(keyT.kty()).hashCode()); + Assert.assertNotEquals(keyNoT.hashCode(), new JsonWebKey().hashCode()); + + // Compare hash codes for unequal JWK that would map to the same hash + Assert.assertEquals(keyT.hashCode(), + new JsonWebKey().withKid(keyT.kid()).withKty(keyT.kty()).withT(keyT.t()).hashCode()); + Assert.assertEquals(keyNoT.hashCode(), new JsonWebKey().withKid(keyT.kid()).hashCode()); + } +} diff --git a/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java b/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java index 9e83e0d6b6f94..e70cb50565402 100644 --- a/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java +++ b/keyvault/data-plane/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java @@ -1,118 +1,118 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.webkey.test; - -import java.security.InvalidKeyException; -import java.security.KeyPair; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.security.PrivateKey; -import java.security.PublicKey; -import java.security.Security; -import java.security.Signature; -import java.security.SignatureException; -import java.util.Map; -import java.util.Random; - -import org.junit.Assert; -import org.junit.Test; - -import com.fasterxml.jackson.databind.ObjectMapper; -import com.google.common.collect.ImmutableMap; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; - - -public class EcValidationTests { - - @Test - public void ecPublicKeyValidation() throws Exception { - - for (String keyStr : keys.values()) { - ObjectMapper mapper = new ObjectMapper(); - JsonWebKey key = mapper.readValue(keyStr, JsonWebKey.class); - Assert.assertTrue(key.hasPrivateKey()); - Assert.assertTrue(key.isValid()); - - KeyPair keyPair = key.toEC(); - validateEcKey(keyPair, key); - Assert.assertNull(keyPair.getPrivate()); - - // Compare equal JSON web keys - JsonWebKey sameKey = mapper.readValue(keyStr, JsonWebKey.class); - Assert.assertEquals(key, key); - Assert.assertEquals(key, sameKey); - Assert.assertEquals(key.hashCode(), sameKey.hashCode()); - } - } - - @Test - public void ecPrivateKeyValidation() throws Exception { - for (String keyStr : keys.values()) { - ObjectMapper mapper = new ObjectMapper(); - JsonWebKey key = mapper.readValue(keyStr, JsonWebKey.class); - KeyPair keyPairWithPrivate = key.toEC(true); - validateEcKey(keyPairWithPrivate, key); - signVerify(keyPairWithPrivate.getPublic(), keyPairWithPrivate.getPrivate(), key.crv()); - } - } - - private static void validateEcKey(KeyPair keyPair, JsonWebKey key) throws Exception { - JsonWebKey jsonWebKey = JsonWebKey.fromEC(keyPair, Security.getProvider("SunEC")); - boolean includePrivateKey = keyPair.getPrivate() != null; - KeyPair keyPair2 = jsonWebKey.toEC(includePrivateKey); - - Assert.assertTrue(includePrivateKey == jsonWebKey.hasPrivateKey()); - - PublicKey publicKey = keyPair2.getPublic(); - PrivateKey privateKey = keyPair2.getPrivate(); - - if(includePrivateKey) { - - // set the missing properties to compare the keys - jsonWebKey.withKid(new String(key.kid())); - Assert.assertNotNull(privateKey); - Assert.assertEquals(jsonWebKey, key); - Assert.assertEquals(key.hashCode(), jsonWebKey.hashCode()); - signVerify(publicKey, privateKey, jsonWebKey.crv()); - } - } - - private static void signVerify(PublicKey publicKey, PrivateKey privateKey, JsonWebKeyCurveName curve) throws InvalidKeyException, NoSuchAlgorithmException, SignatureException { - Signature signature = Signature.getInstance(CURVE_TO_SIGNATURE.get(curve), Security.getProvider("SunEC")); - signature.initSign(privateKey); - MessageDigest digest = MessageDigest.getInstance(algorithm.get(curve)); - byte[] plaintext = new byte[10]; - new Random().nextBytes(plaintext); - byte[] hash = digest.digest(plaintext); - signature.update(hash); - byte[] signed_hash = signature.sign(); - - signature.initVerify(publicKey); - signature.update(hash); - Assert.assertTrue(signature.verify(signed_hash)); - - } - - static Map algorithm = ImmutableMap.builder() - .put(JsonWebKeyCurveName.P_256, "SHA-256") - .put(JsonWebKeyCurveName.P_384, "SHA-384") - .put(JsonWebKeyCurveName.P_521, "SHA-512") - .put(JsonWebKeyCurveName.P_256K, "SHA-256") - .build(); - - Map keys = ImmutableMap.builder() - .put(256, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AM_iqldq9VSqlf9v3w7lren4pJvZTG81v6_V5ZBLP7ZI\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256\",\"x\":\"KyjF795jLyVIgswKSQInEGYHNBKSKyPgNojEgYlldMI\",\"y\":\"AIl_ca1ZIKbJ5YGdgGr_7HySldI2aWeBaOImZEYIMpVe\"}") - .put(384, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AJEYT00mAfa-_uJ8S9ob0-9uZbPEr56CFebUQW9O-jZQBrtrMSPeqVbjJvTVlzOwbg\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-384\",\"x\":\"AKOdkhxTtVkLtaslZIOPQGnsdKRT2xo3Ynk-bnAVvTCf3iGrTpRiMxUmyq_tvzBLEg\",\"y\":\"QoHux2O2XGMh8w7a5sWwskAyCR0g3Lj7kPGuvnDq_bQ_-_VoTvsGMAe9MFexv68I\"}") - .put(521, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AVW7TFJVOJ8jY5PqK0nnKyVYQwhkBEGKt0nhSZTS5io7U32dR7xZle77Gq6SpjrdFVa32jvGWgchlSguV3WKy3sj\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-521\",\"x\":\"AIDmImOrJNKOjOGp7wD8Dzi_uz-00E7cs8iN5SwBkzBXktyRrLDFS_SMwVdnIWpLcdJQn5sTGDS121DhjQA2i2dO\",\"y\":\"AWRoeIfIoRoEx8V9ijjwaco3V6vUPUYvKMKxtCPvm8iwhB7pZAI7-mODSfkb3rZo3gxuWoM3G7L66FttUlKSLK4w\"}") - .put(265, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"YKv22AkpwBpKUcDodNhKhvI-bRpiWqoN8l0kNCo-Mds\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256K\",\"x\":\"Yw9Sln8gYf_oiFY1anQm0V_WwsRaCIcEccfbhu5hSJo\",\"y\":\"AJq3JT2YldszaohHaS7LkngPWS9y0yAn7HhHb5p0IUDS\"}") - .build(); - - public static final Map CURVE_TO_SIGNATURE = ImmutableMap.builder() - .put(JsonWebKeyCurveName.P_256, "SHA256withECDSA") - .put(JsonWebKeyCurveName.P_384, "SHA384withECDSA") - .put(JsonWebKeyCurveName.P_521, "SHA512withECDSA") - .put(JsonWebKeyCurveName.P_256K, "NONEwithECDSA") - .build(); -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.webkey.test; + +import java.security.InvalidKeyException; +import java.security.KeyPair; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.PrivateKey; +import java.security.PublicKey; +import java.security.Security; +import java.security.Signature; +import java.security.SignatureException; +import java.util.Map; +import java.util.Random; + +import org.junit.Assert; +import org.junit.Test; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.google.common.collect.ImmutableMap; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyCurveName; + + +public class EcValidationTests { + + @Test + public void ecPublicKeyValidation() throws Exception { + + for (String keyStr : keys.values()) { + ObjectMapper mapper = new ObjectMapper(); + JsonWebKey key = mapper.readValue(keyStr, JsonWebKey.class); + Assert.assertTrue(key.hasPrivateKey()); + Assert.assertTrue(key.isValid()); + + KeyPair keyPair = key.toEC(); + validateEcKey(keyPair, key); + Assert.assertNull(keyPair.getPrivate()); + + // Compare equal JSON web keys + JsonWebKey sameKey = mapper.readValue(keyStr, JsonWebKey.class); + Assert.assertEquals(key, key); + Assert.assertEquals(key, sameKey); + Assert.assertEquals(key.hashCode(), sameKey.hashCode()); + } + } + + @Test + public void ecPrivateKeyValidation() throws Exception { + for (String keyStr : keys.values()) { + ObjectMapper mapper = new ObjectMapper(); + JsonWebKey key = mapper.readValue(keyStr, JsonWebKey.class); + KeyPair keyPairWithPrivate = key.toEC(true); + validateEcKey(keyPairWithPrivate, key); + signVerify(keyPairWithPrivate.getPublic(), keyPairWithPrivate.getPrivate(), key.crv()); + } + } + + private static void validateEcKey(KeyPair keyPair, JsonWebKey key) throws Exception { + JsonWebKey jsonWebKey = JsonWebKey.fromEC(keyPair, Security.getProvider("SunEC")); + boolean includePrivateKey = keyPair.getPrivate() != null; + KeyPair keyPair2 = jsonWebKey.toEC(includePrivateKey); + + Assert.assertTrue(includePrivateKey == jsonWebKey.hasPrivateKey()); + + PublicKey publicKey = keyPair2.getPublic(); + PrivateKey privateKey = keyPair2.getPrivate(); + + if(includePrivateKey) { + + // set the missing properties to compare the keys + jsonWebKey.withKid(new String(key.kid())); + Assert.assertNotNull(privateKey); + Assert.assertEquals(jsonWebKey, key); + Assert.assertEquals(key.hashCode(), jsonWebKey.hashCode()); + signVerify(publicKey, privateKey, jsonWebKey.crv()); + } + } + + private static void signVerify(PublicKey publicKey, PrivateKey privateKey, JsonWebKeyCurveName curve) throws InvalidKeyException, NoSuchAlgorithmException, SignatureException { + Signature signature = Signature.getInstance(CURVE_TO_SIGNATURE.get(curve), Security.getProvider("SunEC")); + signature.initSign(privateKey); + MessageDigest digest = MessageDigest.getInstance(algorithm.get(curve)); + byte[] plaintext = new byte[10]; + new Random().nextBytes(plaintext); + byte[] hash = digest.digest(plaintext); + signature.update(hash); + byte[] signed_hash = signature.sign(); + + signature.initVerify(publicKey); + signature.update(hash); + Assert.assertTrue(signature.verify(signed_hash)); + + } + + static Map algorithm = ImmutableMap.builder() + .put(JsonWebKeyCurveName.P_256, "SHA-256") + .put(JsonWebKeyCurveName.P_384, "SHA-384") + .put(JsonWebKeyCurveName.P_521, "SHA-512") + .put(JsonWebKeyCurveName.P_256K, "SHA-256") + .build(); + + Map keys = ImmutableMap.builder() + .put(256, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AM_iqldq9VSqlf9v3w7lren4pJvZTG81v6_V5ZBLP7ZI\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256\",\"x\":\"KyjF795jLyVIgswKSQInEGYHNBKSKyPgNojEgYlldMI\",\"y\":\"AIl_ca1ZIKbJ5YGdgGr_7HySldI2aWeBaOImZEYIMpVe\"}") + .put(384, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AJEYT00mAfa-_uJ8S9ob0-9uZbPEr56CFebUQW9O-jZQBrtrMSPeqVbjJvTVlzOwbg\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-384\",\"x\":\"AKOdkhxTtVkLtaslZIOPQGnsdKRT2xo3Ynk-bnAVvTCf3iGrTpRiMxUmyq_tvzBLEg\",\"y\":\"QoHux2O2XGMh8w7a5sWwskAyCR0g3Lj7kPGuvnDq_bQ_-_VoTvsGMAe9MFexv68I\"}") + .put(521, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AVW7TFJVOJ8jY5PqK0nnKyVYQwhkBEGKt0nhSZTS5io7U32dR7xZle77Gq6SpjrdFVa32jvGWgchlSguV3WKy3sj\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-521\",\"x\":\"AIDmImOrJNKOjOGp7wD8Dzi_uz-00E7cs8iN5SwBkzBXktyRrLDFS_SMwVdnIWpLcdJQn5sTGDS121DhjQA2i2dO\",\"y\":\"AWRoeIfIoRoEx8V9ijjwaco3V6vUPUYvKMKxtCPvm8iwhB7pZAI7-mODSfkb3rZo3gxuWoM3G7L66FttUlKSLK4w\"}") + .put(265, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"YKv22AkpwBpKUcDodNhKhvI-bRpiWqoN8l0kNCo-Mds\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256K\",\"x\":\"Yw9Sln8gYf_oiFY1anQm0V_WwsRaCIcEccfbhu5hSJo\",\"y\":\"AJq3JT2YldszaohHaS7LkngPWS9y0yAn7HhHb5p0IUDS\"}") + .build(); + + public static final Map CURVE_TO_SIGNATURE = ImmutableMap.builder() + .put(JsonWebKeyCurveName.P_256, "SHA256withECDSA") + .put(JsonWebKeyCurveName.P_384, "SHA384withECDSA") + .put(JsonWebKeyCurveName.P_521, "SHA512withECDSA") + .put(JsonWebKeyCurveName.P_256K, "NONEwithECDSA") + .build(); +} diff --git a/keyvault/data-plane/azure-keyvault/pom.xml b/keyvault/data-plane/azure-keyvault/pom.xml index bf9e6e503a301..09f15efb01e81 100644 --- a/keyvault/data-plane/azure-keyvault/pom.xml +++ b/keyvault/data-plane/azure-keyvault/pom.xml @@ -1,163 +1,163 @@ - - - 4.0.0 - - com.microsoft.azure - azure-keyvault-parent - 1.2.0 - ../pom.xml - - - com.microsoft.azure - azure-keyvault - 1.2.0 - jar - - Microsoft Azure SDK for Key Vault - This package contains Microsoft Azure Key Vault SDK. - https://github.com/Azure/azure-sdk-for-java - - - - azure-java-build-docs - ${site.url}/site/${project.artifactId} - - - - https://github.com/Azure/azure-sdk-for-java - - - UTF-8 - - playback - - - - - - - com.microsoft.azure - azure-keyvault-cryptography - - - - com.microsoft.azure - azure-keyvault-webkey - - - - - com.microsoft.azure - azure-client-runtime - - - - - com.microsoft.rest - client-runtime - - - - - - com.microsoft.azure - azure-mgmt-storage - test - - - - com.microsoft.azure - azure-mgmt-graph-rbac - test - - - - com.microsoft.azure - azure-mgmt-resources - test - - - - com.microsoft.azure - azure-mgmt-keyvault - test - - - com.microsoft.azure - azure-keyvault - - - - - - com.microsoft.azure - azure-mgmt-resources - test-jar - test - - - - com.microsoft.azure - adal4j - test - - - - com.microsoft.azure - azure-storage - test - - - - - - com.microsoft.azure - azure-client-authentication - test - - - - junit - junit - test - - - - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - ${basedir}/azure-keyvault/target/azure-keyvault-${project.version}.jar - - - - - - - - + + + 4.0.0 + + com.microsoft.azure + azure-keyvault-parent + 1.2.0 + ../pom.xml + + + com.microsoft.azure + azure-keyvault + 1.2.0 + jar + + Microsoft Azure SDK for Key Vault + This package contains Microsoft Azure Key Vault SDK. + https://github.com/Azure/azure-sdk-for-java + + + + azure-java-build-docs + ${site.url}/site/${project.artifactId} + + + + https://github.com/Azure/azure-sdk-for-java + + + UTF-8 + + playback + + + + + + + com.microsoft.azure + azure-keyvault-cryptography + + + + com.microsoft.azure + azure-keyvault-webkey + + + + + com.microsoft.azure + azure-client-runtime + + + + + com.microsoft.rest + client-runtime + + + + + + com.microsoft.azure + azure-mgmt-storage + test + + + + com.microsoft.azure + azure-mgmt-graph-rbac + test + + + + com.microsoft.azure + azure-mgmt-resources + test + + + + com.microsoft.azure + azure-mgmt-keyvault + test + + + com.microsoft.azure + azure-keyvault + + + + + + com.microsoft.azure + azure-mgmt-resources + test-jar + test + + + + com.microsoft.azure + adal4j + test + + + + com.microsoft.azure + azure-storage + test + + + + + + com.microsoft.azure + azure-client-authentication + test + + + + junit + junit + test + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + ${basedir}/azure-keyvault/target/azure-keyvault-${project.version}.jar + + + + + + + + diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java index e70ecad0105ee..502da66960228 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java @@ -1,46 +1,46 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -/** - * The certificate identifier. - */ -public final class CertificateIdentifier extends ObjectIdentifier { - - /** - * Verify whether the identifier is for certificate. - * @param identifier the certificate identifier - * @return true if the identifier is the certificate identifier. False otherwise. - */ - public static boolean isCertificateIdentifier(String identifier) { - return ObjectIdentifier.isObjectIdentifier("certificates", identifier); - } - - /** - * Constructor. - * @param vault The vault url - * @param name the certificate name - */ - public CertificateIdentifier(String vault, String name) { - this(vault, name, ""); - } - - /** - * Constructor. - * @param vault the vault url - * @param name the certificate name - * @param version the certificate version - */ - public CertificateIdentifier(String vault, String name, String version) { - super(vault, "certificates", name, version); - } - - /** - * Constructor. - * @param identifier the certificate identifier - */ - public CertificateIdentifier(String identifier) { - super("certificates", identifier); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +/** + * The certificate identifier. + */ +public final class CertificateIdentifier extends ObjectIdentifier { + + /** + * Verify whether the identifier is for certificate. + * @param identifier the certificate identifier + * @return true if the identifier is the certificate identifier. False otherwise. + */ + public static boolean isCertificateIdentifier(String identifier) { + return ObjectIdentifier.isObjectIdentifier("certificates", identifier); + } + + /** + * Constructor. + * @param vault The vault url + * @param name the certificate name + */ + public CertificateIdentifier(String vault, String name) { + this(vault, name, ""); + } + + /** + * Constructor. + * @param vault the vault url + * @param name the certificate name + * @param version the certificate version + */ + public CertificateIdentifier(String vault, String name, String version) { + super(vault, "certificates", name, version); + } + + /** + * Constructor. + * @param identifier the certificate identifier + */ + public CertificateIdentifier(String identifier) { + super("certificates", identifier); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java index 381c799fbcff0..97f0aaf84a142 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java @@ -1,67 +1,67 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -import java.net.URI; -import java.net.URISyntaxException; - -/** - * The certificate operation identifier. - */ -public final class CertificateOperationIdentifier extends ObjectIdentifier { - - /** - * Verifies whether the identifier belongs to a key vault certificate operation. - * @param identifier the key vault certificate operation identifier. - * @return true if the identifier belongs to a key vault certificate operation. False otherwise. - */ - public static boolean isCertificateOperationIdentifier(String identifier) { - identifier = verifyNonEmpty(identifier, "identifier"); - - URI baseUri; - try { - baseUri = new URI(identifier); - } catch (URISyntaxException e) { - return false; - } - - // Path is of the form "/certificates/[name]/pending" - String[] segments = baseUri.getPath().split("/"); - if (segments.length != 4) { - return false; - } - - if (!(segments[1]).equals("certificates")) { - return false; - } - - if (!(segments[3]).equals("pending")) { - return false; - } - - return true; - } - - /** - * Constructor. - * @param vault the vault url - * @param name the name of certificate - * @param version the certificate version - */ - public CertificateOperationIdentifier(String vault, String name, String version) { - super(vault, "certificates", name, "pending"); - } - - /** - * Constructor. - * @param identifier the key vault certificate operation identifier. - */ - public CertificateOperationIdentifier(String identifier) { - super("certificates", identifier); - if (!version().equals("pending")) { - throw new IllegalArgumentException( - String.format("Invalid CertificateOperationIdentifier: {0}", identifier)); - } - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +import java.net.URI; +import java.net.URISyntaxException; + +/** + * The certificate operation identifier. + */ +public final class CertificateOperationIdentifier extends ObjectIdentifier { + + /** + * Verifies whether the identifier belongs to a key vault certificate operation. + * @param identifier the key vault certificate operation identifier. + * @return true if the identifier belongs to a key vault certificate operation. False otherwise. + */ + public static boolean isCertificateOperationIdentifier(String identifier) { + identifier = verifyNonEmpty(identifier, "identifier"); + + URI baseUri; + try { + baseUri = new URI(identifier); + } catch (URISyntaxException e) { + return false; + } + + // Path is of the form "/certificates/[name]/pending" + String[] segments = baseUri.getPath().split("/"); + if (segments.length != 4) { + return false; + } + + if (!(segments[1]).equals("certificates")) { + return false; + } + + if (!(segments[3]).equals("pending")) { + return false; + } + + return true; + } + + /** + * Constructor. + * @param vault the vault url + * @param name the name of certificate + * @param version the certificate version + */ + public CertificateOperationIdentifier(String vault, String name, String version) { + super(vault, "certificates", name, "pending"); + } + + /** + * Constructor. + * @param identifier the key vault certificate operation identifier. + */ + public CertificateOperationIdentifier(String identifier) { + super("certificates", identifier); + if (!version().equals("pending")) { + throw new IllegalArgumentException( + String.format("Invalid CertificateOperationIdentifier: {0}", identifier)); + } + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java index ecb95175fc777..cecc86da4b681 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java @@ -1,100 +1,100 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -import java.net.URI; -import java.net.URISyntaxException; -import java.security.InvalidParameterException; - -/** - * The issuer identifier. - */ -public final class IssuerIdentifier extends ObjectIdentifier { - - /** - * Verifies whether the identifier belongs to a key vault issuer. - * @param identifier the key vault issuer identifier. - * @return true if the identifier belongs to a key vault issuer. False otherwise. - */ - public static boolean isIssuerIdentifier(String identifier) { - identifier = verifyNonEmpty(identifier, "identifier"); - - URI baseUri; - try { - baseUri = new URI(identifier); - } catch (URISyntaxException e) { - return false; - } - - String[] segments = baseUri.getPath().split("/"); - - return segments.length == 4 && segments[1].equals("certificates") && segments[2].equals("issuers"); - } - - /** - * Constructor. - * @param vault the vault url. - * @param name the name of issuer. - */ - public IssuerIdentifier(String vault, String name) { - vault = verifyNonEmpty(vault, "vault"); - - name = verifyNonEmpty(name, "name"); - - URI baseUri; - try { - baseUri = new URI(vault); - } catch (URISyntaxException e) { - throw new InvalidParameterException(String.format("Invalid ObjectIdentifier: %s. Not a valid URI", vault)); - } - - this.name = name; - this.version = null; - this.vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); - - baseIdentifier = String.format("%s/%s/%s", this.vault, "certificates/issuers", this.name); - identifier = baseIdentifier; - } - - /** - * Constructor. - * @param identifier the key vault issuer identifier. - */ - public IssuerIdentifier(String identifier) { - - identifier = verifyNonEmpty(identifier, "identifier"); - - URI baseUri; - try { - baseUri = new URI(identifier); - } catch (URISyntaxException e) { - throw new InvalidParameterException( - String.format("Invalid ObjectIdentifier: %s. Not a valid URI", identifier)); - } - - // Path is of the form "/collection/name[/version]" - String[] segments = baseUri.getPath().split("/"); - if (segments.length != 4) { - throw new InvalidParameterException(String - .format("Invalid ObjectIdentifier: %s. Bad number of segments: %d", identifier, segments.length)); - } - - if (!segments[1].equals("certificates")) { - throw new InvalidParameterException( - String.format("Invalid ObjectIdentifier: %s. Segment [1] should be '%s', found '%s'", identifier, - "certificates", segments[1])); - } - if (!segments[2].equals("issuers")) { - throw new InvalidParameterException( - String.format("Invalid ObjectIdentifier: %s. Segment [2] should be '%s', found '%s'", identifier, - "issuers", segments[2])); - } - - name = segments[3]; - version = ""; - vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); - baseIdentifier = String.format("%s/%s/%s", vault, "certificates/issuers", name); - this.identifier = baseIdentifier; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +import java.net.URI; +import java.net.URISyntaxException; +import java.security.InvalidParameterException; + +/** + * The issuer identifier. + */ +public final class IssuerIdentifier extends ObjectIdentifier { + + /** + * Verifies whether the identifier belongs to a key vault issuer. + * @param identifier the key vault issuer identifier. + * @return true if the identifier belongs to a key vault issuer. False otherwise. + */ + public static boolean isIssuerIdentifier(String identifier) { + identifier = verifyNonEmpty(identifier, "identifier"); + + URI baseUri; + try { + baseUri = new URI(identifier); + } catch (URISyntaxException e) { + return false; + } + + String[] segments = baseUri.getPath().split("/"); + + return segments.length == 4 && segments[1].equals("certificates") && segments[2].equals("issuers"); + } + + /** + * Constructor. + * @param vault the vault url. + * @param name the name of issuer. + */ + public IssuerIdentifier(String vault, String name) { + vault = verifyNonEmpty(vault, "vault"); + + name = verifyNonEmpty(name, "name"); + + URI baseUri; + try { + baseUri = new URI(vault); + } catch (URISyntaxException e) { + throw new InvalidParameterException(String.format("Invalid ObjectIdentifier: %s. Not a valid URI", vault)); + } + + this.name = name; + this.version = null; + this.vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); + + baseIdentifier = String.format("%s/%s/%s", this.vault, "certificates/issuers", this.name); + identifier = baseIdentifier; + } + + /** + * Constructor. + * @param identifier the key vault issuer identifier. + */ + public IssuerIdentifier(String identifier) { + + identifier = verifyNonEmpty(identifier, "identifier"); + + URI baseUri; + try { + baseUri = new URI(identifier); + } catch (URISyntaxException e) { + throw new InvalidParameterException( + String.format("Invalid ObjectIdentifier: %s. Not a valid URI", identifier)); + } + + // Path is of the form "/collection/name[/version]" + String[] segments = baseUri.getPath().split("/"); + if (segments.length != 4) { + throw new InvalidParameterException(String + .format("Invalid ObjectIdentifier: %s. Bad number of segments: %d", identifier, segments.length)); + } + + if (!segments[1].equals("certificates")) { + throw new InvalidParameterException( + String.format("Invalid ObjectIdentifier: %s. Segment [1] should be '%s', found '%s'", identifier, + "certificates", segments[1])); + } + if (!segments[2].equals("issuers")) { + throw new InvalidParameterException( + String.format("Invalid ObjectIdentifier: %s. Segment [2] should be '%s', found '%s'", identifier, + "issuers", segments[2])); + } + + name = segments[3]; + version = ""; + vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); + baseIdentifier = String.format("%s/%s/%s", vault, "certificates/issuers", name); + this.identifier = baseIdentifier; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java index bc7ae6ce5911b..73f658f866a12 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java @@ -1,46 +1,46 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -/** - * The Key Vault key identifier. - */ -public final class KeyIdentifier extends ObjectIdentifier { - - /** - * Verifies whether the identifier belongs to a key vault key. - * @param identifier the key vault key identifier. - * @return true if the identifier belongs to a key vault key. False otherwise. - */ - public static boolean isKeyIdentifier(String identifier) { - return ObjectIdentifier.isObjectIdentifier("keys", identifier); - } - - /** - * Constructor. - * @param vault the vault url. - * @param name the name of key. - */ - public KeyIdentifier(String vault, String name) { - this(vault, name, ""); - } - - /** - * Constructor. - * @param vault the vault url. - * @param name the name of key. - * @param version the key version. - */ - public KeyIdentifier(String vault, String name, String version) { - super(vault, "keys", name, version); - } - - /** - * Constructor. - * @param identifier the key vault key identifier. - */ - public KeyIdentifier(String identifier) { - super("keys", identifier); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +/** + * The Key Vault key identifier. + */ +public final class KeyIdentifier extends ObjectIdentifier { + + /** + * Verifies whether the identifier belongs to a key vault key. + * @param identifier the key vault key identifier. + * @return true if the identifier belongs to a key vault key. False otherwise. + */ + public static boolean isKeyIdentifier(String identifier) { + return ObjectIdentifier.isObjectIdentifier("keys", identifier); + } + + /** + * Constructor. + * @param vault the vault url. + * @param name the name of key. + */ + public KeyIdentifier(String vault, String name) { + this(vault, name, ""); + } + + /** + * Constructor. + * @param vault the vault url. + * @param name the name of key. + * @param version the key version. + */ + public KeyIdentifier(String vault, String name, String version) { + super(vault, "keys", name, version); + } + + /** + * Constructor. + * @param identifier the key vault key identifier. + */ + public KeyIdentifier(String identifier) { + super("keys", identifier); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java index 9449c983d8046..01e2b8aa67477 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java @@ -1,34 +1,34 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -import com.microsoft.azure.keyvault.implementation.KeyVaultClientCustomImpl; -import com.microsoft.rest.RestClient; -import com.microsoft.rest.credentials.ServiceClientCredentials; - -/** - * Class for Key Vault Client. - * - */ -public final class KeyVaultClient extends KeyVaultClientCustomImpl { - - /** - * Initializes an instance of KeyVaultClient client. - * - * @param credentials the management credentials for Azure - */ - public KeyVaultClient(ServiceClientCredentials credentials) { - super(credentials); - initializeService(); - } - /** - * Initializes an instance of KeyVaultClient client. - * - * @param restClient the REST client to connect to Azure. - */ - public KeyVaultClient(RestClient restClient) { - super(restClient); - initializeService(); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +import com.microsoft.azure.keyvault.implementation.KeyVaultClientCustomImpl; +import com.microsoft.rest.RestClient; +import com.microsoft.rest.credentials.ServiceClientCredentials; + +/** + * Class for Key Vault Client. + * + */ +public final class KeyVaultClient extends KeyVaultClientCustomImpl { + + /** + * Initializes an instance of KeyVaultClient client. + * + * @param credentials the management credentials for Azure + */ + public KeyVaultClient(ServiceClientCredentials credentials) { + super(credentials); + initializeService(); + } + /** + * Initializes an instance of KeyVaultClient client. + * + * @param restClient the REST client to connect to Azure. + */ + public KeyVaultClient(RestClient restClient) { + super(restClient); + initializeService(); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java index 5389a3469a3f5..e992078cfc087 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java @@ -1,6120 +1,6120 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault; - -import java.util.List; -import java.util.Map; - -import com.microsoft.azure.AzureClient; -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.Page; -import com.microsoft.azure.PagedList; -import com.microsoft.azure.keyvault.models.BackupCertificateResult; -import com.microsoft.azure.keyvault.models.BackupKeyResult; -import com.microsoft.azure.keyvault.models.BackupSecretResult; -import com.microsoft.azure.keyvault.models.BackupStorageResult; -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificateBundle; -import com.microsoft.azure.keyvault.models.CertificateIssuerItem; -import com.microsoft.azure.keyvault.models.CertificateItem; -import com.microsoft.azure.keyvault.models.CertificateOperation; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.Contacts; -import com.microsoft.azure.keyvault.models.DeletedCertificateBundle; -import com.microsoft.azure.keyvault.models.DeletedCertificateItem; -import com.microsoft.azure.keyvault.models.DeletedKeyBundle; -import com.microsoft.azure.keyvault.models.DeletedKeyItem; -import com.microsoft.azure.keyvault.models.DeletedSasDefinitionBundle; -import com.microsoft.azure.keyvault.models.DeletedSasDefinitionItem; -import com.microsoft.azure.keyvault.models.DeletedSecretBundle; -import com.microsoft.azure.keyvault.models.DeletedSecretItem; -import com.microsoft.azure.keyvault.models.DeletedStorageAccountItem; -import com.microsoft.azure.keyvault.models.DeletedStorageBundle; -import com.microsoft.azure.keyvault.models.IssuerAttributes; -import com.microsoft.azure.keyvault.models.IssuerBundle; -import com.microsoft.azure.keyvault.models.IssuerCredentials; -import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.models.KeyBundle; -import com.microsoft.azure.keyvault.models.KeyItem; -import com.microsoft.azure.keyvault.models.KeyOperationResult; -import com.microsoft.azure.keyvault.models.KeyVaultErrorException; -import com.microsoft.azure.keyvault.models.KeyVerifyResult; -import com.microsoft.azure.keyvault.models.OrganizationDetails; -import com.microsoft.azure.keyvault.models.SasDefinitionAttributes; -import com.microsoft.azure.keyvault.models.SasDefinitionBundle; -import com.microsoft.azure.keyvault.models.SasDefinitionItem; -import com.microsoft.azure.keyvault.models.SasTokenType; -import com.microsoft.azure.keyvault.models.SecretAttributes; -import com.microsoft.azure.keyvault.models.SecretBundle; -import com.microsoft.azure.keyvault.models.SecretItem; -import com.microsoft.azure.keyvault.models.StorageAccountAttributes; -import com.microsoft.azure.keyvault.models.StorageAccountItem; -import com.microsoft.azure.keyvault.models.StorageBundle; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.microsoft.rest.RestClient; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceFuture; -import com.microsoft.rest.ServiceResponse; - -import rx.Observable; - -/** - * The interface for KeyVaultClientBase class. - */ -public interface KeyVaultClientBase { - /** - * Gets the REST client. - * - * @return the {@link RestClient} object. - */ - RestClient restClient(); - - /** - * Gets the {@link AzureClient} used for long running operations. - * @return the azure client; - */ - AzureClient getAzureClient(); - - /** - * Gets the User-Agent header for the client. - * - * @return the user agent string. - */ - String userAgent(); - - /** - * Gets Client API version.. - * - * @return the apiVersion value. - */ - String apiVersion(); - - /** - * Gets Gets or sets the preferred language for the response.. - * - * @return the acceptLanguage value. - */ - String acceptLanguage(); - - /** - * Sets Gets or sets the preferred language for the response.. - * - * @param acceptLanguage the acceptLanguage value. - * @return the service client itself - */ - KeyVaultClientBase withAcceptLanguage(String acceptLanguage); - - /** - * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. - * - * @return the longRunningOperationRetryTimeout value. - */ - int longRunningOperationRetryTimeout(); - - /** - * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. - * - * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. - * @return the service client itself - */ - KeyVaultClientBase withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout); - - /** - * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. - * - * @return the generateClientRequestId value. - */ - 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.. - * - * @param generateClientRequestId the generateClientRequestId value. - * @return the service client itself - */ - KeyVaultClientBase withGenerateClientRequestId(boolean generateClientRequestId); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedKeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - PagedList getKeyVersions(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable> getKeyVersionsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - PagedList getKeys(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getKeysAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable> getKeysAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable>> getKeysWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - PagedList getKeys(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable> getKeysAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupKeyResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupKeyResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupKeyResult object - */ - Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable> encryptWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyVerifyResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyVerifyResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyVerifyResult object - */ - Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable> wrapKeyWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedKeyItem> object if successful. - */ - PagedList getDeletedKeys(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - Observable> getDeletedKeysAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - Observable>> getDeletedKeysWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedKeyItem> object if successful. - */ - PagedList getDeletedKeys(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - Observable> getDeletedKeysAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedKeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - Observable> getDeletedKeyWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable> purgeDeletedKeyWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - PagedList getSecrets(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable> getSecretsAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable>> getSecretsWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - PagedList getSecrets(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable> getSecretsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - PagedList getSecretVersions(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable> getSecretVersionsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSecretItem> object if successful. - */ - PagedList getDeletedSecrets(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - Observable> getDeletedSecretsAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - Observable>> getDeletedSecretsWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSecretItem> object if successful. - */ - PagedList getDeletedSecrets(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - Observable> getDeletedSecretsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - Observable> getDeletedSecretWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable> purgeDeletedSecretWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> recoverDeletedSecretWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupSecretResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture backupSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupSecretResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupSecretResult object - */ - Observable> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - Observable> restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificates(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificatesAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificatesWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedCertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Contacts object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Contacts object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - Observable> getCertificateContactsWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Contacts object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - Observable> deleteCertificateContactsWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - PagedList getCertificateIssuers(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - Observable> getCertificateIssuersAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - Observable>> getCertificateIssuersWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - PagedList getCertificateIssuers(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, final ServiceCallback serviceCallback); - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback); - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable> setCertificateIssuerWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable> getCertificateIssuerWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - Observable> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName); - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback); - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback); - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificateVersions(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificatePolicy object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - Observable> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName); - - /** - * Updates the policy for a certificate. - * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificatePolicy object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - Observable> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); - - /** - * Gets information about a certificate. - * Gets information about a specific certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback); - - /** - * Gets information about a certificate. - * Gets information about a specific certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion); - - /** - * Updates a certificate operation. - * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback); - - /** - * Updates a certificate operation. - * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested); - - /** - * Gets the creation operation of a certificate. - * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback); - - /** - * Gets the creation operation of a certificate. - * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable> getCertificateOperationWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - Observable> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupCertificateResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture backupCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupCertificateResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupCertificateResult object - */ - Observable> backupCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> restoreCertificateWithServiceResponseAsync(String vaultBaseUrl, byte[] certificateBundleBackup); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - PagedList getDeletedCertificates(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable> getDeletedCertificatesAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable>> getDeletedCertificatesWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedCertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - Observable> getDeletedCertificateWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable> purgeDeletedCertificateWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - Observable> recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<StorageAccountItem> object if successful. - */ - PagedList getStorageAccounts(final String vaultBaseUrl); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - Observable> getStorageAccountsAsync(final String vaultBaseUrl); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl); - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<StorageAccountItem> object if successful. - */ - PagedList getStorageAccounts(final String vaultBaseUrl, final Integer maxresults); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - Observable> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedStorageAccountItem> object if successful. - */ - PagedList getDeletedStorageAccounts(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - Observable> getDeletedStorageAccountsAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedStorageAccountItem> object if successful. - */ - PagedList getDeletedStorageAccounts(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedStorageBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - Observable> getDeletedStorageAccountWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - Observable> purgeDeletedStorageAccountWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> recoverDeletedStorageAccountWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupStorageResult object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupStorageResult object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupStorageResult object - */ - Observable> backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup); - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedStorageBundle object if successful. - */ - DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName); - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback); - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - Observable deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName); - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - Observable> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName); - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback); - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable getStorageAccountAsync(String vaultBaseUrl, String storageAccountName); - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, final ServiceCallback serviceCallback); - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback); - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName, final ServiceCallback serviceCallback); - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName); - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - Observable> regenerateStorageAccountKeyWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String keyName); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SasDefinitionItem> object if successful. - */ - PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback serviceCallback); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName); - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SasDefinitionItem> object if successful. - */ - PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback serviceCallback); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSasDefinitionItem> object if successful. - */ - PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSasDefinitionItem> object if successful. - */ - PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSasDefinitionBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - Observable> getDeletedSasDefinitionWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable> recoverDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSasDefinitionBundle object if successful. - */ - DeletedSasDefinitionBundle deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback); - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - Observable deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - Observable> deleteSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - - /** - * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback); - - /** - * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable> getSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, final ServiceCallback serviceCallback); - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable> 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback); - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback); - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback); - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - PagedList getKeyVersionsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable> getKeyVersionsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable>> getKeyVersionsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - PagedList getKeysNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable> getKeysNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - Observable>> getKeysNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedKeyItem> object if successful. - */ - PagedList getDeletedKeysNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - Observable> getDeletedKeysNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - Observable>> getDeletedKeysNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - PagedList getSecretsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable> getSecretsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable>> getSecretsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - PagedList getSecretVersionsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable> getSecretVersionsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - Observable>> getSecretVersionsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSecretItem> object if successful. - */ - PagedList getDeletedSecretsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - Observable> getDeletedSecretsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - Observable>> getDeletedSecretsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificatesNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificatesNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificatesNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - PagedList getCertificateIssuersNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - Observable> getCertificateIssuersNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - Observable>> getCertificateIssuersNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificateVersionsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificateVersionsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificateVersionsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - PagedList getDeletedCertificatesNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable> getDeletedCertificatesNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable>> getDeletedCertificatesNextWithServiceResponseAsync(final String nextPageLink); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<StorageAccountItem> object if successful. - */ - PagedList getStorageAccountsNext(final String nextPageLink); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - Observable> getStorageAccountsNextAsync(final String nextPageLink); - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - Observable>> getStorageAccountsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedStorageAccountItem> object if successful. - */ - PagedList getDeletedStorageAccountsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - Observable> getDeletedStorageAccountsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - Observable>> getDeletedStorageAccountsNextWithServiceResponseAsync(final String nextPageLink); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SasDefinitionItem> object if successful. - */ - PagedList getSasDefinitionsNext(final String nextPageLink); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - Observable> getSasDefinitionsNextAsync(final String nextPageLink); - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - Observable>> getSasDefinitionsNextWithServiceResponseAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSasDefinitionItem> object if successful. - */ - PagedList getDeletedSasDefinitionsNext(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - Observable> getDeletedSasDefinitionsNextAsync(final 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - Observable>> getDeletedSasDefinitionsNextWithServiceResponseAsync(final String nextPageLink); - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault; + +import java.util.List; +import java.util.Map; + +import com.microsoft.azure.AzureClient; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.keyvault.models.BackupCertificateResult; +import com.microsoft.azure.keyvault.models.BackupKeyResult; +import com.microsoft.azure.keyvault.models.BackupSecretResult; +import com.microsoft.azure.keyvault.models.BackupStorageResult; +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificateBundle; +import com.microsoft.azure.keyvault.models.CertificateIssuerItem; +import com.microsoft.azure.keyvault.models.CertificateItem; +import com.microsoft.azure.keyvault.models.CertificateOperation; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.Contacts; +import com.microsoft.azure.keyvault.models.DeletedCertificateBundle; +import com.microsoft.azure.keyvault.models.DeletedCertificateItem; +import com.microsoft.azure.keyvault.models.DeletedKeyBundle; +import com.microsoft.azure.keyvault.models.DeletedKeyItem; +import com.microsoft.azure.keyvault.models.DeletedSasDefinitionBundle; +import com.microsoft.azure.keyvault.models.DeletedSasDefinitionItem; +import com.microsoft.azure.keyvault.models.DeletedSecretBundle; +import com.microsoft.azure.keyvault.models.DeletedSecretItem; +import com.microsoft.azure.keyvault.models.DeletedStorageAccountItem; +import com.microsoft.azure.keyvault.models.DeletedStorageBundle; +import com.microsoft.azure.keyvault.models.IssuerAttributes; +import com.microsoft.azure.keyvault.models.IssuerBundle; +import com.microsoft.azure.keyvault.models.IssuerCredentials; +import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.models.KeyBundle; +import com.microsoft.azure.keyvault.models.KeyItem; +import com.microsoft.azure.keyvault.models.KeyOperationResult; +import com.microsoft.azure.keyvault.models.KeyVaultErrorException; +import com.microsoft.azure.keyvault.models.KeyVerifyResult; +import com.microsoft.azure.keyvault.models.OrganizationDetails; +import com.microsoft.azure.keyvault.models.SasDefinitionAttributes; +import com.microsoft.azure.keyvault.models.SasDefinitionBundle; +import com.microsoft.azure.keyvault.models.SasDefinitionItem; +import com.microsoft.azure.keyvault.models.SasTokenType; +import com.microsoft.azure.keyvault.models.SecretAttributes; +import com.microsoft.azure.keyvault.models.SecretBundle; +import com.microsoft.azure.keyvault.models.SecretItem; +import com.microsoft.azure.keyvault.models.StorageAccountAttributes; +import com.microsoft.azure.keyvault.models.StorageAccountItem; +import com.microsoft.azure.keyvault.models.StorageBundle; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.microsoft.rest.RestClient; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; + +import rx.Observable; + +/** + * The interface for KeyVaultClientBase class. + */ +public interface KeyVaultClientBase { + /** + * Gets the REST client. + * + * @return the {@link RestClient} object. + */ + RestClient restClient(); + + /** + * Gets the {@link AzureClient} used for long running operations. + * @return the azure client; + */ + AzureClient getAzureClient(); + + /** + * Gets the User-Agent header for the client. + * + * @return the user agent string. + */ + String userAgent(); + + /** + * Gets Client API version.. + * + * @return the apiVersion value. + */ + String apiVersion(); + + /** + * Gets Gets or sets the preferred language for the response.. + * + * @return the acceptLanguage value. + */ + String acceptLanguage(); + + /** + * Sets Gets or sets the preferred language for the response.. + * + * @param acceptLanguage the acceptLanguage value. + * @return the service client itself + */ + KeyVaultClientBase withAcceptLanguage(String acceptLanguage); + + /** + * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. + * + * @return the longRunningOperationRetryTimeout value. + */ + int longRunningOperationRetryTimeout(); + + /** + * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.. + * + * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. + * @return the service client itself + */ + KeyVaultClientBase withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout); + + /** + * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. + * + * @return the generateClientRequestId value. + */ + 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.. + * + * @param generateClientRequestId the generateClientRequestId value. + * @return the service client itself + */ + KeyVaultClientBase withGenerateClientRequestId(boolean generateClientRequestId); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedKeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + PagedList getKeyVersions(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable> getKeyVersionsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + PagedList getKeys(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getKeysAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable> getKeysAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable>> getKeysWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + PagedList getKeys(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable> getKeysAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupKeyResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupKeyResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupKeyResult object + */ + Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable> encryptWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyVerifyResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyVerifyResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyVerifyResult object + */ + Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable> wrapKeyWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedKeyItem> object if successful. + */ + PagedList getDeletedKeys(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + Observable> getDeletedKeysAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + Observable>> getDeletedKeysWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedKeyItem> object if successful. + */ + PagedList getDeletedKeys(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + Observable> getDeletedKeysAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedKeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + Observable> getDeletedKeyWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable> purgeDeletedKeyWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + PagedList getSecrets(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable> getSecretsAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable>> getSecretsWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + PagedList getSecrets(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable> getSecretsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + PagedList getSecretVersions(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable> getSecretVersionsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSecretItem> object if successful. + */ + PagedList getDeletedSecrets(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + Observable> getDeletedSecretsAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + Observable>> getDeletedSecretsWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSecretItem> object if successful. + */ + PagedList getDeletedSecrets(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + Observable> getDeletedSecretsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + Observable> getDeletedSecretWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable> purgeDeletedSecretWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> recoverDeletedSecretWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupSecretResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture backupSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupSecretResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupSecretResult object + */ + Observable> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + Observable> restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificates(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificatesAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificatesWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedCertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the Contacts object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the Contacts object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + Observable> getCertificateContactsWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the Contacts object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + Observable> deleteCertificateContactsWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + PagedList getCertificateIssuers(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + Observable> getCertificateIssuersAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + Observable>> getCertificateIssuersWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + PagedList getCertificateIssuers(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, final ServiceCallback serviceCallback); + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback); + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable> setCertificateIssuerWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable> getCertificateIssuerWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + Observable> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName); + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback); + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback); + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificateVersions(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificatePolicy object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + Observable> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName); + + /** + * Updates the policy for a certificate. + * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificatePolicy object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + Observable> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags); + + /** + * Gets information about a certificate. + * Gets information about a specific certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback); + + /** + * Gets information about a certificate. + * Gets information about a specific certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion); + + /** + * Updates a certificate operation. + * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback); + + /** + * Updates a certificate operation. + * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested); + + /** + * Gets the creation operation of a certificate. + * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback); + + /** + * Gets the creation operation of a certificate. + * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable> getCertificateOperationWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + Observable> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupCertificateResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture backupCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupCertificateResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupCertificateResult object + */ + Observable> backupCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> restoreCertificateWithServiceResponseAsync(String vaultBaseUrl, byte[] certificateBundleBackup); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + PagedList getDeletedCertificates(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable> getDeletedCertificatesAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable>> getDeletedCertificatesWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedCertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + Observable> getDeletedCertificateWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable> purgeDeletedCertificateWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + Observable> recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<StorageAccountItem> object if successful. + */ + PagedList getStorageAccounts(final String vaultBaseUrl); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + Observable> getStorageAccountsAsync(final String vaultBaseUrl); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl); + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<StorageAccountItem> object if successful. + */ + PagedList getStorageAccounts(final String vaultBaseUrl, final Integer maxresults); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + Observable> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedStorageAccountItem> object if successful. + */ + PagedList getDeletedStorageAccounts(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + Observable> getDeletedStorageAccountsAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedStorageAccountItem> object if successful. + */ + PagedList getDeletedStorageAccounts(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedStorageBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + Observable> getDeletedStorageAccountWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + Observable> purgeDeletedStorageAccountWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> recoverDeletedStorageAccountWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupStorageResult object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupStorageResult object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupStorageResult object + */ + Observable> backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup); + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedStorageBundle object if successful. + */ + DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName); + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback); + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + Observable deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName); + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + Observable> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName); + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback); + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable getStorageAccountAsync(String vaultBaseUrl, String storageAccountName); + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, final ServiceCallback serviceCallback); + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback); + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName); + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags); + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName, final ServiceCallback serviceCallback); + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName); + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + Observable> regenerateStorageAccountKeyWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String keyName); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SasDefinitionItem> object if successful. + */ + PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback serviceCallback); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName); + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SasDefinitionItem> object if successful. + */ + PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback serviceCallback); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSasDefinitionItem> object if successful. + */ + PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSasDefinitionItem> object if successful. + */ + PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSasDefinitionBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + Observable> getDeletedSasDefinitionWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable> recoverDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSasDefinitionBundle object if successful. + */ + DeletedSasDefinitionBundle deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback); + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + Observable deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + Observable> deleteSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + + /** + * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback); + + /** + * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable> getSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, final ServiceCallback serviceCallback); + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable> 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback); + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback); + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName); + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback); + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags); + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + PagedList getKeyVersionsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable> getKeyVersionsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable>> getKeyVersionsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + PagedList getKeysNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable> getKeysNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + Observable>> getKeysNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedKeyItem> object if successful. + */ + PagedList getDeletedKeysNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + Observable> getDeletedKeysNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + Observable>> getDeletedKeysNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + PagedList getSecretsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable> getSecretsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable>> getSecretsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + PagedList getSecretVersionsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable> getSecretVersionsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + Observable>> getSecretVersionsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSecretItem> object if successful. + */ + PagedList getDeletedSecretsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + Observable> getDeletedSecretsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + Observable>> getDeletedSecretsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificatesNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificatesNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificatesNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + PagedList getCertificateIssuersNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + Observable> getCertificateIssuersNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + Observable>> getCertificateIssuersNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificateVersionsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificateVersionsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificateVersionsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + PagedList getDeletedCertificatesNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable> getDeletedCertificatesNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable>> getDeletedCertificatesNextWithServiceResponseAsync(final String nextPageLink); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<StorageAccountItem> object if successful. + */ + PagedList getStorageAccountsNext(final String nextPageLink); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + Observable> getStorageAccountsNextAsync(final String nextPageLink); + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + Observable>> getStorageAccountsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedStorageAccountItem> object if successful. + */ + PagedList getDeletedStorageAccountsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + Observable> getDeletedStorageAccountsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + Observable>> getDeletedStorageAccountsNextWithServiceResponseAsync(final String nextPageLink); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SasDefinitionItem> object if successful. + */ + PagedList getSasDefinitionsNext(final String nextPageLink); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + Observable> getSasDefinitionsNextAsync(final String nextPageLink); + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + Observable>> getSasDefinitionsNextWithServiceResponseAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSasDefinitionItem> object if successful. + */ + PagedList getDeletedSasDefinitionsNext(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + Observable> getDeletedSasDefinitionsNextAsync(final 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + Observable>> getDeletedSasDefinitionsNextWithServiceResponseAsync(final String nextPageLink); + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientCustom.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientCustom.java index 109f36d026c2a..19b92209576bb 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientCustom.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientCustom.java @@ -1,1496 +1,1496 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -import java.util.List; -import java.util.Map; - -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.Page; -import com.microsoft.azure.PagedList; -import com.microsoft.azure.keyvault.models.CertificateBundle; -import com.microsoft.azure.keyvault.models.CertificateIssuerItem; -import com.microsoft.azure.keyvault.models.CertificateItem; -import com.microsoft.azure.keyvault.models.CertificateOperation; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.DeletedCertificateItem; -import com.microsoft.azure.keyvault.models.IssuerBundle; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.models.KeyBundle; -import com.microsoft.azure.keyvault.models.KeyItem; -import com.microsoft.azure.keyvault.models.KeyOperationResult; -import com.microsoft.azure.keyvault.models.KeyVaultErrorException; -import com.microsoft.azure.keyvault.models.KeyVerifyResult; -import com.microsoft.azure.keyvault.models.SecretBundle; -import com.microsoft.azure.keyvault.models.SecretItem; -import com.microsoft.azure.keyvault.requests.CreateCertificateRequest; -import com.microsoft.azure.keyvault.requests.CreateKeyRequest; -import com.microsoft.azure.keyvault.requests.ImportCertificateRequest; -import com.microsoft.azure.keyvault.requests.ImportKeyRequest; -import com.microsoft.azure.keyvault.requests.MergeCertificateRequest; -import com.microsoft.azure.keyvault.requests.SetCertificateIssuerRequest; -import com.microsoft.azure.keyvault.requests.SetSecretRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificateIssuerRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificateOperationRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificatePolicyRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificateRequest; -import com.microsoft.azure.keyvault.requests.UpdateKeyRequest; -import com.microsoft.azure.keyvault.requests.UpdateSecretRequest; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.microsoft.rest.RestClient; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceFuture; -import com.microsoft.rest.ServiceResponse; -import com.microsoft.rest.protocol.SerializerAdapter; - -import okhttp3.OkHttpClient; -import retrofit2.Retrofit; -import rx.Observable; - -/** - * The interface for the Key Vault Client custom class. Maintains some backwards - * compatibility functionalities. - * - */ -public interface KeyVaultClientCustom extends KeyVaultClientBase { - - /** - * @return the Retrofit instance. - */ - Retrofit retrofit(); - - /** - * @return the HTTP client. - */ - OkHttpClient httpClient(); - - /** - * @return the adapter to a Jackson - * {@link com.fasterxml.jackson.databind.ObjectMapper}. - */ - SerializerAdapter serializerAdapter(); - - /** - * Initializes the service. - */ - void initializeService(); - - /** - * @return the {@link RestClient} instance. - */ - RestClient restClient(); - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param createKeyRequest - * the grouped properties for creating a key request - * @return the KeyBundle if successful. - */ - KeyBundle createKey(CreateKeyRequest createKeyRequest); - - /** - * 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param keyName - * The name for the new key. The system will generate the version - * name for the new key. - * @param kty - * The type of key to create. For valid key types, see - * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic - * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', - * 'RSA-HSM', 'oct' - * @param keySize - * The key size in bytes. For example, 1024 or 2048. - * @param keyOps - * the List<JsonWebKeyOperation> value - * @param keyAttributes - * the KeyAttributes value - * @param tags - * Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @throws KeyVaultErrorException - * thrown if the request is rejected by server - * @throws RuntimeException - * all other wrapped checked exceptions if the request fails to be - * sent - * @return the KeyBundle object if successful. - */ - KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, - List keyOps, KeyAttributes keyAttributes, Map tags); - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param createKeyRequest - * the grouped properties for creating a key request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture createKeyAsync(CreateKeyRequest createKeyRequest, - ServiceCallback 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param keyName - * The name for the new key. The system will generate the version - * name for the new key. - * @param kty - * The type of key to create. For valid key types, see - * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic - * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', - * 'RSA-HSM', 'oct' - * @param keySize - * The key size in bytes. For example, 1024 or 2048. - * @param keyOps - * the List<JsonWebKeyOperation> value - * @param keyAttributes - * the KeyAttributes value - * @param tags - * Application specific metadata in the form of key-value pairs. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, - List keyOps, KeyAttributes keyAttributes, Map tags, - final ServiceCallback 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param keyName - * The name for the new key. The system will generate the version - * name for the new key. - * @param kty - * The type of key to create. For valid key types, see - * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic - * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', - * 'RSA-HSM', 'oct' - * @param keySize - * The key size in bytes. For example, 1024 or 2048. - * @param keyOps - * the List<JsonWebKeyOperation> value - * @param keyAttributes - * the KeyAttributes value - * @param tags - * Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, - List keyOps, KeyAttributes keyAttributes, Map tags); - - /** - * 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param keyName - * The name for the new key. The system will generate the version - * name for the new key. - * @param kty - * The type of key to create. For valid key types, see - * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic - * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', - * 'RSA-HSM', 'oct' - * @param keySize - * The key size in bytes. For example, 1024 or 2048. - * @param keyOps - * the List<JsonWebKeyOperation> value - * @param keyAttributes - * the KeyAttributes value - * @param tags - * Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, - JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, - Map 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. Authorization: requires the - * keys/import permission. - * - * @param importKeyRequest - * the grouped properties for importing a key request - * - * @return the KeyBundle if successful. - */ - KeyBundle importKey(ImportKeyRequest importKeyRequest); - - /** - * 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. Authorization: requires the - * keys/import permission. - * - * @param importKeyRequest - * the grouped properties for importing a key request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture importKeyAsync(ImportKeyRequest importKeyRequest, - final ServiceCallback 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. The - * cryptographic material of a key itself cannot be changed. In order to perform - * this operation, the key must already exist in the Key Vault. Authorization: - * requires the keys/update permission. - * - * @param updateKeyRequest - * the grouped properties for updating a key request - * - * @return the KeyBundle if successful. - */ - KeyBundle updateKey(UpdateKeyRequest updateKeyRequest); - - /** - * 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. The - * cryptographic material of a key itself cannot be changed. In order to perform - * this operation, the key must already exist in the Key Vault. Authorization: - * requires the keys/update permission. - * - * @param updateKeyRequest - * the grouped properties for updating a key request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateKeyAsync(UpdateKeyRequest updateKeyRequest, - final ServiceCallback serviceCallback); - - /** - * Gets the 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. Authorization: Requires the keys/get permission. - * - * @param keyIdentifier - * The full key identifier - * - * @return the KeyBundle if successful. - */ - KeyBundle getKey(String keyIdentifier); - - /** - * Gets the 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. Authorization: Requires the keys/get permission. - * - * @param keyIdentifier - * The full key identifier - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture getKeyAsync(String keyIdentifier, final ServiceCallback serviceCallback); - - /** - * Gets the 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @return the KeyBundle if successful. - */ - KeyBundle getKey(String vaultBaseUrl, String keyName); - - /** - * Gets the 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, - final ServiceCallback 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * - * @return the PagedList<KeyItem> if successful. - */ - PagedList listKeyVersions(final String vaultBaseUrl, final 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, - final ListOperationCallback 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<KeyItem> if successful. - */ - PagedList listKeyVersions(final String vaultBaseUrl, final String keyName, final 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, - final Integer maxresults, final ListOperationCallback serviceCallback); - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * - * @return the PagedList<KeyItem> if successful. - */ - PagedList listKeys(final String vaultBaseUrl); - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listKeysAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback); - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<KeyItem> if successful. - */ - PagedList listKeys(final String vaultBaseUrl, final Integer maxresults); - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listKeysAsync(final String vaultBaseUrl, final Integer maxresults, - final ListOperationCallback serviceCallback); - - /** - * Wraps a symmetric key using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be wrapped - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback); - - /** - * Unwraps a symmetric key using the specified key in the vault that has - * initially been used for wrapping the key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be unwrapped - * - * @return the KeyOperationResult if successful. - */ - KeyOperationResult unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); - - /** - * Unwraps a symmetric key using the specified key in the vault that has - * initially been used for wrapping the key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be unwrapped - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture unwrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback); - - /** - * Wraps a symmetric key using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be wrapped - * - * @return the KeyOperationResult if successful. - */ - KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is - * stored in a key vault. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be encrypted - * - * @return the KeyOperationResult if successful. - */ - KeyOperationResult encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is - * stored in a key vault. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be encrypted - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback); - - /** - * Decrypts a single block of encrypted data. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be decrypted - * - * @return the KeyOperationResult if successful. - */ - KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); - - /** - * Decrypts a single block of encrypted data. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be decrypted - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback); - - /** - * Creates a signature from a digest using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be signed - * - * @return the KeyOperationResult if successful. - */ - KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value); - - /** - * Creates a signature from a digest using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be signed - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback); - - /** - * Verifies a signature using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * The signing/verification algorithm. For more information on - * possible algorithm types, see JsonWebKeySignatureAlgorithm. - * @param digest - * The digest used for signing - * @param signature - * The signature to be verified - * - * @return the KeyVerifyResult if successful. - */ - KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, - byte[] signature); - - /** - * Verifies a signature using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * The signing/verification algorithm. For more information on - * possible algorithm types, see JsonWebKeySignatureAlgorithm. - * @param digest - * The digest used for signing - * @param signature - * The signature to be verified - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, - byte[] digest, byte[] signature, final ServiceCallback serviceCallback); - - /** - * Sets a secret in the specified vault. - * - * @param setSecretRequest - * the grouped properties for setting a secret request - * - * @return the SecretBundle if successful. - */ - SecretBundle setSecret(SetSecretRequest setSecretRequest); - - /** - * Sets a secret in the specified vault. - * - * @param setSecretRequest - * the grouped properties for setting a secret request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture setSecretAsync(SetSecretRequest setSecretRequest, - final ServiceCallback serviceCallback); - - /** - * Updates the attributes associated with a specified secret in a given key - * vault. - * - * @param updateSecretRequest - * the grouped properties for updating a secret request - * - * @return the SecretBundle if successful. - */ - SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest); - - /** - * Updates the attributes associated with a specified secret in a given key - * vault. - * - * @param updateSecretRequest - * the grouped properties for updating a secret request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateSecretAsync(UpdateSecretRequest updateSecretRequest, - final ServiceCallback serviceCallback); - - /** - * Get a specified secret from a given key vault. - * - * @param secretIdentifier - * The URL for the secret. - * - * @return the SecretBundle if successful. - */ - SecretBundle getSecret(String secretIdentifier); - - /** - * Get a specified secret from a given key vault. - * - * @param secretIdentifier - * The URL for the secret. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture getSecretAsync(String secretIdentifier, - final ServiceCallback serviceCallback); - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * - * @return the SecretBundle if successful. - */ - SecretBundle getSecret(String vaultBaseUrl, String secretName); - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - - ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, - final ServiceCallback serviceCallback); - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * - * @return the PagedList<SecretItem> if successful. - */ - PagedList listSecrets(final String vaultBaseUrl); - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listSecretsAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback); - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<SecretItem> if successful. - */ - PagedList listSecrets(final String vaultBaseUrl, final Integer maxresults); - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listSecretsAsync(final String vaultBaseUrl, final Integer maxresults, - final ListOperationCallback serviceCallback); - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * - * @return the PagedList<SecretItem> if successful. - */ - PagedList listSecretVersions(final String vaultBaseUrl, final String secretName); - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, - final ListOperationCallback serviceCallback); - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<SecretItem> if successful. - */ - PagedList listSecretVersions(final String vaultBaseUrl, final String secretName, - final Integer maxresults); - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, - final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @throws KeyVaultErrorException - * thrown if the request is rejected by server - * @throws RuntimeException - * all other wrapped checked exceptions if the request fails to be - * sent - * @return the PagedList<CertificateItem> object if successful. - */ - PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, - final ListOperationCallback 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - Observable>> getCertificatesWithServiceResponseAsync( - final String vaultBaseUrl, final Integer maxresults); - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * - * @return the PagedList<CertificateItem> if successful. - */ - PagedList listCertificates(final String vaultBaseUrl); - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback); - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<CertificateItem> if successful. - */ - PagedList listCertificates(final String vaultBaseUrl, final Integer maxresults); - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, - final ListOperationCallback serviceCallback); - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * - * @return the PagedList<CertificateIssuerItem> if successful. - */ - PagedList listCertificateIssuers(final String vaultBaseUrl); - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback); - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<CertificateIssuerItem> if successful. - */ - PagedList listCertificateIssuers(final String vaultBaseUrl, final Integer maxresults); - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, - final Integer maxresults, final ListOperationCallback serviceCallback); - - /** - * Sets the certificate contacts for the specified vault. - * - * @param setCertificateIssuerRequest - * the grouped properties for setting a certificate issuer request - * - * @return the IssuerBundle if successful. - */ - IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest); - - /** - * Sets the certificate contacts for the specified vault. - * - * @param setCertificateIssuerRequest - * the grouped properties for setting a certificate issuer request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest, - final ServiceCallback serviceCallback); - - /** - * Updates the specified certificate issuer. - * - * @param updateCertificateIssuerRequest - * the grouped properties for updating a certificate issuer request - * - * @return the IssuerBundle if successful. - */ - IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest); - - /** - * Updates the specified certificate issuer. - * - * @param updateCertificateIssuerRequest - * the grouped properties for updating a certificate issuer request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @throws IllegalArgumentException - * thrown if callback is null - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateIssuerAsync( - UpdateCertificateIssuerRequest updateCertificateIssuerRequest, - final ServiceCallback serviceCallback); - - /** - * Creates a new certificate version. If this is the first version, the - * certificate resource is created. - * - * @param createCertificateRequest - * the grouped properties for creating a certificate request - * - * @return the CertificateOperation if successful. - */ - CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest); - - /** - * Creates a new certificate version. If this is the first version, the - * certificate resource is created. - * - * @param createCertificateRequest - * the grouped properties for creating a certificate request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture createCertificateAsync(CreateCertificateRequest createCertificateRequest, - final ServiceCallback serviceCallback); - - /** - * Imports a certificate into the specified vault. - * - * @param importCertificateRequest - * the grouped properties for importing a certificate request - * - * @return the CertificateBundle if successful. - */ - CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest); - - /** - * Imports a certificate into the specified vault. - * - * @param importCertificateRequest - * the grouped properties for importing a certificate request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture importCertificateAsync(ImportCertificateRequest importCertificateRequest, - final ServiceCallback serviceCallback); - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * - * @return the PagedList<CertificateItem> if successful. - */ - PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName); - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, - final String certificateName, final ListOperationCallback serviceCallback); - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * - * @return the PagedList<CertificateItem> if successful. - */ - PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName, - final Integer maxresults); - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, - final String certificateName, final Integer maxresults, - final ListOperationCallback serviceCallback); - - /** - * Updates the policy for a certificate. Set appropriate members in the - * certificatePolicy that must be updated. Leave others as null. - * - * @param updateCertificatePolicyRequest - * the grouped properties for updating a certificate policy request - * - * @return the CertificatePolicy if successful. - */ - CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest); - - /** - * Updates the policy for a certificate. Set appropriate members in the - * certificatePolicy that must be updated. Leave others as null. - * - * @param updateCertificatePolicyRequest - * the grouped properties for updating a certificate policy request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificatePolicyAsync( - UpdateCertificatePolicyRequest updateCertificatePolicyRequest, - final ServiceCallback serviceCallback); - - /** - * Updates the attributes associated with the specified certificate. - * - * @param updateCertificateRequest - * the grouped properties for updating a certificate request - * - * @return the CertificateBundle if successful. - */ - CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest); - - /** - * Updates the attributes associated with the specified certificate. - * - * @param updateCertificateRequest - * the grouped properties for updating a certificate request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, - final ServiceCallback serviceCallback); - - /** - * Gets information about a specified certificate. - * - * @param certificateIdentifier - * The certificate identifier - * - * @return the CertificateBundle if successful. - */ - CertificateBundle getCertificate(String certificateIdentifier); - - /** - * Gets information about a specified certificate. - * - * @param certificateIdentifier - * The certificate identifier - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture getCertificateAsync(String certificateIdentifier, - final ServiceCallback serviceCallback); - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate in the given vault - * - * @return the CertificateBundle if successful. - */ - CertificateBundle getCertificate(String vaultBaseUrl, String certificateName); - - /** - * Updates a certificate operation. - * - * @param updateCertificateOperationRequest - * the grouped properties for updating a certificate operation - * request - * - * @return the CertificateOperation if successful. - */ - CertificateOperation updateCertificateOperation( - UpdateCertificateOperationRequest updateCertificateOperationRequest); - - /** - * Updates a certificate operation. - * - * @param updateCertificateOperationRequest - * the grouped properties for updating a certificate operation - * request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture updateCertificateOperationAsync( - UpdateCertificateOperationRequest updateCertificateOperationRequest, - final ServiceCallback serviceCallback); - - /** - * Merges a certificate or a certificate chain with a key pair existing on the - * server. - * - * @param mergeCertificateRequest - * the grouped properties for merging a certificate request - * - * @return the CertificateBundle if successful. - */ - CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest); - - /** - * Merges a certificate or a certificate chain with a key pair existing on the - * server. - * - * @param mergeCertificateRequest - * the grouped properties for merging a certificate request - * - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, - final ServiceCallback serviceCallback); - - /** - * Gets the pending certificate signing request response. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * - * @return the String if successful. - */ - String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName); - - /** - * Gets the pending certificate signing request response. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - ServiceFuture getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, - final ServiceCallback 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @throws KeyVaultErrorException - * thrown if the request is rejected by server - * @throws RuntimeException - * all other wrapped checked exceptions if the request fails to be - * sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, - final Integer maxresults, final ListOperationCallback 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, - final Integer maxresults); - - /** - * 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. - * - * @param vaultBaseUrl - * The vault name, for example https://myvault.vault.azure.net. - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @throws IllegalArgumentException - * thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - Observable>> getDeletedCertificatesWithServiceResponseAsync( - final String vaultBaseUrl, final Integer maxresults); - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +import java.util.List; +import java.util.Map; + +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.keyvault.models.CertificateBundle; +import com.microsoft.azure.keyvault.models.CertificateIssuerItem; +import com.microsoft.azure.keyvault.models.CertificateItem; +import com.microsoft.azure.keyvault.models.CertificateOperation; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.DeletedCertificateItem; +import com.microsoft.azure.keyvault.models.IssuerBundle; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.models.KeyBundle; +import com.microsoft.azure.keyvault.models.KeyItem; +import com.microsoft.azure.keyvault.models.KeyOperationResult; +import com.microsoft.azure.keyvault.models.KeyVaultErrorException; +import com.microsoft.azure.keyvault.models.KeyVerifyResult; +import com.microsoft.azure.keyvault.models.SecretBundle; +import com.microsoft.azure.keyvault.models.SecretItem; +import com.microsoft.azure.keyvault.requests.CreateCertificateRequest; +import com.microsoft.azure.keyvault.requests.CreateKeyRequest; +import com.microsoft.azure.keyvault.requests.ImportCertificateRequest; +import com.microsoft.azure.keyvault.requests.ImportKeyRequest; +import com.microsoft.azure.keyvault.requests.MergeCertificateRequest; +import com.microsoft.azure.keyvault.requests.SetCertificateIssuerRequest; +import com.microsoft.azure.keyvault.requests.SetSecretRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificateIssuerRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificateOperationRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificatePolicyRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificateRequest; +import com.microsoft.azure.keyvault.requests.UpdateKeyRequest; +import com.microsoft.azure.keyvault.requests.UpdateSecretRequest; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.microsoft.rest.RestClient; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.protocol.SerializerAdapter; + +import okhttp3.OkHttpClient; +import retrofit2.Retrofit; +import rx.Observable; + +/** + * The interface for the Key Vault Client custom class. Maintains some backwards + * compatibility functionalities. + * + */ +public interface KeyVaultClientCustom extends KeyVaultClientBase { + + /** + * @return the Retrofit instance. + */ + Retrofit retrofit(); + + /** + * @return the HTTP client. + */ + OkHttpClient httpClient(); + + /** + * @return the adapter to a Jackson + * {@link com.fasterxml.jackson.databind.ObjectMapper}. + */ + SerializerAdapter serializerAdapter(); + + /** + * Initializes the service. + */ + void initializeService(); + + /** + * @return the {@link RestClient} instance. + */ + RestClient restClient(); + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param createKeyRequest + * the grouped properties for creating a key request + * @return the KeyBundle if successful. + */ + KeyBundle createKey(CreateKeyRequest createKeyRequest); + + /** + * 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param keyName + * The name for the new key. The system will generate the version + * name for the new key. + * @param kty + * The type of key to create. For valid key types, see + * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic + * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', + * 'RSA-HSM', 'oct' + * @param keySize + * The key size in bytes. For example, 1024 or 2048. + * @param keyOps + * the List<JsonWebKeyOperation> value + * @param keyAttributes + * the KeyAttributes value + * @param tags + * Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @throws KeyVaultErrorException + * thrown if the request is rejected by server + * @throws RuntimeException + * all other wrapped checked exceptions if the request fails to be + * sent + * @return the KeyBundle object if successful. + */ + KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, + List keyOps, KeyAttributes keyAttributes, Map tags); + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param createKeyRequest + * the grouped properties for creating a key request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture createKeyAsync(CreateKeyRequest createKeyRequest, + ServiceCallback 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param keyName + * The name for the new key. The system will generate the version + * name for the new key. + * @param kty + * The type of key to create. For valid key types, see + * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic + * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', + * 'RSA-HSM', 'oct' + * @param keySize + * The key size in bytes. For example, 1024 or 2048. + * @param keyOps + * the List<JsonWebKeyOperation> value + * @param keyAttributes + * the KeyAttributes value + * @param tags + * Application specific metadata in the form of key-value pairs. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, + List keyOps, KeyAttributes keyAttributes, Map tags, + final ServiceCallback 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param keyName + * The name for the new key. The system will generate the version + * name for the new key. + * @param kty + * The type of key to create. For valid key types, see + * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic + * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', + * 'RSA-HSM', 'oct' + * @param keySize + * The key size in bytes. For example, 1024 or 2048. + * @param keyOps + * the List<JsonWebKeyOperation> value + * @param keyAttributes + * the KeyAttributes value + * @param tags + * Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, + List keyOps, KeyAttributes keyAttributes, Map tags); + + /** + * 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param keyName + * The name for the new key. The system will generate the version + * name for the new key. + * @param kty + * The type of key to create. For valid key types, see + * JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic + * Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', + * 'RSA-HSM', 'oct' + * @param keySize + * The key size in bytes. For example, 1024 or 2048. + * @param keyOps + * the List<JsonWebKeyOperation> value + * @param keyAttributes + * the KeyAttributes value + * @param tags + * Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, + JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, + Map 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. Authorization: requires the + * keys/import permission. + * + * @param importKeyRequest + * the grouped properties for importing a key request + * + * @return the KeyBundle if successful. + */ + KeyBundle importKey(ImportKeyRequest importKeyRequest); + + /** + * 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. Authorization: requires the + * keys/import permission. + * + * @param importKeyRequest + * the grouped properties for importing a key request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture importKeyAsync(ImportKeyRequest importKeyRequest, + final ServiceCallback 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. The + * cryptographic material of a key itself cannot be changed. In order to perform + * this operation, the key must already exist in the Key Vault. Authorization: + * requires the keys/update permission. + * + * @param updateKeyRequest + * the grouped properties for updating a key request + * + * @return the KeyBundle if successful. + */ + KeyBundle updateKey(UpdateKeyRequest updateKeyRequest); + + /** + * 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. The + * cryptographic material of a key itself cannot be changed. In order to perform + * this operation, the key must already exist in the Key Vault. Authorization: + * requires the keys/update permission. + * + * @param updateKeyRequest + * the grouped properties for updating a key request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateKeyAsync(UpdateKeyRequest updateKeyRequest, + final ServiceCallback serviceCallback); + + /** + * Gets the 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. Authorization: Requires the keys/get permission. + * + * @param keyIdentifier + * The full key identifier + * + * @return the KeyBundle if successful. + */ + KeyBundle getKey(String keyIdentifier); + + /** + * Gets the 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. Authorization: Requires the keys/get permission. + * + * @param keyIdentifier + * The full key identifier + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture getKeyAsync(String keyIdentifier, final ServiceCallback serviceCallback); + + /** + * Gets the 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @return the KeyBundle if successful. + */ + KeyBundle getKey(String vaultBaseUrl, String keyName); + + /** + * Gets the 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, + final ServiceCallback 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * + * @return the PagedList<KeyItem> if successful. + */ + PagedList listKeyVersions(final String vaultBaseUrl, final 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, + final ListOperationCallback 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<KeyItem> if successful. + */ + PagedList listKeyVersions(final String vaultBaseUrl, final String keyName, final 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, + final Integer maxresults, final ListOperationCallback serviceCallback); + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * + * @return the PagedList<KeyItem> if successful. + */ + PagedList listKeys(final String vaultBaseUrl); + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listKeysAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback); + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<KeyItem> if successful. + */ + PagedList listKeys(final String vaultBaseUrl, final Integer maxresults); + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listKeysAsync(final String vaultBaseUrl, final Integer maxresults, + final ListOperationCallback serviceCallback); + + /** + * Wraps a symmetric key using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be wrapped + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback); + + /** + * Unwraps a symmetric key using the specified key in the vault that has + * initially been used for wrapping the key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be unwrapped + * + * @return the KeyOperationResult if successful. + */ + KeyOperationResult unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); + + /** + * Unwraps a symmetric key using the specified key in the vault that has + * initially been used for wrapping the key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be unwrapped + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture unwrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback); + + /** + * Wraps a symmetric key using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be wrapped + * + * @return the KeyOperationResult if successful. + */ + KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is + * stored in a key vault. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be encrypted + * + * @return the KeyOperationResult if successful. + */ + KeyOperationResult encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is + * stored in a key vault. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be encrypted + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback); + + /** + * Decrypts a single block of encrypted data. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be decrypted + * + * @return the KeyOperationResult if successful. + */ + KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value); + + /** + * Decrypts a single block of encrypted data. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be decrypted + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback); + + /** + * Creates a signature from a digest using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be signed + * + * @return the KeyOperationResult if successful. + */ + KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value); + + /** + * Creates a signature from a digest using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be signed + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback); + + /** + * Verifies a signature using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * The signing/verification algorithm. For more information on + * possible algorithm types, see JsonWebKeySignatureAlgorithm. + * @param digest + * The digest used for signing + * @param signature + * The signature to be verified + * + * @return the KeyVerifyResult if successful. + */ + KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, + byte[] signature); + + /** + * Verifies a signature using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * The signing/verification algorithm. For more information on + * possible algorithm types, see JsonWebKeySignatureAlgorithm. + * @param digest + * The digest used for signing + * @param signature + * The signature to be verified + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, + byte[] digest, byte[] signature, final ServiceCallback serviceCallback); + + /** + * Sets a secret in the specified vault. + * + * @param setSecretRequest + * the grouped properties for setting a secret request + * + * @return the SecretBundle if successful. + */ + SecretBundle setSecret(SetSecretRequest setSecretRequest); + + /** + * Sets a secret in the specified vault. + * + * @param setSecretRequest + * the grouped properties for setting a secret request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture setSecretAsync(SetSecretRequest setSecretRequest, + final ServiceCallback serviceCallback); + + /** + * Updates the attributes associated with a specified secret in a given key + * vault. + * + * @param updateSecretRequest + * the grouped properties for updating a secret request + * + * @return the SecretBundle if successful. + */ + SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest); + + /** + * Updates the attributes associated with a specified secret in a given key + * vault. + * + * @param updateSecretRequest + * the grouped properties for updating a secret request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateSecretAsync(UpdateSecretRequest updateSecretRequest, + final ServiceCallback serviceCallback); + + /** + * Get a specified secret from a given key vault. + * + * @param secretIdentifier + * The URL for the secret. + * + * @return the SecretBundle if successful. + */ + SecretBundle getSecret(String secretIdentifier); + + /** + * Get a specified secret from a given key vault. + * + * @param secretIdentifier + * The URL for the secret. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture getSecretAsync(String secretIdentifier, + final ServiceCallback serviceCallback); + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * + * @return the SecretBundle if successful. + */ + SecretBundle getSecret(String vaultBaseUrl, String secretName); + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + + ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, + final ServiceCallback serviceCallback); + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * + * @return the PagedList<SecretItem> if successful. + */ + PagedList listSecrets(final String vaultBaseUrl); + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listSecretsAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback); + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<SecretItem> if successful. + */ + PagedList listSecrets(final String vaultBaseUrl, final Integer maxresults); + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listSecretsAsync(final String vaultBaseUrl, final Integer maxresults, + final ListOperationCallback serviceCallback); + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * + * @return the PagedList<SecretItem> if successful. + */ + PagedList listSecretVersions(final String vaultBaseUrl, final String secretName); + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, + final ListOperationCallback serviceCallback); + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<SecretItem> if successful. + */ + PagedList listSecretVersions(final String vaultBaseUrl, final String secretName, + final Integer maxresults); + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, + final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @throws KeyVaultErrorException + * thrown if the request is rejected by server + * @throws RuntimeException + * all other wrapped checked exceptions if the request fails to be + * sent + * @return the PagedList<CertificateItem> object if successful. + */ + PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, + final ListOperationCallback 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + Observable>> getCertificatesWithServiceResponseAsync( + final String vaultBaseUrl, final Integer maxresults); + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * + * @return the PagedList<CertificateItem> if successful. + */ + PagedList listCertificates(final String vaultBaseUrl); + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback); + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<CertificateItem> if successful. + */ + PagedList listCertificates(final String vaultBaseUrl, final Integer maxresults); + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, + final ListOperationCallback serviceCallback); + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * + * @return the PagedList<CertificateIssuerItem> if successful. + */ + PagedList listCertificateIssuers(final String vaultBaseUrl); + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback); + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<CertificateIssuerItem> if successful. + */ + PagedList listCertificateIssuers(final String vaultBaseUrl, final Integer maxresults); + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, + final Integer maxresults, final ListOperationCallback serviceCallback); + + /** + * Sets the certificate contacts for the specified vault. + * + * @param setCertificateIssuerRequest + * the grouped properties for setting a certificate issuer request + * + * @return the IssuerBundle if successful. + */ + IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest); + + /** + * Sets the certificate contacts for the specified vault. + * + * @param setCertificateIssuerRequest + * the grouped properties for setting a certificate issuer request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture setCertificateIssuerAsync(SetCertificateIssuerRequest setCertificateIssuerRequest, + final ServiceCallback serviceCallback); + + /** + * Updates the specified certificate issuer. + * + * @param updateCertificateIssuerRequest + * the grouped properties for updating a certificate issuer request + * + * @return the IssuerBundle if successful. + */ + IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest); + + /** + * Updates the specified certificate issuer. + * + * @param updateCertificateIssuerRequest + * the grouped properties for updating a certificate issuer request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @throws IllegalArgumentException + * thrown if callback is null + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateIssuerAsync( + UpdateCertificateIssuerRequest updateCertificateIssuerRequest, + final ServiceCallback serviceCallback); + + /** + * Creates a new certificate version. If this is the first version, the + * certificate resource is created. + * + * @param createCertificateRequest + * the grouped properties for creating a certificate request + * + * @return the CertificateOperation if successful. + */ + CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest); + + /** + * Creates a new certificate version. If this is the first version, the + * certificate resource is created. + * + * @param createCertificateRequest + * the grouped properties for creating a certificate request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture createCertificateAsync(CreateCertificateRequest createCertificateRequest, + final ServiceCallback serviceCallback); + + /** + * Imports a certificate into the specified vault. + * + * @param importCertificateRequest + * the grouped properties for importing a certificate request + * + * @return the CertificateBundle if successful. + */ + CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest); + + /** + * Imports a certificate into the specified vault. + * + * @param importCertificateRequest + * the grouped properties for importing a certificate request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture importCertificateAsync(ImportCertificateRequest importCertificateRequest, + final ServiceCallback serviceCallback); + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * + * @return the PagedList<CertificateItem> if successful. + */ + PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName); + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, + final String certificateName, final ListOperationCallback serviceCallback); + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * + * @return the PagedList<CertificateItem> if successful. + */ + PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName, + final Integer maxresults); + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, + final String certificateName, final Integer maxresults, + final ListOperationCallback serviceCallback); + + /** + * Updates the policy for a certificate. Set appropriate members in the + * certificatePolicy that must be updated. Leave others as null. + * + * @param updateCertificatePolicyRequest + * the grouped properties for updating a certificate policy request + * + * @return the CertificatePolicy if successful. + */ + CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest); + + /** + * Updates the policy for a certificate. Set appropriate members in the + * certificatePolicy that must be updated. Leave others as null. + * + * @param updateCertificatePolicyRequest + * the grouped properties for updating a certificate policy request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificatePolicyAsync( + UpdateCertificatePolicyRequest updateCertificatePolicyRequest, + final ServiceCallback serviceCallback); + + /** + * Updates the attributes associated with the specified certificate. + * + * @param updateCertificateRequest + * the grouped properties for updating a certificate request + * + * @return the CertificateBundle if successful. + */ + CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest); + + /** + * Updates the attributes associated with the specified certificate. + * + * @param updateCertificateRequest + * the grouped properties for updating a certificate request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, + final ServiceCallback serviceCallback); + + /** + * Gets information about a specified certificate. + * + * @param certificateIdentifier + * The certificate identifier + * + * @return the CertificateBundle if successful. + */ + CertificateBundle getCertificate(String certificateIdentifier); + + /** + * Gets information about a specified certificate. + * + * @param certificateIdentifier + * The certificate identifier + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture getCertificateAsync(String certificateIdentifier, + final ServiceCallback serviceCallback); + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate in the given vault + * + * @return the CertificateBundle if successful. + */ + CertificateBundle getCertificate(String vaultBaseUrl, String certificateName); + + /** + * Updates a certificate operation. + * + * @param updateCertificateOperationRequest + * the grouped properties for updating a certificate operation + * request + * + * @return the CertificateOperation if successful. + */ + CertificateOperation updateCertificateOperation( + UpdateCertificateOperationRequest updateCertificateOperationRequest); + + /** + * Updates a certificate operation. + * + * @param updateCertificateOperationRequest + * the grouped properties for updating a certificate operation + * request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture updateCertificateOperationAsync( + UpdateCertificateOperationRequest updateCertificateOperationRequest, + final ServiceCallback serviceCallback); + + /** + * Merges a certificate or a certificate chain with a key pair existing on the + * server. + * + * @param mergeCertificateRequest + * the grouped properties for merging a certificate request + * + * @return the CertificateBundle if successful. + */ + CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest); + + /** + * Merges a certificate or a certificate chain with a key pair existing on the + * server. + * + * @param mergeCertificateRequest + * the grouped properties for merging a certificate request + * + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, + final ServiceCallback serviceCallback); + + /** + * Gets the pending certificate signing request response. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * + * @return the String if successful. + */ + String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName); + + /** + * Gets the pending certificate signing request response. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + ServiceFuture getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, + final ServiceCallback 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @throws KeyVaultErrorException + * thrown if the request is rejected by server + * @throws RuntimeException + * all other wrapped checked exceptions if the request fails to be + * sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, + final Integer maxresults, final ListOperationCallback 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, + final Integer maxresults); + + /** + * 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. + * + * @param vaultBaseUrl + * The vault name, for example https://myvault.vault.azure.net. + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @throws IllegalArgumentException + * thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + Observable>> getDeletedCertificatesWithServiceResponseAsync( + final String vaultBaseUrl, final Integer maxresults); + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientImpl.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientImpl.java index 53c39908a51ca..c9634081392db 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientImpl.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientImpl.java @@ -1,6817 +1,6817 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault; - -import com.google.common.base.Joiner; -import com.google.common.reflect.TypeToken; -import com.microsoft.azure.AzureClient; -import com.microsoft.azure.AzureServiceFuture; -import com.microsoft.azure.AzureServiceClient; -import com.microsoft.azure.keyvault.models.BackupKeyResult; -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificateBundle; -import com.microsoft.azure.keyvault.models.CertificateCreateParameters; -import com.microsoft.azure.keyvault.models.CertificateImportParameters; -import com.microsoft.azure.keyvault.models.CertificateIssuerItem; -import com.microsoft.azure.keyvault.models.CertificateIssuerSetParameters; -import com.microsoft.azure.keyvault.models.CertificateIssuerUpdateParameters; -import com.microsoft.azure.keyvault.models.CertificateItem; -import com.microsoft.azure.keyvault.models.CertificateMergeParameters; -import com.microsoft.azure.keyvault.models.CertificateOperation; -import com.microsoft.azure.keyvault.models.CertificateOperationUpdateParameter; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.CertificateUpdateParameters; -import com.microsoft.azure.keyvault.models.Contacts; -import com.microsoft.azure.keyvault.models.IssuerAttributes; -import com.microsoft.azure.keyvault.models.IssuerBundle; -import com.microsoft.azure.keyvault.models.IssuerCredentials; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.models.KeyBundle; -import com.microsoft.azure.keyvault.models.KeyCreateParameters; -import com.microsoft.azure.keyvault.models.KeyImportParameters; -import com.microsoft.azure.keyvault.models.KeyItem; -import com.microsoft.azure.keyvault.models.KeyOperationResult; -import com.microsoft.azure.keyvault.models.KeyOperationsParameters; -import com.microsoft.azure.keyvault.models.KeyRestoreParameters; -import com.microsoft.azure.keyvault.models.KeySignParameters; -import com.microsoft.azure.keyvault.models.KeyUpdateParameters; -import com.microsoft.azure.keyvault.models.KeyVaultErrorException; -import com.microsoft.azure.keyvault.models.KeyVerifyParameters; -import com.microsoft.azure.keyvault.models.KeyVerifyResult; -import com.microsoft.azure.keyvault.models.OrganizationDetails; -import com.microsoft.azure.keyvault.models.PageImpl; -import com.microsoft.azure.keyvault.models.SecretAttributes; -import com.microsoft.azure.keyvault.models.SecretBundle; -import com.microsoft.azure.keyvault.models.SecretItem; -import com.microsoft.azure.keyvault.models.SecretSetParameters; -import com.microsoft.azure.keyvault.models.SecretUpdateParameters; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.Page; -import com.microsoft.azure.PagedList; -import com.microsoft.rest.credentials.ServiceClientCredentials; -import com.microsoft.rest.RestClient; -import com.microsoft.rest.ServiceFuture; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceResponse; -import com.microsoft.rest.Validator; -import java.io.IOException; -import java.util.List; -import java.util.Map; -import okhttp3.ResponseBody; -import retrofit2.http.Body; -import retrofit2.http.GET; -import retrofit2.http.Header; -import retrofit2.http.Headers; -import retrofit2.http.HTTP; -import retrofit2.http.PATCH; -import retrofit2.http.Path; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Query; -import retrofit2.http.Url; -import retrofit2.Response; -import rx.functions.Func1; -import rx.Observable; - -/** - * Initializes a new instance of the KeyVaultClientImpl class. - */ -final class KeyVaultClientImpl extends AzureServiceClient { - /** The Retrofit service to perform REST calls. */ - private KeyVaultClientService service; - /** the {@link AzureClient} used for long running operations. */ - private AzureClient azureClient; - - /** - * Gets the {@link AzureClient} used for long running operations. - * @return the azure client; - */ - public AzureClient getAzureClient() { - return this.azureClient; - } - - /** Client API version. */ - private String apiVersion; - - /** - * Gets Client API version. - * - * @return the apiVersion value. - */ - public String apiVersion() { - return this.apiVersion; - } - - /** Gets or sets the preferred language for the response. */ - private String acceptLanguage; - - /** - * Gets Gets or sets the preferred language for the response. - * - * @return the acceptLanguage value. - */ - public String acceptLanguage() { - return this.acceptLanguage; - } - - /** - * Sets Gets or sets the preferred language for the response. - * - * @param acceptLanguage the acceptLanguage value. - * @return the service client itself - */ - public KeyVaultClientImpl withAcceptLanguage(String acceptLanguage) { - this.acceptLanguage = acceptLanguage; - return this; - } - - /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */ - private int longRunningOperationRetryTimeout; - - /** - * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. - * - * @return the longRunningOperationRetryTimeout value. - */ - public int longRunningOperationRetryTimeout() { - return this.longRunningOperationRetryTimeout; - } - - /** - * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. - * - * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. - * @return the service client itself - */ - public KeyVaultClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) { - this.longRunningOperationRetryTimeout = longRunningOperationRetryTimeout; - return this; - } - - /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ - private 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. - * - * @return the generateClientRequestId value. - */ - public boolean generateClientRequestId() { - return this.generateClientRequestId; - } - - /** - * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. - * - * @param generateClientRequestId the generateClientRequestId value. - * @return the service client itself - */ - public KeyVaultClientImpl withGenerateClientRequestId(boolean generateClientRequestId) { - this.generateClientRequestId = generateClientRequestId; - return this; - } - - /** - * Initializes an instance of KeyVaultClient client. - * - * @param credentials the management credentials for Azure - */ - KeyVaultClientImpl(ServiceClientCredentials credentials) { - this("https://{vaultBaseUrl}", credentials); - } - - /** - * Initializes an instance of KeyVaultClient client. - * - * @param baseUrl the base URL of the host - * @param credentials the management credentials for Azure - */ - KeyVaultClientImpl(String baseUrl, ServiceClientCredentials credentials) { - super(baseUrl, credentials); - initialize(); - } - - /** - * Initializes an instance of KeyVaultClient client. - * - * @param restClient the REST client to connect to Azure. - */ - KeyVaultClientImpl(RestClient restClient) { - super(restClient); - initialize(); - } - - protected void initialize() { - this.apiVersion = "2016-10-01"; - this.acceptLanguage = "en-US"; - this.longRunningOperationRetryTimeout = 30; - this.generateClientRequestId = true; - this.azureClient = new AzureClient(this); - initializeService(); - } - - /** - * Gets the User-Agent header for the client. - * - * @return the user agent string. - */ - @Override - public String userAgent() { - return String.format("Azure-SDK-For-Java/%s (%s)", - getClass().getPackage().getImplementationVersion(), - "KeyVaultClient, 2016-10-01"); - } - - private void initializeService() { - service = restClient().retrofit().create(KeyVaultClientService.class); - } - - /** - * The interface defining all the services for KeyVaultClient to be - * used by Retrofit to perform actually REST calls. - */ - interface KeyVaultClientService { - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createKey" }) - @POST("keys/{key-name}/create") - Observable> createKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importKey" }) - @PUT("keys/{key-name}") - Observable> importKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteKey" }) - @HTTP(path = "keys/{key-name}", method = "DELETE", hasBody = true) - Observable> deleteKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateKey" }) - @PATCH("keys/{key-name}/{key-version}") - Observable> updateKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKey" }) - @GET("keys/{key-name}/{key-version}") - Observable> getKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersions" }) - @GET("keys/{key-name}/versions") - Observable> getKeyVersions(@Path("key-name") String keyName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeys" }) - @GET("keys") - Observable> getKeys(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient backupKey" }) - @POST("keys/{key-name}/backup") - Observable> backupKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient restoreKey" }) - @POST("keys/restore") - Observable> restoreKey(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient encrypt" }) - @POST("keys/{key-name}/{key-version}/encrypt") - Observable> encrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient decrypt" }) - @POST("keys/{key-name}/{key-version}/decrypt") - Observable> decrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient sign" }) - @POST("keys/{key-name}/{key-version}/sign") - Observable> sign(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeySignParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient verify" }) - @POST("keys/{key-name}/{key-version}/verify") - Observable> verify(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyVerifyParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient wrapKey" }) - @POST("keys/{key-name}/{key-version}/wrapkey") - Observable> wrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient unwrapKey" }) - @POST("keys/{key-name}/{key-version}/unwrapkey") - Observable> unwrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setSecret" }) - @PUT("secrets/{secret-name}") - Observable> setSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretSetParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteSecret" }) - @HTTP(path = "secrets/{secret-name}", method = "DELETE", hasBody = true) - Observable> deleteSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateSecret" }) - @PATCH("secrets/{secret-name}/{secret-version}") - Observable> updateSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecret" }) - @GET("secrets/{secret-name}/{secret-version}") - Observable> getSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecrets" }) - @GET("secrets") - Observable> getSecrets(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersions" }) - @GET("secrets/{secret-name}/versions") - Observable> getSecretVersions(@Path("secret-name") String secretName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificates" }) - @GET("certificates") - Observable> getCertificates(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificate" }) - @HTTP(path = "certificates/{certificate-name}", method = "DELETE", hasBody = true) - Observable> deleteCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateContacts" }) - @PUT("certificates/contacts") - Observable> setCertificateContacts(@Body Contacts contacts, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateContacts" }) - @GET("certificates/contacts") - Observable> getCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateContacts" }) - @HTTP(path = "certificates/contacts", method = "DELETE", hasBody = true) - Observable> deleteCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuers" }) - @GET("certificates/issuers") - Observable> getCertificateIssuers(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateIssuer" }) - @PUT("certificates/issuers/{issuer-name}") - Observable> setCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerSetParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateIssuer" }) - @PATCH("certificates/issuers/{issuer-name}") - Observable> updateCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerUpdateParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuer" }) - @GET("certificates/issuers/{issuer-name}") - Observable> getCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateIssuer" }) - @HTTP(path = "certificates/issuers/{issuer-name}", method = "DELETE", hasBody = true) - Observable> deleteCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createCertificate" }) - @POST("certificates/{certificate-name}/create") - Observable> createCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importCertificate" }) - @POST("certificates/{certificate-name}/import") - Observable> importCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersions" }) - @GET("certificates/{certificate-name}/versions") - Observable> getCertificateVersions(@Path("certificate-name") String certificateName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatePolicy" }) - @GET("certificates/{certificate-name}/policy") - Observable> getCertificatePolicy(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificatePolicy" }) - @PATCH("certificates/{certificate-name}/policy") - Observable> updateCertificatePolicy(@Path("certificate-name") String certificateName, @Body CertificatePolicy certificatePolicy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificate" }) - @PATCH("certificates/{certificate-name}/{certificate-version}") - Observable> updateCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificate" }) - @GET("certificates/{certificate-name}/{certificate-version}") - Observable> getCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateOperation" }) - @PATCH("certificates/{certificate-name}/pending") - Observable> updateCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateOperationUpdateParameter certificateOperation, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateOperation" }) - @GET("certificates/{certificate-name}/pending") - Observable> getCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateOperation" }) - @HTTP(path = "certificates/{certificate-name}/pending", method = "DELETE", hasBody = true) - Observable> deleteCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient mergeCertificate" }) - @POST("certificates/{certificate-name}/pending/merge") - Observable> mergeCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateMergeParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersionsNext" }) - @GET - Observable> getKeyVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeysNext" }) - @GET - Observable> getKeysNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretsNext" }) - @GET - Observable> getSecretsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersionsNext" }) - @GET - Observable> getSecretVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatesNext" }) - @GET - Observable> getCertificatesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuersNext" }) - @GET - Observable> getCertificateIssuersNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersionsNext" }) - @GET - Observable> getCertificateVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @return the KeyBundle object if successful. - */ - public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).toBlocking().single().body(); - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty), 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @return the observable to the KeyBundle object - */ - public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @return the observable to the KeyBundle object - */ - public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (kty == null) { - throw new IllegalArgumentException("Parameter kty is required and cannot be null."); - } - final Integer keySize = null; - final List keyOps = null; - final KeyAttributes keyAttributes = null; - final Map tags = null; - KeyCreateParameters parameters = new KeyCreateParameters(); - parameters.withKty(kty); - parameters.withKeySize(null); - parameters.withKeyOps(null); - parameters.withKeyAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bytes. For example, 1024 or 2048. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @return the KeyBundle object if successful. - */ - public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bytes. For example, 1024 or 2048. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags), 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bytes. For example, 1024 or 2048. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the KeyBundle object - */ - public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bytes. For example, 1024 or 2048. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the KeyBundle object - */ - public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (kty == null) { - throw new IllegalArgumentException("Parameter kty is required and cannot be null."); - } - Validator.validate(keyOps); - Validator.validate(keyAttributes); - Validator.validate(tags); - KeyCreateParameters parameters = new KeyCreateParameters(); - parameters.withKty(kty); - parameters.withKeySize(keySize); - parameters.withKeyOps(keyOps); - parameters.withKeyAttributes(keyAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse createKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @return the KeyBundle object if successful. - */ - public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).toBlocking().single().body(); - } - - /** - * 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key), 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @return the observable to the KeyBundle object - */ - public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @return the observable to the KeyBundle object - */ - public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (key == null) { - throw new IllegalArgumentException("Parameter key is required and cannot be null."); - } - Validator.validate(key); - final Boolean hsm = null; - final KeyAttributes keyAttributes = null; - final Map tags = null; - KeyImportParameters parameters = new KeyImportParameters(); - parameters.withHsm(null); - parameters.withKey(key); - parameters.withKeyAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @return the KeyBundle object if successful. - */ - public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags), 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the KeyBundle object - */ - public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. Authorization: requires the keys/import permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the KeyBundle object - */ - public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (key == null) { - throw new IllegalArgumentException("Parameter key is required and cannot be null."); - } - Validator.validate(key); - Validator.validate(keyAttributes); - Validator.validate(tags); - KeyImportParameters parameters = new KeyImportParameters(); - parameters.withHsm(hsm); - parameters.withKey(key); - parameters.withKeyAttributes(keyAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse importKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. Authorization: Requires the keys/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @return the KeyBundle object if successful. - */ - public KeyBundle deleteKey(String vaultBaseUrl, String keyName) { - return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * 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. Authorization: Requires the keys/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. Authorization: Requires the keys/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @return the observable to the KeyBundle object - */ - public Observable deleteKeyAsync(String vaultBaseUrl, String keyName) { - return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. Authorization: Requires the keys/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @return the observable to the KeyBundle object - */ - public Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @return the KeyBundle object if successful. - */ - public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); - } - - /** - * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @return the observable to the KeyBundle object - */ - public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @return the observable to the KeyBundle object - */ - public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final List keyOps = null; - final KeyAttributes keyAttributes = null; - final Map tags = null; - KeyUpdateParameters parameters = new KeyUpdateParameters(); - parameters.withKeyOps(null); - parameters.withKeyAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @return the KeyBundle object if successful. - */ - public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags), 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the KeyBundle object - */ - public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the KeyBundle object - */ - public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(keyOps); - Validator.validate(keyAttributes); - Validator.validate(tags); - KeyUpdateParameters parameters = new KeyUpdateParameters(); - parameters.withKeyOps(keyOps); - parameters.withKeyAttributes(keyAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @return the KeyBundle object if successful. - */ - public KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion) { - return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); - } - - /** - * 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @return the observable to the KeyBundle object - */ - public Observable getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { - return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @return the observable to the KeyBundle object - */ - public Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName) { - ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName) { - return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName) { - return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeyVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeyVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeyVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeys(final String vaultBaseUrl) { - ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeysSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeysAsync(final String vaultBaseUrl) { - return getKeysWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl) { - return getKeysSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeysDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeys(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeysSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeysAsync(final String vaultBaseUrl, final Integer maxresults) { - return getKeysWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getKeysSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeysDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeysDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Requests that a backup of the specified key be downloaded to the client. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the BackupKeyResult object if successful. - */ - public BackupKeyResult backupKey(String vaultBaseUrl, String keyName) { - return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * Requests that a backup of the specified key be downloaded to the client. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName), serviceCallback); - } - - /** - * Requests that a backup of the specified key be downloaded to the client. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the observable to the BackupKeyResult object - */ - public Observable backupKeyAsync(String vaultBaseUrl, String keyName) { - return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, BackupKeyResult>() { - @Override - public BackupKeyResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Requests that a backup of the specified key be downloaded to the client. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @return the observable to the BackupKeyResult object - */ - public Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.backupKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = backupKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse backupKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Restores a backed up key to a vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @return the KeyBundle object if successful. - */ - public KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup) { - return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).toBlocking().single().body(); - } - - /** - * Restores a backed up key to a vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup), serviceCallback); - } - - /** - * Restores a backed up key to a vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @return the observable to the KeyBundle object - */ - public Observable restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup) { - return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Restores a backed up key to a vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @return the observable to the KeyBundle object - */ - public Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (keyBundleBackup == null) { - throw new IllegalArgumentException("Parameter keyBundleBackup is required and cannot be null."); - } - KeyRestoreParameters parameters = new KeyRestoreParameters(); - parameters.withKeyBundleBackup(keyBundleBackup); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.restoreKey(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = restoreKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse restoreKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); - } - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable> encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.encrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = encryptDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse encryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Decrypts a single block of encrypted data. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * Decrypts a single block of encrypted data. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); - } - - /** - * Decrypts a single block of encrypted data. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Decrypts a single block of encrypted data. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.decrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = decryptDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse decryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Creates a signature from a digest using the specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param value the Base64Url value - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * Creates a signature from a digest using the specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); - } - - /** - * Creates a signature from a digest using the specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates a signature from a digest using the specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeySignParameters parameters = new KeySignParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.sign(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = signDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse signDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Verifies a signature using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @return the KeyVerifyResult object if successful. - */ - public KeyVerifyResult verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { - return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).toBlocking().single().body(); - } - - /** - * Verifies a signature using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature), serviceCallback); - } - - /** - * Verifies a signature using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @return the observable to the KeyVerifyResult object - */ - public Observable verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { - return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).map(new Func1, KeyVerifyResult>() { - @Override - public KeyVerifyResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Verifies a signature using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @return the observable to the KeyVerifyResult object - */ - public Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (digest == null) { - throw new IllegalArgumentException("Parameter digest is required and cannot be null."); - } - if (signature == null) { - throw new IllegalArgumentException("Parameter signature is required and cannot be null."); - } - KeyVerifyParameters parameters = new KeyVerifyParameters(); - parameters.withAlgorithm(algorithm); - parameters.withDigest(digest); - parameters.withSignature(signature); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.verify(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = verifyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse verifyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Wraps a symmetric key using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * Wraps a symmetric key using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); - } - - /** - * Wraps a symmetric key using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Wraps a symmetric key using a specified key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable> wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.wrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = wrapKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse wrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); - } - - /** - * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' - * @param value the Base64Url value - * @return the observable to the KeyOperationResult object - */ - public Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.unwrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = unwrapKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse unwrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @return the SecretBundle object if successful. - */ - public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).toBlocking().single().body(); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value), serviceCallback); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @return the observable to the SecretBundle object - */ - public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @return the observable to the SecretBundle object - */ - public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - final Map tags = null; - final String contentType = null; - final SecretAttributes secretAttributes = null; - SecretSetParameters parameters = new SecretSetParameters(); - parameters.withValue(value); - parameters.withTags(null); - parameters.withContentType(null); - parameters.withSecretAttributes(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @return the SecretBundle object if successful. - */ - public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).toBlocking().single().body(); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes), serviceCallback); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @return the observable to the SecretBundle object - */ - public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets a secret in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @return the observable to the SecretBundle object - */ - public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - Validator.validate(tags); - Validator.validate(secretAttributes); - SecretSetParameters parameters = new SecretSetParameters(); - parameters.withValue(value); - parameters.withTags(tags); - parameters.withContentType(contentType); - parameters.withSecretAttributes(secretAttributes); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes a secret from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the SecretBundle object if successful. - */ - public SecretBundle deleteSecret(String vaultBaseUrl, String secretName) { - return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); - } - - /** - * Deletes a secret from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName), serviceCallback); - } - - /** - * Deletes a secret from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the observable to the SecretBundle object - */ - public Observable deleteSecretAsync(String vaultBaseUrl, String secretName) { - return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes a secret from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the observable to the SecretBundle object - */ - public Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @return the SecretBundle object if successful. - */ - public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), serviceCallback); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @return the observable to the SecretBundle object - */ - public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @return the observable to the SecretBundle object - */ - public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (secretVersion == null) { - throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final String contentType = null; - final SecretAttributes secretAttributes = null; - final Map tags = null; - SecretUpdateParameters parameters = new SecretUpdateParameters(); - parameters.withContentType(null); - parameters.withSecretAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @return the SecretBundle object if successful. - */ - public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).toBlocking().single().body(); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags), serviceCallback); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the SecretBundle object - */ - public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the attributes associated with a specified secret in a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the SecretBundle object - */ - public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (secretVersion == null) { - throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(secretAttributes); - Validator.validate(tags); - SecretUpdateParameters parameters = new SecretUpdateParameters(); - parameters.withContentType(contentType); - parameters.withSecretAttributes(secretAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @return the SecretBundle object if successful. - */ - public SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion) { - return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); - } - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), serviceCallback); - } - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @return the observable to the SecretBundle object - */ - public Observable getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { - return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @return the observable to the SecretBundle object - */ - public Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (secretVersion == null) { - throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecrets(final String vaultBaseUrl) { - ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretsSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretsAsync(final String vaultBaseUrl) { - return getSecretsWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl) { - return getSecretsSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecrets(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretsSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults) { - return getSecretsWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getSecretsSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName) { - ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName) { - return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName) { - return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificates(final String vaultBaseUrl) { - ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificatesSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificatesAsync(final String vaultBaseUrl) { - return getCertificatesWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl) { - return getCertificatesSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificates(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificatesSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults) { - return getCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getCertificatesSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificates(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificatesDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes a certificate from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName) { - return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Deletes a certificate from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Deletes a certificate from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateBundle object - */ - public Observable deleteCertificateAsync(String vaultBaseUrl, String certificateName) { - return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes a certificate from a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateBundle object - */ - public Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Sets the certificate contacts for the specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @return the Contacts object if successful. - */ - public Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts) { - return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).toBlocking().single().body(); - } - - /** - * Sets the certificate contacts for the specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts), serviceCallback); - } - - /** - * Sets the certificate contacts for the specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @return the observable to the Contacts object - */ - public Observable setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts) { - return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).map(new Func1, Contacts>() { - @Override - public Contacts call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets the certificate contacts for the specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @return the observable to the Contacts object - */ - public Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (contacts == null) { - throw new IllegalArgumentException("Parameter contacts is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(contacts); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setCertificateContacts(contacts, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setCertificateContactsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Lists the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the Contacts object if successful. - */ - public Contacts getCertificateContacts(String vaultBaseUrl) { - return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); - } - - /** - * Lists the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateContactsWithServiceResponseAsync(vaultBaseUrl), serviceCallback); - } - - /** - * Lists the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the Contacts object - */ - public Observable getCertificateContactsAsync(String vaultBaseUrl) { - return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { - @Override - public Contacts call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Lists the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the Contacts object - */ - public Observable> getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateContactsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the Contacts object if successful. - */ - public Contacts deleteCertificateContacts(String vaultBaseUrl) { - return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); - } - - /** - * Deletes the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl), serviceCallback); - } - - /** - * Deletes the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the Contacts object - */ - public Observable deleteCertificateContactsAsync(String vaultBaseUrl) { - return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { - @Override - public Contacts call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes the certificate contacts for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the Contacts object - */ - public Observable> deleteCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateContactsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - public PagedList getCertificateIssuers(final String vaultBaseUrl) { - ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateIssuersSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable> getCertificateIssuersAsync(final String vaultBaseUrl) { - return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl) { - return getCertificateIssuersSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateIssuersDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - public PagedList getCertificateIssuers(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults) { - return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateIssuersDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateIssuersDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @return the IssuerBundle object if successful. - */ - public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).toBlocking().single().body(); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider), serviceCallback); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @return the observable to the IssuerBundle object - */ - public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @return the observable to the IssuerBundle object - */ - public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (provider == null) { - throw new IllegalArgumentException("Parameter provider is required and cannot be null."); - } - final IssuerCredentials credentials = null; - final OrganizationDetails organizationDetails = null; - final IssuerAttributes attributes = null; - CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); - parameter.withProvider(provider); - parameter.withCredentials(null); - parameter.withOrganizationDetails(null); - parameter.withAttributes(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @return the IssuerBundle object if successful. - */ - public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), serviceCallback); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @return the observable to the IssuerBundle object - */ - public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @return the observable to the IssuerBundle object - */ - public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (provider == null) { - throw new IllegalArgumentException("Parameter provider is required and cannot be null."); - } - Validator.validate(credentials); - Validator.validate(organizationDetails); - Validator.validate(attributes); - CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); - parameter.withProvider(provider); - parameter.withCredentials(credentials); - parameter.withOrganizationDetails(organizationDetails); - parameter.withAttributes(attributes); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the IssuerBundle object if successful. - */ - public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), serviceCallback); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the observable to the IssuerBundle object - */ - public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the observable to the IssuerBundle object - */ - public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final String provider = null; - final IssuerCredentials credentials = null; - final OrganizationDetails organizationDetails = null; - final IssuerAttributes attributes = null; - CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); - parameter.withProvider(null); - parameter.withCredentials(null); - parameter.withOrganizationDetails(null); - parameter.withAttributes(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @return the IssuerBundle object if successful. - */ - public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), serviceCallback); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @return the observable to the IssuerBundle object - */ - public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @return the observable to the IssuerBundle object - */ - public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(credentials); - Validator.validate(organizationDetails); - Validator.validate(attributes); - CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); - parameter.withProvider(provider); - parameter.withCredentials(credentials); - parameter.withOrganizationDetails(organizationDetails); - parameter.withAttributes(attributes); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Lists the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the IssuerBundle object if successful. - */ - public IssuerBundle getCertificateIssuer(String vaultBaseUrl, String issuerName) { - return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); - } - - /** - * Lists the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), serviceCallback); - } - - /** - * Lists the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the observable to the IssuerBundle object - */ - public Observable getCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { - return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Lists the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the observable to the IssuerBundle object - */ - public Observable> getCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the IssuerBundle object if successful. - */ - public IssuerBundle deleteCertificateIssuer(String vaultBaseUrl, String issuerName) { - return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); - } - - /** - * Deletes the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), serviceCallback); - } - - /** - * Deletes the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the observable to the IssuerBundle object - */ - public Observable deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { - return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes the specified certificate issuer. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @return the observable to the IssuerBundle object - */ - public Observable> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the CertificateOperation object if successful. - */ - public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateOperation object - */ - public Observable createCertificateAsync(String vaultBaseUrl, String certificateName) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateOperation object - */ - public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final CertificatePolicy certificatePolicy = null; - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateCreateParameters parameters = new CertificateCreateParameters(); - parameters.withCertificatePolicy(null); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the CertificateOperation object if successful. - */ - public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags), serviceCallback); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateOperation object - */ - public Observable createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates a new certificate. If this is the first version, the certificate resource is created. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateOperation object - */ - public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(certificatePolicy); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateCreateParameters parameters = new CertificateCreateParameters(); - parameters.withCertificatePolicy(certificatePolicy); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse createCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(202, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).toBlocking().single().body(); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate), serviceCallback); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @return the observable to the CertificateBundle object - */ - public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @return the observable to the CertificateBundle object - */ - public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (base64EncodedCertificate == null) { - throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); - } - final String password = null; - final CertificatePolicy certificatePolicy = null; - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateImportParameters parameters = new CertificateImportParameters(); - parameters.withBase64EncodedCertificate(base64EncodedCertificate); - parameters.withPassword(null); - parameters.withCertificatePolicy(null); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags), serviceCallback); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateBundle object - */ - public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Imports a certificate into a specified key vault. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateBundle object - */ - public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (base64EncodedCertificate == null) { - throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); - } - Validator.validate(certificatePolicy); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateImportParameters parameters = new CertificateImportParameters(); - parameters.withBase64EncodedCertificate(base64EncodedCertificate); - parameters.withPassword(password); - parameters.withCertificatePolicy(certificatePolicy); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse importCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName) { - ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName) { - return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName) { - return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Lists the policy for a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @return the CertificatePolicy object if successful. - */ - public CertificatePolicy getCertificatePolicy(String vaultBaseUrl, String certificateName) { - return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Lists the policy for a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Lists the policy for a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @return the observable to the CertificatePolicy object - */ - public Observable getCertificatePolicyAsync(String vaultBaseUrl, String certificateName) { - return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificatePolicy>() { - @Override - public CertificatePolicy call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Lists the policy for a certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @return the observable to the CertificatePolicy object - */ - public Observable> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificatePolicy(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificatePolicyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @return the CertificatePolicy object if successful. - */ - public CertificatePolicy updateCertificatePolicy(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { - return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).toBlocking().single().body(); - } - - /** - * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy), serviceCallback); - } - - /** - * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @return the observable to the CertificatePolicy object - */ - public Observable updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { - return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).map(new Func1, CertificatePolicy>() { - @Override - public CertificatePolicy call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @return the observable to the CertificatePolicy object - */ - public Observable> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificatePolicy == null) { - throw new IllegalArgumentException("Parameter certificatePolicy is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(certificatePolicy); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificatePolicy(certificateName, certificatePolicy, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificatePolicyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), serviceCallback); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @return the observable to the CertificateBundle object - */ - public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @return the observable to the CertificateBundle object - */ - public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificateVersion == null) { - throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final CertificatePolicy certificatePolicy = null; - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateUpdateParameters parameters = new CertificateUpdateParameters(); - parameters.withCertificatePolicy(null); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags), serviceCallback); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateBundle object - */ - public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified attributes associated with the given certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateBundle object - */ - public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificateVersion == null) { - throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(certificatePolicy); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateUpdateParameters parameters = new CertificateUpdateParameters(); - parameters.withCertificatePolicy(certificatePolicy); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { - return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); - } - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), serviceCallback); - } - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @return the observable to the CertificateBundle object - */ - public Observable getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @return the observable to the CertificateBundle object - */ - public Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificateVersion == null) { - throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates a certificate operation. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @return the CertificateOperation object if successful. - */ - public CertificateOperation updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { - return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).toBlocking().single().body(); - } - - /** - * Updates a certificate operation. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested), serviceCallback); - } - - /** - * Updates a certificate operation. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @return the observable to the CertificateOperation object - */ - public Observable updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { - return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates a certificate operation. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @return the observable to the CertificateOperation object - */ - public Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - CertificateOperationUpdateParameter certificateOperation = new CertificateOperationUpdateParameter(); - certificateOperation.withCancellationRequested(cancellationRequested); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), certificateOperation, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateOperationDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Gets the operation associated with a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the CertificateOperation object if successful. - */ - public CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName) { - return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Gets the operation associated with a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Gets the operation associated with a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateOperation object - */ - public Observable getCertificateOperationAsync(String vaultBaseUrl, String certificateName) { - return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets the operation associated with a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateOperation object - */ - public Observable> getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateOperationDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes the operation for a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the CertificateOperation object if successful. - */ - public CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName) { - return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Deletes the operation for a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Deletes the operation for a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateOperation object - */ - public Observable deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName) { - return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes the operation for a specified certificate. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @return the observable to the CertificateOperation object - */ - public Observable> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateOperationDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).toBlocking().single().body(); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates), serviceCallback); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @return the observable to the CertificateBundle object - */ - public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @return the observable to the CertificateBundle object - */ - public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (x509Certificates == null) { - throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); - } - Validator.validate(x509Certificates); - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateMergeParameters parameters = new CertificateMergeParameters(); - parameters.withX509Certificates(x509Certificates); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = mergeCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the CertificateBundle object if successful. - */ - public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags), serviceCallback); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateBundle object - */ - public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the server. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @return the observable to the CertificateBundle object - */ - public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (x509Certificates == null) { - throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); - } - Validator.validate(x509Certificates); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateMergeParameters parameters = new CertificateMergeParameters(); - parameters.withX509Certificates(x509Certificates); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = mergeCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse mergeCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeyVersionsNext(final String nextPageLink) { - ServiceResponse> response = getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeyVersionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. Authorization: Requires the keys/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeyVersionsNextAsync(final String nextPageLink) { - return getKeyVersionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeyVersionsNextWithServiceResponseAsync(final String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. Authorization: Requires the keys/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeyVersionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getKeyVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeyVersionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeyVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List keys in the specified vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeysNext(final String nextPageLink) { - ServiceResponse> response = getKeysNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List keys in the specified vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeysNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List keys in the specified vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeysNextAsync(final String nextPageLink) { - return getKeysNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List keys in the specified vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeysNextWithServiceResponseAsync(final String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List keys in the specified vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeysNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getKeysNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeysNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeysNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List secrets in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretsNext(final String nextPageLink) { - ServiceResponse> response = getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List secrets in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List secrets in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretsNextAsync(final String nextPageLink) { - return getSecretsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretsNextWithServiceResponseAsync(final String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List secrets in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getSecretsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List the versions of the specified secret. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretVersionsNext(final String nextPageLink) { - ServiceResponse> response = getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List the versions of the specified secret. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretVersionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List the versions of the specified secret. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretVersionsNextAsync(final String nextPageLink) { - return getSecretVersionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretVersionsNextWithServiceResponseAsync(final String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List the versions of the specified secret. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretVersionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getSecretVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretVersionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List certificates in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificatesNext(final String nextPageLink) { - ServiceResponse> response = getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List certificates in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificatesNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List certificates in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificatesNextAsync(final String nextPageLink) { - return getCertificatesNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificatesNextWithServiceResponseAsync(final String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List certificates in a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificatesNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getCertificatesNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificatesNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificatesNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - public PagedList getCertificateIssuersNext(final String nextPageLink) { - ServiceResponse> response = getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List certificate issuers for a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateIssuersNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable> getCertificateIssuersNextAsync(final String nextPageLink) { - return getCertificateIssuersNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable>> getCertificateIssuersNextWithServiceResponseAsync(final String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List certificate issuers for a specified key vault. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateIssuersNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getCertificateIssuersNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateIssuersNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateIssuersNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List the versions of a certificate. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificateVersionsNext(final String nextPageLink) { - ServiceResponse> response = getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List the versions of a certificate. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceCall object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateVersionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List the versions of a certificate. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificateVersionsNextAsync(final String nextPageLink) { - return getCertificateVersionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List the versions of a certificate. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificateVersionsNextWithServiceResponseAsync(final String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List the versions of a certificate. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateVersionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getCertificateVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateVersionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault; + +import com.google.common.base.Joiner; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureClient; +import com.microsoft.azure.AzureServiceFuture; +import com.microsoft.azure.AzureServiceClient; +import com.microsoft.azure.keyvault.models.BackupKeyResult; +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificateBundle; +import com.microsoft.azure.keyvault.models.CertificateCreateParameters; +import com.microsoft.azure.keyvault.models.CertificateImportParameters; +import com.microsoft.azure.keyvault.models.CertificateIssuerItem; +import com.microsoft.azure.keyvault.models.CertificateIssuerSetParameters; +import com.microsoft.azure.keyvault.models.CertificateIssuerUpdateParameters; +import com.microsoft.azure.keyvault.models.CertificateItem; +import com.microsoft.azure.keyvault.models.CertificateMergeParameters; +import com.microsoft.azure.keyvault.models.CertificateOperation; +import com.microsoft.azure.keyvault.models.CertificateOperationUpdateParameter; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.CertificateUpdateParameters; +import com.microsoft.azure.keyvault.models.Contacts; +import com.microsoft.azure.keyvault.models.IssuerAttributes; +import com.microsoft.azure.keyvault.models.IssuerBundle; +import com.microsoft.azure.keyvault.models.IssuerCredentials; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.models.KeyBundle; +import com.microsoft.azure.keyvault.models.KeyCreateParameters; +import com.microsoft.azure.keyvault.models.KeyImportParameters; +import com.microsoft.azure.keyvault.models.KeyItem; +import com.microsoft.azure.keyvault.models.KeyOperationResult; +import com.microsoft.azure.keyvault.models.KeyOperationsParameters; +import com.microsoft.azure.keyvault.models.KeyRestoreParameters; +import com.microsoft.azure.keyvault.models.KeySignParameters; +import com.microsoft.azure.keyvault.models.KeyUpdateParameters; +import com.microsoft.azure.keyvault.models.KeyVaultErrorException; +import com.microsoft.azure.keyvault.models.KeyVerifyParameters; +import com.microsoft.azure.keyvault.models.KeyVerifyResult; +import com.microsoft.azure.keyvault.models.OrganizationDetails; +import com.microsoft.azure.keyvault.models.PageImpl; +import com.microsoft.azure.keyvault.models.SecretAttributes; +import com.microsoft.azure.keyvault.models.SecretBundle; +import com.microsoft.azure.keyvault.models.SecretItem; +import com.microsoft.azure.keyvault.models.SecretSetParameters; +import com.microsoft.azure.keyvault.models.SecretUpdateParameters; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.credentials.ServiceClientCredentials; +import com.microsoft.rest.RestClient; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.Validator; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import okhttp3.ResponseBody; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.HTTP; +import retrofit2.http.PATCH; +import retrofit2.http.Path; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * Initializes a new instance of the KeyVaultClientImpl class. + */ +final class KeyVaultClientImpl extends AzureServiceClient { + /** The Retrofit service to perform REST calls. */ + private KeyVaultClientService service; + /** the {@link AzureClient} used for long running operations. */ + private AzureClient azureClient; + + /** + * Gets the {@link AzureClient} used for long running operations. + * @return the azure client; + */ + public AzureClient getAzureClient() { + return this.azureClient; + } + + /** Client API version. */ + private String apiVersion; + + /** + * Gets Client API version. + * + * @return the apiVersion value. + */ + public String apiVersion() { + return this.apiVersion; + } + + /** Gets or sets the preferred language for the response. */ + private String acceptLanguage; + + /** + * Gets Gets or sets the preferred language for the response. + * + * @return the acceptLanguage value. + */ + public String acceptLanguage() { + return this.acceptLanguage; + } + + /** + * Sets Gets or sets the preferred language for the response. + * + * @param acceptLanguage the acceptLanguage value. + * @return the service client itself + */ + public KeyVaultClientImpl withAcceptLanguage(String acceptLanguage) { + this.acceptLanguage = acceptLanguage; + return this; + } + + /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */ + private int longRunningOperationRetryTimeout; + + /** + * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * + * @return the longRunningOperationRetryTimeout value. + */ + public int longRunningOperationRetryTimeout() { + return this.longRunningOperationRetryTimeout; + } + + /** + * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * + * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. + * @return the service client itself + */ + public KeyVaultClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) { + this.longRunningOperationRetryTimeout = longRunningOperationRetryTimeout; + return this; + } + + /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ + private 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. + * + * @return the generateClientRequestId value. + */ + public boolean generateClientRequestId() { + return this.generateClientRequestId; + } + + /** + * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * + * @param generateClientRequestId the generateClientRequestId value. + * @return the service client itself + */ + public KeyVaultClientImpl withGenerateClientRequestId(boolean generateClientRequestId) { + this.generateClientRequestId = generateClientRequestId; + return this; + } + + /** + * Initializes an instance of KeyVaultClient client. + * + * @param credentials the management credentials for Azure + */ + KeyVaultClientImpl(ServiceClientCredentials credentials) { + this("https://{vaultBaseUrl}", credentials); + } + + /** + * Initializes an instance of KeyVaultClient client. + * + * @param baseUrl the base URL of the host + * @param credentials the management credentials for Azure + */ + KeyVaultClientImpl(String baseUrl, ServiceClientCredentials credentials) { + super(baseUrl, credentials); + initialize(); + } + + /** + * Initializes an instance of KeyVaultClient client. + * + * @param restClient the REST client to connect to Azure. + */ + KeyVaultClientImpl(RestClient restClient) { + super(restClient); + initialize(); + } + + protected void initialize() { + this.apiVersion = "2016-10-01"; + this.acceptLanguage = "en-US"; + this.longRunningOperationRetryTimeout = 30; + this.generateClientRequestId = true; + this.azureClient = new AzureClient(this); + initializeService(); + } + + /** + * Gets the User-Agent header for the client. + * + * @return the user agent string. + */ + @Override + public String userAgent() { + return String.format("Azure-SDK-For-Java/%s (%s)", + getClass().getPackage().getImplementationVersion(), + "KeyVaultClient, 2016-10-01"); + } + + private void initializeService() { + service = restClient().retrofit().create(KeyVaultClientService.class); + } + + /** + * The interface defining all the services for KeyVaultClient to be + * used by Retrofit to perform actually REST calls. + */ + interface KeyVaultClientService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createKey" }) + @POST("keys/{key-name}/create") + Observable> createKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importKey" }) + @PUT("keys/{key-name}") + Observable> importKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteKey" }) + @HTTP(path = "keys/{key-name}", method = "DELETE", hasBody = true) + Observable> deleteKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateKey" }) + @PATCH("keys/{key-name}/{key-version}") + Observable> updateKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKey" }) + @GET("keys/{key-name}/{key-version}") + Observable> getKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersions" }) + @GET("keys/{key-name}/versions") + Observable> getKeyVersions(@Path("key-name") String keyName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeys" }) + @GET("keys") + Observable> getKeys(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient backupKey" }) + @POST("keys/{key-name}/backup") + Observable> backupKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient restoreKey" }) + @POST("keys/restore") + Observable> restoreKey(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient encrypt" }) + @POST("keys/{key-name}/{key-version}/encrypt") + Observable> encrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient decrypt" }) + @POST("keys/{key-name}/{key-version}/decrypt") + Observable> decrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient sign" }) + @POST("keys/{key-name}/{key-version}/sign") + Observable> sign(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeySignParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient verify" }) + @POST("keys/{key-name}/{key-version}/verify") + Observable> verify(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyVerifyParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient wrapKey" }) + @POST("keys/{key-name}/{key-version}/wrapkey") + Observable> wrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient unwrapKey" }) + @POST("keys/{key-name}/{key-version}/unwrapkey") + Observable> unwrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setSecret" }) + @PUT("secrets/{secret-name}") + Observable> setSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretSetParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteSecret" }) + @HTTP(path = "secrets/{secret-name}", method = "DELETE", hasBody = true) + Observable> deleteSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateSecret" }) + @PATCH("secrets/{secret-name}/{secret-version}") + Observable> updateSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecret" }) + @GET("secrets/{secret-name}/{secret-version}") + Observable> getSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecrets" }) + @GET("secrets") + Observable> getSecrets(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersions" }) + @GET("secrets/{secret-name}/versions") + Observable> getSecretVersions(@Path("secret-name") String secretName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificates" }) + @GET("certificates") + Observable> getCertificates(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificate" }) + @HTTP(path = "certificates/{certificate-name}", method = "DELETE", hasBody = true) + Observable> deleteCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateContacts" }) + @PUT("certificates/contacts") + Observable> setCertificateContacts(@Body Contacts contacts, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateContacts" }) + @GET("certificates/contacts") + Observable> getCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateContacts" }) + @HTTP(path = "certificates/contacts", method = "DELETE", hasBody = true) + Observable> deleteCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuers" }) + @GET("certificates/issuers") + Observable> getCertificateIssuers(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateIssuer" }) + @PUT("certificates/issuers/{issuer-name}") + Observable> setCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerSetParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateIssuer" }) + @PATCH("certificates/issuers/{issuer-name}") + Observable> updateCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerUpdateParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuer" }) + @GET("certificates/issuers/{issuer-name}") + Observable> getCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateIssuer" }) + @HTTP(path = "certificates/issuers/{issuer-name}", method = "DELETE", hasBody = true) + Observable> deleteCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createCertificate" }) + @POST("certificates/{certificate-name}/create") + Observable> createCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importCertificate" }) + @POST("certificates/{certificate-name}/import") + Observable> importCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersions" }) + @GET("certificates/{certificate-name}/versions") + Observable> getCertificateVersions(@Path("certificate-name") String certificateName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatePolicy" }) + @GET("certificates/{certificate-name}/policy") + Observable> getCertificatePolicy(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificatePolicy" }) + @PATCH("certificates/{certificate-name}/policy") + Observable> updateCertificatePolicy(@Path("certificate-name") String certificateName, @Body CertificatePolicy certificatePolicy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificate" }) + @PATCH("certificates/{certificate-name}/{certificate-version}") + Observable> updateCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificate" }) + @GET("certificates/{certificate-name}/{certificate-version}") + Observable> getCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateOperation" }) + @PATCH("certificates/{certificate-name}/pending") + Observable> updateCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateOperationUpdateParameter certificateOperation, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateOperation" }) + @GET("certificates/{certificate-name}/pending") + Observable> getCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateOperation" }) + @HTTP(path = "certificates/{certificate-name}/pending", method = "DELETE", hasBody = true) + Observable> deleteCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient mergeCertificate" }) + @POST("certificates/{certificate-name}/pending/merge") + Observable> mergeCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateMergeParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersionsNext" }) + @GET + Observable> getKeyVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeysNext" }) + @GET + Observable> getKeysNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretsNext" }) + @GET + Observable> getSecretsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersionsNext" }) + @GET + Observable> getSecretVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatesNext" }) + @GET + Observable> getCertificatesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuersNext" }) + @GET + Observable> getCertificateIssuersNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersionsNext" }) + @GET + Observable> getCertificateVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @return the KeyBundle object if successful. + */ + public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).toBlocking().single().body(); + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty), 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @return the observable to the KeyBundle object + */ + public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @return the observable to the KeyBundle object + */ + public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (kty == null) { + throw new IllegalArgumentException("Parameter kty is required and cannot be null."); + } + final Integer keySize = null; + final List keyOps = null; + final KeyAttributes keyAttributes = null; + final Map tags = null; + KeyCreateParameters parameters = new KeyCreateParameters(); + parameters.withKty(kty); + parameters.withKeySize(null); + parameters.withKeyOps(null); + parameters.withKeyAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bytes. For example, 1024 or 2048. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @return the KeyBundle object if successful. + */ + public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bytes. For example, 1024 or 2048. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags), 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bytes. For example, 1024 or 2048. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the KeyBundle object + */ + public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid key types, see JsonWebKeyType. Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bytes. For example, 1024 or 2048. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the KeyBundle object + */ + public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (kty == null) { + throw new IllegalArgumentException("Parameter kty is required and cannot be null."); + } + Validator.validate(keyOps); + Validator.validate(keyAttributes); + Validator.validate(tags); + KeyCreateParameters parameters = new KeyCreateParameters(); + parameters.withKty(kty); + parameters.withKeySize(keySize); + parameters.withKeyOps(keyOps); + parameters.withKeyAttributes(keyAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @return the KeyBundle object if successful. + */ + public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).toBlocking().single().body(); + } + + /** + * 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key), 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @return the observable to the KeyBundle object + */ + public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @return the observable to the KeyBundle object + */ + public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + Validator.validate(key); + final Boolean hsm = null; + final KeyAttributes keyAttributes = null; + final Map tags = null; + KeyImportParameters parameters = new KeyImportParameters(); + parameters.withHsm(null); + parameters.withKey(key); + parameters.withKeyAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @return the KeyBundle object if successful. + */ + public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags), 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the KeyBundle object + */ + public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. Authorization: requires the keys/import permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the KeyBundle object + */ + public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + Validator.validate(key); + Validator.validate(keyAttributes); + Validator.validate(tags); + KeyImportParameters parameters = new KeyImportParameters(); + parameters.withHsm(hsm); + parameters.withKey(key); + parameters.withKeyAttributes(keyAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse importKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. Authorization: Requires the keys/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @return the KeyBundle object if successful. + */ + public KeyBundle deleteKey(String vaultBaseUrl, String keyName) { + return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * 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. Authorization: Requires the keys/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. Authorization: Requires the keys/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @return the observable to the KeyBundle object + */ + public Observable deleteKeyAsync(String vaultBaseUrl, String keyName) { + return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. Authorization: Requires the keys/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @return the observable to the KeyBundle object + */ + public Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @return the KeyBundle object if successful. + */ + public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); + } + + /** + * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @return the observable to the KeyBundle object + */ + public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @return the observable to the KeyBundle object + */ + public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final List keyOps = null; + final KeyAttributes keyAttributes = null; + final Map tags = null; + KeyUpdateParameters parameters = new KeyUpdateParameters(); + parameters.withKeyOps(null); + parameters.withKeyAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @return the KeyBundle object if successful. + */ + public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags), 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the KeyBundle object + */ + public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. The cryptographic material of a key itself cannot be changed. In order to perform this operation, the key must already exist in the Key Vault. Authorization: requires the keys/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the KeyBundle object + */ + public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(keyOps); + Validator.validate(keyAttributes); + Validator.validate(tags); + KeyUpdateParameters parameters = new KeyUpdateParameters(); + parameters.withKeyOps(keyOps); + parameters.withKeyAttributes(keyAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @return the KeyBundle object if successful. + */ + public KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion) { + return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); + } + + /** + * 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @return the observable to the KeyBundle object + */ + public Observable getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { + return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @return the observable to the KeyBundle object + */ + public Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName) { + ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName) { + return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName) { + return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeyVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeyVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeyVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeys(final String vaultBaseUrl) { + ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeysSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeysAsync(final String vaultBaseUrl) { + return getKeysWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl) { + return getKeysSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeysDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeys(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeysSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeysAsync(final String vaultBaseUrl, final Integer maxresults) { + return getKeysWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getKeysSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeysDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeysDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Requests that a backup of the specified key be downloaded to the client. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the BackupKeyResult object if successful. + */ + public BackupKeyResult backupKey(String vaultBaseUrl, String keyName) { + return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * Requests that a backup of the specified key be downloaded to the client. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName), serviceCallback); + } + + /** + * Requests that a backup of the specified key be downloaded to the client. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the observable to the BackupKeyResult object + */ + public Observable backupKeyAsync(String vaultBaseUrl, String keyName) { + return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, BackupKeyResult>() { + @Override + public BackupKeyResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Requests that a backup of the specified key be downloaded to the client. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @return the observable to the BackupKeyResult object + */ + public Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.backupKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = backupKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse backupKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Restores a backed up key to a vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @return the KeyBundle object if successful. + */ + public KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup) { + return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).toBlocking().single().body(); + } + + /** + * Restores a backed up key to a vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup), serviceCallback); + } + + /** + * Restores a backed up key to a vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @return the observable to the KeyBundle object + */ + public Observable restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup) { + return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Restores a backed up key to a vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @return the observable to the KeyBundle object + */ + public Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (keyBundleBackup == null) { + throw new IllegalArgumentException("Parameter keyBundleBackup is required and cannot be null."); + } + KeyRestoreParameters parameters = new KeyRestoreParameters(); + parameters.withKeyBundleBackup(keyBundleBackup); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.restoreKey(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = restoreKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse restoreKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); + } + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable> encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.encrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = encryptDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse encryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Decrypts a single block of encrypted data. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * Decrypts a single block of encrypted data. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); + } + + /** + * Decrypts a single block of encrypted data. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Decrypts a single block of encrypted data. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.decrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = decryptDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse decryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Creates a signature from a digest using the specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param value the Base64Url value + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * Creates a signature from a digest using the specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); + } + + /** + * Creates a signature from a digest using the specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates a signature from a digest using the specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeySignParameters parameters = new KeySignParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.sign(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = signDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse signDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Verifies a signature using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @return the KeyVerifyResult object if successful. + */ + public KeyVerifyResult verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { + return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).toBlocking().single().body(); + } + + /** + * Verifies a signature using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature), serviceCallback); + } + + /** + * Verifies a signature using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @return the observable to the KeyVerifyResult object + */ + public Observable verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { + return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).map(new Func1, KeyVerifyResult>() { + @Override + public KeyVerifyResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Verifies a signature using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'RS256', 'RS384', 'RS512', 'RSNULL' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @return the observable to the KeyVerifyResult object + */ + public Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (digest == null) { + throw new IllegalArgumentException("Parameter digest is required and cannot be null."); + } + if (signature == null) { + throw new IllegalArgumentException("Parameter signature is required and cannot be null."); + } + KeyVerifyParameters parameters = new KeyVerifyParameters(); + parameters.withAlgorithm(algorithm); + parameters.withDigest(digest); + parameters.withSignature(signature); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.verify(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = verifyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse verifyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Wraps a symmetric key using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * Wraps a symmetric key using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); + } + + /** + * Wraps a symmetric key using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Wraps a symmetric key using a specified key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable> wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.wrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = wrapKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse wrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), serviceCallback); + } + + /** + * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Unwraps a symmetric key using the specified key that was initially used for wrapping that key. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA1_5' + * @param value the Base64Url value + * @return the observable to the KeyOperationResult object + */ + public Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.unwrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = unwrapKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse unwrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @return the SecretBundle object if successful. + */ + public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).toBlocking().single().body(); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value), serviceCallback); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @return the observable to the SecretBundle object + */ + public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @return the observable to the SecretBundle object + */ + public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + final Map tags = null; + final String contentType = null; + final SecretAttributes secretAttributes = null; + SecretSetParameters parameters = new SecretSetParameters(); + parameters.withValue(value); + parameters.withTags(null); + parameters.withContentType(null); + parameters.withSecretAttributes(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @return the SecretBundle object if successful. + */ + public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).toBlocking().single().body(); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes), serviceCallback); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @return the observable to the SecretBundle object + */ + public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets a secret in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @return the observable to the SecretBundle object + */ + public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + Validator.validate(tags); + Validator.validate(secretAttributes); + SecretSetParameters parameters = new SecretSetParameters(); + parameters.withValue(value); + parameters.withTags(tags); + parameters.withContentType(contentType); + parameters.withSecretAttributes(secretAttributes); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes a secret from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the SecretBundle object if successful. + */ + public SecretBundle deleteSecret(String vaultBaseUrl, String secretName) { + return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); + } + + /** + * Deletes a secret from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName), serviceCallback); + } + + /** + * Deletes a secret from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the observable to the SecretBundle object + */ + public Observable deleteSecretAsync(String vaultBaseUrl, String secretName) { + return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes a secret from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the observable to the SecretBundle object + */ + public Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @return the SecretBundle object if successful. + */ + public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), serviceCallback); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @return the observable to the SecretBundle object + */ + public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @return the observable to the SecretBundle object + */ + public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (secretVersion == null) { + throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final String contentType = null; + final SecretAttributes secretAttributes = null; + final Map tags = null; + SecretUpdateParameters parameters = new SecretUpdateParameters(); + parameters.withContentType(null); + parameters.withSecretAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @return the SecretBundle object if successful. + */ + public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).toBlocking().single().body(); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags), serviceCallback); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the SecretBundle object + */ + public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the attributes associated with a specified secret in a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the SecretBundle object + */ + public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (secretVersion == null) { + throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(secretAttributes); + Validator.validate(tags); + SecretUpdateParameters parameters = new SecretUpdateParameters(); + parameters.withContentType(contentType); + parameters.withSecretAttributes(secretAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @return the SecretBundle object if successful. + */ + public SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion) { + return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); + } + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), serviceCallback); + } + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @return the observable to the SecretBundle object + */ + public Observable getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { + return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @return the observable to the SecretBundle object + */ + public Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (secretVersion == null) { + throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecrets(final String vaultBaseUrl) { + ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretsSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretsAsync(final String vaultBaseUrl) { + return getSecretsWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl) { + return getSecretsSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecrets(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretsSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults) { + return getSecretsWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getSecretsSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName) { + ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName) { + return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName) { + return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificates(final String vaultBaseUrl) { + ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificatesSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificatesAsync(final String vaultBaseUrl) { + return getCertificatesWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl) { + return getCertificatesSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificates(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificatesSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults) { + return getCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getCertificatesSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificates(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificatesDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes a certificate from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName) { + return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Deletes a certificate from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Deletes a certificate from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateBundle object + */ + public Observable deleteCertificateAsync(String vaultBaseUrl, String certificateName) { + return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes a certificate from a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateBundle object + */ + public Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Sets the certificate contacts for the specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @return the Contacts object if successful. + */ + public Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts) { + return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).toBlocking().single().body(); + } + + /** + * Sets the certificate contacts for the specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts), serviceCallback); + } + + /** + * Sets the certificate contacts for the specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @return the observable to the Contacts object + */ + public Observable setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts) { + return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).map(new Func1, Contacts>() { + @Override + public Contacts call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets the certificate contacts for the specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @return the observable to the Contacts object + */ + public Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (contacts == null) { + throw new IllegalArgumentException("Parameter contacts is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(contacts); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setCertificateContacts(contacts, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setCertificateContactsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Lists the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the Contacts object if successful. + */ + public Contacts getCertificateContacts(String vaultBaseUrl) { + return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); + } + + /** + * Lists the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateContactsWithServiceResponseAsync(vaultBaseUrl), serviceCallback); + } + + /** + * Lists the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the Contacts object + */ + public Observable getCertificateContactsAsync(String vaultBaseUrl) { + return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { + @Override + public Contacts call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Lists the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the Contacts object + */ + public Observable> getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateContactsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the Contacts object if successful. + */ + public Contacts deleteCertificateContacts(String vaultBaseUrl) { + return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); + } + + /** + * Deletes the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl), serviceCallback); + } + + /** + * Deletes the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the Contacts object + */ + public Observable deleteCertificateContactsAsync(String vaultBaseUrl) { + return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { + @Override + public Contacts call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes the certificate contacts for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the Contacts object + */ + public Observable> deleteCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateContactsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + public PagedList getCertificateIssuers(final String vaultBaseUrl) { + ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateIssuersSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable> getCertificateIssuersAsync(final String vaultBaseUrl) { + return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl) { + return getCertificateIssuersSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateIssuersDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + public PagedList getCertificateIssuers(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults) { + return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateIssuersDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateIssuersDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @return the IssuerBundle object if successful. + */ + public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).toBlocking().single().body(); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider), serviceCallback); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @return the observable to the IssuerBundle object + */ + public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @return the observable to the IssuerBundle object + */ + public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (provider == null) { + throw new IllegalArgumentException("Parameter provider is required and cannot be null."); + } + final IssuerCredentials credentials = null; + final OrganizationDetails organizationDetails = null; + final IssuerAttributes attributes = null; + CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); + parameter.withProvider(provider); + parameter.withCredentials(null); + parameter.withOrganizationDetails(null); + parameter.withAttributes(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @return the IssuerBundle object if successful. + */ + public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), serviceCallback); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @return the observable to the IssuerBundle object + */ + public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @return the observable to the IssuerBundle object + */ + public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (provider == null) { + throw new IllegalArgumentException("Parameter provider is required and cannot be null."); + } + Validator.validate(credentials); + Validator.validate(organizationDetails); + Validator.validate(attributes); + CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); + parameter.withProvider(provider); + parameter.withCredentials(credentials); + parameter.withOrganizationDetails(organizationDetails); + parameter.withAttributes(attributes); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the IssuerBundle object if successful. + */ + public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), serviceCallback); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the observable to the IssuerBundle object + */ + public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the observable to the IssuerBundle object + */ + public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final String provider = null; + final IssuerCredentials credentials = null; + final OrganizationDetails organizationDetails = null; + final IssuerAttributes attributes = null; + CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); + parameter.withProvider(null); + parameter.withCredentials(null); + parameter.withOrganizationDetails(null); + parameter.withAttributes(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @return the IssuerBundle object if successful. + */ + public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), serviceCallback); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @return the observable to the IssuerBundle object + */ + public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @return the observable to the IssuerBundle object + */ + public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(credentials); + Validator.validate(organizationDetails); + Validator.validate(attributes); + CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); + parameter.withProvider(provider); + parameter.withCredentials(credentials); + parameter.withOrganizationDetails(organizationDetails); + parameter.withAttributes(attributes); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Lists the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the IssuerBundle object if successful. + */ + public IssuerBundle getCertificateIssuer(String vaultBaseUrl, String issuerName) { + return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); + } + + /** + * Lists the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), serviceCallback); + } + + /** + * Lists the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the observable to the IssuerBundle object + */ + public Observable getCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { + return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Lists the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the observable to the IssuerBundle object + */ + public Observable> getCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the IssuerBundle object if successful. + */ + public IssuerBundle deleteCertificateIssuer(String vaultBaseUrl, String issuerName) { + return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); + } + + /** + * Deletes the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), serviceCallback); + } + + /** + * Deletes the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the observable to the IssuerBundle object + */ + public Observable deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { + return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes the specified certificate issuer. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @return the observable to the IssuerBundle object + */ + public Observable> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the CertificateOperation object if successful. + */ + public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateOperation object + */ + public Observable createCertificateAsync(String vaultBaseUrl, String certificateName) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateOperation object + */ + public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final CertificatePolicy certificatePolicy = null; + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateCreateParameters parameters = new CertificateCreateParameters(); + parameters.withCertificatePolicy(null); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the CertificateOperation object if successful. + */ + public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags), serviceCallback); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateOperation object + */ + public Observable createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates a new certificate. If this is the first version, the certificate resource is created. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateOperation object + */ + public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(certificatePolicy); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateCreateParameters parameters = new CertificateCreateParameters(); + parameters.withCertificatePolicy(certificatePolicy); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(202, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).toBlocking().single().body(); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate), serviceCallback); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @return the observable to the CertificateBundle object + */ + public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @return the observable to the CertificateBundle object + */ + public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (base64EncodedCertificate == null) { + throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); + } + final String password = null; + final CertificatePolicy certificatePolicy = null; + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateImportParameters parameters = new CertificateImportParameters(); + parameters.withBase64EncodedCertificate(base64EncodedCertificate); + parameters.withPassword(null); + parameters.withCertificatePolicy(null); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags), serviceCallback); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateBundle object + */ + public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Imports a certificate into a specified key vault. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateBundle object + */ + public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (base64EncodedCertificate == null) { + throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); + } + Validator.validate(certificatePolicy); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateImportParameters parameters = new CertificateImportParameters(); + parameters.withBase64EncodedCertificate(base64EncodedCertificate); + parameters.withPassword(password); + parameters.withCertificatePolicy(certificatePolicy); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse importCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName) { + ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName) { + return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName) { + return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Lists the policy for a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @return the CertificatePolicy object if successful. + */ + public CertificatePolicy getCertificatePolicy(String vaultBaseUrl, String certificateName) { + return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Lists the policy for a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Lists the policy for a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @return the observable to the CertificatePolicy object + */ + public Observable getCertificatePolicyAsync(String vaultBaseUrl, String certificateName) { + return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificatePolicy>() { + @Override + public CertificatePolicy call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Lists the policy for a certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @return the observable to the CertificatePolicy object + */ + public Observable> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificatePolicy(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificatePolicyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @return the CertificatePolicy object if successful. + */ + public CertificatePolicy updateCertificatePolicy(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { + return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).toBlocking().single().body(); + } + + /** + * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy), serviceCallback); + } + + /** + * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @return the observable to the CertificatePolicy object + */ + public Observable updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { + return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).map(new Func1, CertificatePolicy>() { + @Override + public CertificatePolicy call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the policy for a certificate. Set specified members in the certificate policy. Leave others as null. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @return the observable to the CertificatePolicy object + */ + public Observable> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificatePolicy == null) { + throw new IllegalArgumentException("Parameter certificatePolicy is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(certificatePolicy); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificatePolicy(certificateName, certificatePolicy, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificatePolicyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), serviceCallback); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @return the observable to the CertificateBundle object + */ + public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @return the observable to the CertificateBundle object + */ + public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificateVersion == null) { + throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final CertificatePolicy certificatePolicy = null; + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateUpdateParameters parameters = new CertificateUpdateParameters(); + parameters.withCertificatePolicy(null); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags), serviceCallback); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateBundle object + */ + public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified attributes associated with the given certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateBundle object + */ + public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificateVersion == null) { + throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(certificatePolicy); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateUpdateParameters parameters = new CertificateUpdateParameters(); + parameters.withCertificatePolicy(certificatePolicy); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { + return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); + } + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), serviceCallback); + } + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @return the observable to the CertificateBundle object + */ + public Observable getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @return the observable to the CertificateBundle object + */ + public Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificateVersion == null) { + throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates a certificate operation. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @return the CertificateOperation object if successful. + */ + public CertificateOperation updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { + return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).toBlocking().single().body(); + } + + /** + * Updates a certificate operation. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested), serviceCallback); + } + + /** + * Updates a certificate operation. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @return the observable to the CertificateOperation object + */ + public Observable updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { + return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates a certificate operation. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @return the observable to the CertificateOperation object + */ + public Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + CertificateOperationUpdateParameter certificateOperation = new CertificateOperationUpdateParameter(); + certificateOperation.withCancellationRequested(cancellationRequested); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), certificateOperation, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Gets the operation associated with a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the CertificateOperation object if successful. + */ + public CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName) { + return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Gets the operation associated with a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Gets the operation associated with a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateOperation object + */ + public Observable getCertificateOperationAsync(String vaultBaseUrl, String certificateName) { + return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the operation associated with a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateOperation object + */ + public Observable> getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes the operation for a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the CertificateOperation object if successful. + */ + public CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName) { + return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Deletes the operation for a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Deletes the operation for a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateOperation object + */ + public Observable deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName) { + return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes the operation for a specified certificate. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @return the observable to the CertificateOperation object + */ + public Observable> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).toBlocking().single().body(); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates), serviceCallback); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @return the observable to the CertificateBundle object + */ + public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @return the observable to the CertificateBundle object + */ + public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (x509Certificates == null) { + throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); + } + Validator.validate(x509Certificates); + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateMergeParameters parameters = new CertificateMergeParameters(); + parameters.withX509Certificates(x509Certificates); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = mergeCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the CertificateBundle object if successful. + */ + public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags), serviceCallback); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateBundle object + */ + public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the server. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @return the observable to the CertificateBundle object + */ + public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (x509Certificates == null) { + throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); + } + Validator.validate(x509Certificates); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateMergeParameters parameters = new CertificateMergeParameters(); + parameters.withX509Certificates(x509Certificates); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = mergeCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse mergeCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(201, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeyVersionsNext(final String nextPageLink) { + ServiceResponse> response = getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeyVersionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. Authorization: Requires the keys/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeyVersionsNextAsync(final String nextPageLink) { + return getKeyVersionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full key identifier, attributes, and tags are provided in the response. Authorization: Requires the keys/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeyVersionsNextWithServiceResponseAsync(final String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. Authorization: Requires the keys/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeyVersionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getKeyVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeyVersionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeyVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List keys in the specified vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeysNext(final String nextPageLink) { + ServiceResponse> response = getKeysNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List keys in the specified vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeysNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List keys in the specified vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeysNextAsync(final String nextPageLink) { + return getKeysNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List keys in the specified vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeysNextWithServiceResponseAsync(final String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List keys in the specified vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeysNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getKeysNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeysNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeysNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List secrets in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretsNext(final String nextPageLink) { + ServiceResponse> response = getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List secrets in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List secrets in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretsNextAsync(final String nextPageLink) { + return getSecretsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretsNextWithServiceResponseAsync(final String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List secrets in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getSecretsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List the versions of the specified secret. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretVersionsNext(final String nextPageLink) { + ServiceResponse> response = getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List the versions of the specified secret. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretVersionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List the versions of the specified secret. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretVersionsNextAsync(final String nextPageLink) { + return getSecretVersionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretVersionsNextWithServiceResponseAsync(final String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List the versions of the specified secret. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretVersionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getSecretVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretVersionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List certificates in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificatesNext(final String nextPageLink) { + ServiceResponse> response = getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List certificates in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificatesNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List certificates in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificatesNextAsync(final String nextPageLink) { + return getCertificatesNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificatesNextWithServiceResponseAsync(final String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List certificates in a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificatesNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getCertificatesNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificatesNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificatesNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + public PagedList getCertificateIssuersNext(final String nextPageLink) { + ServiceResponse> response = getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List certificate issuers for a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateIssuersNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable> getCertificateIssuersNextAsync(final String nextPageLink) { + return getCertificateIssuersNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable>> getCertificateIssuersNextWithServiceResponseAsync(final String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List certificate issuers for a specified key vault. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateIssuersNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getCertificateIssuersNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateIssuersNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateIssuersNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List the versions of a certificate. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificateVersionsNext(final String nextPageLink) { + ServiceResponse> response = getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List the versions of a certificate. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceCall object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateVersionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List the versions of a certificate. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificateVersionsNextAsync(final String nextPageLink) { + return getCertificateVersionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List the versions of a certificate. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificateVersionsNextWithServiceResponseAsync(final String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List the versions of a certificate. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateVersionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getCertificateVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateVersionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/ObjectIdentifier.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/ObjectIdentifier.java index e2086a21f5ebd..17d0955b03183 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/ObjectIdentifier.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/ObjectIdentifier.java @@ -1,220 +1,220 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -import java.net.URI; -import java.net.URISyntaxException; -import java.security.InvalidParameterException; - -/** - * The key vault object identifier. - */ -public class ObjectIdentifier { - - /** - * Verifies whether the identifier belongs to a key vault object. - * @param collection the object collection e.g. 'keys', 'secrets' and 'certificates'. - * @param identifier the key vault object identifier. - * @return true if the identifier belongs to a key vault object. False otherwise. - */ - protected static boolean isObjectIdentifier(String collection, String identifier) { - - collection = verifyNonEmpty(collection, "collection"); - identifier = verifyNonEmpty(identifier, "identifier"); - - URI baseUri; - try { - baseUri = new URI(identifier); - } catch (URISyntaxException e) { - return false; - } - - // Path is of the form "/collection/name[/version]" - String[] segments = baseUri.getPath().split("/"); - if (segments.length != 3 && segments.length != 4) { - return false; - } - - if (!collection.equals(segments[1])) { - return false; - } - - return true; - } - - /** - * Verifies a value is null or empty. Returns the value if non-empty and throws exception if empty. - * @param value the value to verify. - * @param argName the name of the value. - * @return Returns the value if non-empty. - */ - protected static String verifyNonEmpty(String value, String argName) { - if (value != null) { - value = value.trim(); - if (value.isEmpty()) { - value = null; - } - } - if (value == null) { - throw new IllegalArgumentException(argName); - } - return value; - } - - protected String vault; - protected String name; - protected String version; - protected String baseIdentifier; - protected String identifier; - - /** - * Constructor. - */ - protected ObjectIdentifier() { - } - - /** - * Constructor. - * @param vault the vault url. - * @param collection the object collection name. e.g. 'keys', 'secrets' and 'certificates'. - * @param name the object name. - */ - protected ObjectIdentifier(String vault, String collection, String name) { - this(vault, collection, name, null); - } - - /** - * Constructor. - * @param vault the vault url. - * @param collection the object collection name. e.g. 'keys', 'secrets' and 'certificates'. - * @param name the object name. - * @param version the object version. - */ - protected ObjectIdentifier(String vault, String collection, String name, String version) { - - vault = verifyNonEmpty(vault, "vault"); - collection = verifyNonEmpty(collection, "collection"); - name = verifyNonEmpty(name, "name"); - - if (version != null) { - version = version.trim(); - } else { - version = ""; - } - - URI baseUri; - try { - baseUri = new URI(vault); - } catch (URISyntaxException e) { - throw new InvalidParameterException(String.format("Invalid ObjectIdentifier: %s. Not a valid URI", vault)); - } - - this.name = name; - this.version = version; - this.vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); - baseIdentifier = String.format("%s/%s/%s", this.vault, collection, this.name); - identifier = version.isEmpty() - ? baseIdentifier - : String.format("%s/%s", baseIdentifier, version); - } - - /** - * Constructor. - * @param collection the object collection name. e.g. 'keys', 'secrets' and 'certificates'. - * @param identifier the object identifier. - */ - protected ObjectIdentifier(String collection, String identifier) { - - if (collection == null || collection.length() == 0) { - throw new IllegalArgumentException("collection"); - } - - if (identifier == null || identifier.length() == 0) { - throw new IllegalArgumentException("identifier"); - } - - URI baseUri; - try { - baseUri = new URI(identifier); - } catch (URISyntaxException e) { - throw new InvalidParameterException( - String.format("Invalid ObjectIdentifier: %s. Not a valid URI", identifier)); - } - - // Path is of the form "/collection/name[/version]" - String[] segments = baseUri.getPath().split("/"); - if (segments.length != 3 && segments.length != 4) { - throw new InvalidParameterException(String - .format("Invalid ObjectIdentifier: %s. Bad number of segments: %d", identifier, segments.length)); - } - - if (!collection.equals(segments[1])) { - throw new InvalidParameterException( - String.format("Invalid ObjectIdentifier: %s. segment [1] should be '%s', found '%s'", identifier, - collection, segments[1])); - } - - name = segments[2]; - version = segments.length == 4 ? segments[3] : null; - vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); - baseIdentifier = String.format("%s/%s/%s", vault, collection, name); - this.identifier = (version == null || version.equals("")) ? baseIdentifier - : String.format("%s/%s", baseIdentifier, version); - } - - /** - * Gets full authority for a URL by appending port to the url authority. - * @param uri the URL to get the full authority for. - * @return the full authority. - */ - protected String getFullAuthority(URI uri) { - String authority = uri.getAuthority(); - if (!authority.contains(":") && uri.getPort() > 0) { - // Append port for complete authority - authority = String.format("%s:%d", uri.getAuthority(), uri.getPort()); - } - return authority; - } - - /** - * @return The base identifier for an object, does not include the object - * version. - */ - public String baseIdentifier() { - return baseIdentifier; - } - - /** - * @return The identifier for an object, includes the objects version. - */ - public String identifier() { - return identifier; - } - - /** - * @return The name of the object. - */ - public String name() { - return name; - } - - /** - * @return The vault containing the object. - */ - public String vault() { - return vault; - } - - /** - * @return The version of the object. - */ - public String version() { - return version; - } - - @Override - public String toString() { - return identifier; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +import java.net.URI; +import java.net.URISyntaxException; +import java.security.InvalidParameterException; + +/** + * The key vault object identifier. + */ +public class ObjectIdentifier { + + /** + * Verifies whether the identifier belongs to a key vault object. + * @param collection the object collection e.g. 'keys', 'secrets' and 'certificates'. + * @param identifier the key vault object identifier. + * @return true if the identifier belongs to a key vault object. False otherwise. + */ + protected static boolean isObjectIdentifier(String collection, String identifier) { + + collection = verifyNonEmpty(collection, "collection"); + identifier = verifyNonEmpty(identifier, "identifier"); + + URI baseUri; + try { + baseUri = new URI(identifier); + } catch (URISyntaxException e) { + return false; + } + + // Path is of the form "/collection/name[/version]" + String[] segments = baseUri.getPath().split("/"); + if (segments.length != 3 && segments.length != 4) { + return false; + } + + if (!collection.equals(segments[1])) { + return false; + } + + return true; + } + + /** + * Verifies a value is null or empty. Returns the value if non-empty and throws exception if empty. + * @param value the value to verify. + * @param argName the name of the value. + * @return Returns the value if non-empty. + */ + protected static String verifyNonEmpty(String value, String argName) { + if (value != null) { + value = value.trim(); + if (value.isEmpty()) { + value = null; + } + } + if (value == null) { + throw new IllegalArgumentException(argName); + } + return value; + } + + protected String vault; + protected String name; + protected String version; + protected String baseIdentifier; + protected String identifier; + + /** + * Constructor. + */ + protected ObjectIdentifier() { + } + + /** + * Constructor. + * @param vault the vault url. + * @param collection the object collection name. e.g. 'keys', 'secrets' and 'certificates'. + * @param name the object name. + */ + protected ObjectIdentifier(String vault, String collection, String name) { + this(vault, collection, name, null); + } + + /** + * Constructor. + * @param vault the vault url. + * @param collection the object collection name. e.g. 'keys', 'secrets' and 'certificates'. + * @param name the object name. + * @param version the object version. + */ + protected ObjectIdentifier(String vault, String collection, String name, String version) { + + vault = verifyNonEmpty(vault, "vault"); + collection = verifyNonEmpty(collection, "collection"); + name = verifyNonEmpty(name, "name"); + + if (version != null) { + version = version.trim(); + } else { + version = ""; + } + + URI baseUri; + try { + baseUri = new URI(vault); + } catch (URISyntaxException e) { + throw new InvalidParameterException(String.format("Invalid ObjectIdentifier: %s. Not a valid URI", vault)); + } + + this.name = name; + this.version = version; + this.vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); + baseIdentifier = String.format("%s/%s/%s", this.vault, collection, this.name); + identifier = version.isEmpty() + ? baseIdentifier + : String.format("%s/%s", baseIdentifier, version); + } + + /** + * Constructor. + * @param collection the object collection name. e.g. 'keys', 'secrets' and 'certificates'. + * @param identifier the object identifier. + */ + protected ObjectIdentifier(String collection, String identifier) { + + if (collection == null || collection.length() == 0) { + throw new IllegalArgumentException("collection"); + } + + if (identifier == null || identifier.length() == 0) { + throw new IllegalArgumentException("identifier"); + } + + URI baseUri; + try { + baseUri = new URI(identifier); + } catch (URISyntaxException e) { + throw new InvalidParameterException( + String.format("Invalid ObjectIdentifier: %s. Not a valid URI", identifier)); + } + + // Path is of the form "/collection/name[/version]" + String[] segments = baseUri.getPath().split("/"); + if (segments.length != 3 && segments.length != 4) { + throw new InvalidParameterException(String + .format("Invalid ObjectIdentifier: %s. Bad number of segments: %d", identifier, segments.length)); + } + + if (!collection.equals(segments[1])) { + throw new InvalidParameterException( + String.format("Invalid ObjectIdentifier: %s. segment [1] should be '%s', found '%s'", identifier, + collection, segments[1])); + } + + name = segments[2]; + version = segments.length == 4 ? segments[3] : null; + vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri)); + baseIdentifier = String.format("%s/%s/%s", vault, collection, name); + this.identifier = (version == null || version.equals("")) ? baseIdentifier + : String.format("%s/%s", baseIdentifier, version); + } + + /** + * Gets full authority for a URL by appending port to the url authority. + * @param uri the URL to get the full authority for. + * @return the full authority. + */ + protected String getFullAuthority(URI uri) { + String authority = uri.getAuthority(); + if (!authority.contains(":") && uri.getPort() > 0) { + // Append port for complete authority + authority = String.format("%s:%d", uri.getAuthority(), uri.getPort()); + } + return authority; + } + + /** + * @return The base identifier for an object, does not include the object + * version. + */ + public String baseIdentifier() { + return baseIdentifier; + } + + /** + * @return The identifier for an object, includes the objects version. + */ + public String identifier() { + return identifier; + } + + /** + * @return The name of the object. + */ + public String name() { + return name; + } + + /** + * @return The vault containing the object. + */ + public String vault() { + return vault; + } + + /** + * @return The version of the object. + */ + public String version() { + return version; + } + + @Override + public String toString() { + return identifier; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/SecretIdentifier.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/SecretIdentifier.java index 232aec69c5eea..41345ae39cbd9 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/SecretIdentifier.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/SecretIdentifier.java @@ -1,46 +1,46 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault; - -/** - * Key Vault secret identifier. - */ -public final class SecretIdentifier extends ObjectIdentifier { - - /** - * Verifies whether the identifier belongs to a key vault secret. - * @param identifier the key vault secret identifier. - * @return true if the identifier belongs to a key vault secret. False otherwise. - */ - public static boolean isSecretIdentifier(String identifier) { - return ObjectIdentifier.isObjectIdentifier("secrets", identifier); - } - - /** - * Constructor. - * @param vault the vault url. - * @param name the name of secret. - */ - public SecretIdentifier(String vault, String name) { - this(vault, name, ""); - } - - /** - * Constructor. - * @param vault the vault url. - * @param name the name of secret. - * @param version the secret version. - */ - public SecretIdentifier(String vault, String name, String version) { - super(vault, "secrets", name, version); - } - - /** - * Constructor. - * @param identifier the object identifier. - */ - public SecretIdentifier(String identifier) { - super("secrets", identifier); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault; + +/** + * Key Vault secret identifier. + */ +public final class SecretIdentifier extends ObjectIdentifier { + + /** + * Verifies whether the identifier belongs to a key vault secret. + * @param identifier the key vault secret identifier. + * @return true if the identifier belongs to a key vault secret. False otherwise. + */ + public static boolean isSecretIdentifier(String identifier) { + return ObjectIdentifier.isObjectIdentifier("secrets", identifier); + } + + /** + * Constructor. + * @param vault the vault url. + * @param name the name of secret. + */ + public SecretIdentifier(String vault, String name) { + this(vault, name, ""); + } + + /** + * Constructor. + * @param vault the vault url. + * @param name the name of secret. + * @param version the secret version. + */ + public SecretIdentifier(String vault, String name, String version) { + super(vault, "secrets", name, version); + } + + /** + * Constructor. + * @param identifier the object identifier. + */ + public SecretIdentifier(String identifier) { + super("secrets", identifier); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/AuthenticationResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/AuthenticationResult.java index 24a075550f7d1..6814f0be5ece6 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/AuthenticationResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/AuthenticationResult.java @@ -1,43 +1,43 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -package com.microsoft.azure.keyvault.authentication; - -/** - * Stores authentication token and client key used for proof of possession - * authentication. - */ -public class AuthenticationResult { - private String authToken; - private String popKey; - - /** - * Constructor. - * - * @param authToken - * authentication token string. - * @param popKey - * serialized json web key used for pop authentication. - */ - public AuthenticationResult(String authToken, String popKey) { - this.authToken = authToken; - this.popKey = popKey; - } - - /** - * Retrieve stored authentication token. - * - * @return authentication token. - */ - public String getAuthToken() { - return authToken; - } - - /** - * Retrieve stored PoP key. - * - * @return proof of possession key. - */ - public String getPopKey() { - return popKey; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.microsoft.azure.keyvault.authentication; + +/** + * Stores authentication token and client key used for proof of possession + * authentication. + */ +public class AuthenticationResult { + private String authToken; + private String popKey; + + /** + * Constructor. + * + * @param authToken + * authentication token string. + * @param popKey + * serialized json web key used for pop authentication. + */ + public AuthenticationResult(String authToken, String popKey) { + this.authToken = authToken; + this.popKey = popKey; + } + + /** + * Retrieve stored authentication token. + * + * @return authentication token. + */ + public String getAuthToken() { + return authToken; + } + + /** + * Retrieve stored PoP key. + * + * @return proof of possession key. + */ + public String getPopKey() { + return popKey; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/ChallengeCache.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/ChallengeCache.java index b8289971832da..ff9f194194b93 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/ChallengeCache.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/ChallengeCache.java @@ -1,73 +1,73 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.authentication; - -import java.util.HashMap; -import java.util.Locale; -import java.util.Map; - -import okhttp3.HttpUrl; - -/** - * Handles caching of the challenge. - */ -class ChallengeCache { - - private final HashMap> cachedChallenges = new HashMap>(); - - /** - * Uses authority to retrieve the cached values. - * - * @param url - * the url that is used as a cache key. - * @return cached value or null if value is not available. - */ - public Map getCachedChallenge(HttpUrl url) { - if (url == null) { - return null; - } - String authority = getAuthority(url); - authority = authority.toLowerCase(Locale.ENGLISH); - return cachedChallenges.get(authority); - } - - /** - * Uses authority to cache challenge. - * - * @param url - * the url that is used as a cache key. - * @param challenge - * the challenge to cache. - */ - public void addCachedChallenge(HttpUrl url, Map challenge) { - if (url == null || challenge == null) { - return; - } - String authority = getAuthority(url); - authority = authority.toLowerCase(Locale.ENGLISH); - cachedChallenges.put(authority, challenge); - } - - /** - * Gets authority of a url. - * - * @param url - * the url to get the authority for. - * @return the authority. - */ - public String getAuthority(HttpUrl url) { - String scheme = url.scheme(); - String host = url.host(); - int port = url.port(); - StringBuilder builder = new StringBuilder(); - if (scheme != null) { - builder.append(scheme).append("://"); - } - builder.append(host); - if (port >= 0) { - builder.append(':').append(port); - } - return builder.toString(); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.authentication; + +import java.util.HashMap; +import java.util.Locale; +import java.util.Map; + +import okhttp3.HttpUrl; + +/** + * Handles caching of the challenge. + */ +class ChallengeCache { + + private final HashMap> cachedChallenges = new HashMap>(); + + /** + * Uses authority to retrieve the cached values. + * + * @param url + * the url that is used as a cache key. + * @return cached value or null if value is not available. + */ + public Map getCachedChallenge(HttpUrl url) { + if (url == null) { + return null; + } + String authority = getAuthority(url); + authority = authority.toLowerCase(Locale.ENGLISH); + return cachedChallenges.get(authority); + } + + /** + * Uses authority to cache challenge. + * + * @param url + * the url that is used as a cache key. + * @param challenge + * the challenge to cache. + */ + public void addCachedChallenge(HttpUrl url, Map challenge) { + if (url == null || challenge == null) { + return; + } + String authority = getAuthority(url); + authority = authority.toLowerCase(Locale.ENGLISH); + cachedChallenges.put(authority, challenge); + } + + /** + * Gets authority of a url. + * + * @param url + * the url to get the authority for. + * @return the authority. + */ + public String getAuthority(HttpUrl url) { + String scheme = url.scheme(); + String host = url.host(); + int port = url.port(); + StringBuilder builder = new StringBuilder(); + if (scheme != null) { + builder.append(scheme).append("://"); + } + builder.append(host); + if (port >= 0) { + builder.append(':').append(port); + } + return builder.toString(); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/KeyVaultCredentials.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/KeyVaultCredentials.java index 0674775211769..116a5f9741b45 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/KeyVaultCredentials.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/KeyVaultCredentials.java @@ -1,419 +1,419 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.authentication; - -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; -import java.util.Arrays; -import java.util.List; -import java.util.UUID; -import java.security.KeyPairGenerator; -import java.security.NoSuchAlgorithmException; - -import com.microsoft.rest.credentials.ServiceClientCredentials; -import com.microsoft.azure.keyvault.messagesecurity.HttpMessageSecurity; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; - -import okhttp3.HttpUrl; -import okhttp3.Interceptor; -import okhttp3.OkHttpClient; -import okhttp3.Request; -import okhttp3.RequestBody; -import okhttp3.MediaType; -import okhttp3.Response; - -import org.apache.commons.lang3.tuple.Pair; - -/** - * An implementation of {@link ServiceClientCredentials} that supports automatic - * bearer token refresh. - * - */ -public abstract class KeyVaultCredentials implements ServiceClientCredentials { - - private static final String WWW_AUTHENTICATE = "WWW-Authenticate"; - private static final String BEARER_TOKEP_REFIX = "Bearer "; - private static final String CLIENT_ENCRYPTION_KEY_TYPE = "RSA"; - private static final int CLIENT_ENCRYPTION_KEY_SIZE = 2048; - private List supportedMethods = Arrays.asList("sign", "verify", "encrypt", "decrypt", "wrapkey", - "unwrapkey"); - - private JsonWebKey clientEncryptionKey = null; - - private final ChallengeCache cache = new ChallengeCache(); - - @Override - public void applyCredentialsFilter(OkHttpClient.Builder clientBuilder) { - - clientBuilder.addInterceptor(new Interceptor() { - - @Override - public Response intercept(Chain chain) throws IOException { - - Request originalRequest = chain.request(); - HttpUrl url = chain.request().url(); - - Map challengeMap = cache.getCachedChallenge(url); - Response response; - Pair authenticatedRequestPair; - - if (challengeMap != null) { - // challenge is cached, so there is no need to send an empty auth request. - authenticatedRequestPair = buildAuthenticatedRequest(originalRequest, challengeMap); - } else { - // challenge is new for the URL and is not cached, - // so the request is sent out to get the challenges in - // response - response = chain.proceed(buildEmptyRequest(originalRequest)); - - if (response.code() == 200) { - return response; - } else if (response.code() != 401) { - throw new IOException("Unexpected unauthorized response."); - } - authenticatedRequestPair = buildAuthenticatedRequest(originalRequest, response); - } - - response = chain.proceed(authenticatedRequestPair.getLeft()); - - if (response.code() == 200) { - return authenticatedRequestPair.getRight().unprotectResponse(response); - } else { - return response; - } - } - }); - } - - /** - * Builds request with authenticated header. Protects request body if supported. - * - * @param originalRequest - * unprotected request without auth token. - * @param challengeMap - * the challenge map. - * @return Pair of protected request and HttpMessageSecurity used for - * encryption. - */ - private Pair buildAuthenticatedRequest(Request originalRequest, - Map challengeMap) throws IOException { - - Boolean supportsPop = supportsMessageProtection(originalRequest.url().toString(), challengeMap); - - // if the service supports pop and a clientEncryptionKey has not been generated yet, generate - // the key that will be used for encryption on this and all subsequent protected requests - if (supportsPop && this.clientEncryptionKey == null) { - try { - final KeyPairGenerator generator = KeyPairGenerator.getInstance(CLIENT_ENCRYPTION_KEY_TYPE); - - generator.initialize(CLIENT_ENCRYPTION_KEY_SIZE); - - this.clientEncryptionKey = JsonWebKey.fromRSA(generator.generateKeyPair()).withKid(UUID.randomUUID().toString()); - - } catch (NoSuchAlgorithmException e) { - throw new RuntimeException(e); - } - } - - AuthenticationResult authResult = getAuthenticationCredentials(supportsPop, challengeMap); - - if (authResult == null) { - return null; - } - - HttpMessageSecurity httpMessageSecurity = new HttpMessageSecurity(authResult.getAuthToken(), - supportsPop ? authResult.getPopKey() : "", - supportsPop ? challengeMap.get("x-ms-message-encryption-key") : "", - supportsPop ? challengeMap.get("x-ms-message-signing-key") : "", - this.clientEncryptionKey); - - Request request = httpMessageSecurity.protectRequest(originalRequest); - return Pair.of(request, httpMessageSecurity); - } - - /** - * Builds request with authenticated header. Protects request body if supported. - * - * @param originalRequest - * unprotected request without auth token. - * @param response - * response with unauthorized return code. - * @return Pair of protected request and HttpMessageSecurity used for - * encryption. - */ - private Pair buildAuthenticatedRequest(Request originalRequest, Response response) - throws IOException { - String authenticateHeader = response.header(WWW_AUTHENTICATE); - - Map challengeMap = extractChallenge(authenticateHeader, BEARER_TOKEP_REFIX); - - challengeMap.put("x-ms-message-encryption-key", response.header("x-ms-message-encryption-key")); - challengeMap.put("x-ms-message-signing-key", response.header("x-ms-message-signing-key")); - - // Cache the challenge - cache.addCachedChallenge(originalRequest.url(), challengeMap); - - return buildAuthenticatedRequest(originalRequest, challengeMap); - } - - /** - * Removes request body used for EKV authorization. - * - * @param request - * unprotected request without auth token. - * @return request with removed body. - */ - private Request buildEmptyRequest(Request request) { - RequestBody body = RequestBody.create(MediaType.parse("application/json"), "{}"); - if (request.method().equalsIgnoreCase("get")) { - return request; - } else { - return request.newBuilder().method(request.method(), body).build(); - } - } - - /** - * Checks if resource supports message protection. - * - * @param url - * resource url. - * @param challengeMap - * the challenge map. - * @return true if message protection is supported. - */ - private Boolean supportsMessageProtection(String url, Map challengeMap) { - - if (!"true".equals(challengeMap.get("supportspop"))) { - return false; - } - - // Message protection is enabled only for subset of keys operations. - if (!url.toLowerCase().contains("/keys/")) { - return false; - } - - String[] tokens = url.split("\\?")[0].split("/"); - return supportedMethods.contains(tokens[tokens.length - 1]); - } - - /** - * Extracts the authentication challenges from the challenge map and calls the - * authentication callback to get the bearer token and return it. - * - * @param supportsPop - * is resource supports pop authentication. - * @param challengeMap - * the challenge map. - * @return AuthenticationResult with bearer token and PoP key. - */ - private AuthenticationResult getAuthenticationCredentials(Boolean supportsPop, Map challengeMap) { - - String authorization = challengeMap.get("authorization"); - if (authorization == null) { - authorization = challengeMap.get("authorization_uri"); - } - - String resource = challengeMap.get("resource"); - String scope = challengeMap.get("scope"); - String schema = supportsPop ? "pop" : "bearer"; - return doAuthenticate(authorization, resource, scope, schema); - } - - /** - * Extracts the challenge off the authentication header. - * - * @param authenticateHeader - * the authentication header containing all the challenges. - * @param authChallengePrefix - * the authentication challenge name. - * @return a challenge map. - */ - private static Map extractChallenge(String authenticateHeader, String authChallengePrefix) { - if (!isValidChallenge(authenticateHeader, authChallengePrefix)) { - return null; - } - - authenticateHeader = authenticateHeader.toLowerCase().replace(authChallengePrefix.toLowerCase(), ""); - - String[] challenges = authenticateHeader.split(", "); - Map challengeMap = new HashMap(); - for (String pair : challenges) { - String[] keyValue = pair.split("="); - challengeMap.put(keyValue[0].replaceAll("\"", ""), keyValue[1].replaceAll("\"", "")); - } - return challengeMap; - } - - /** - * Verifies whether a challenge is bearer or not. - * - * @param authenticateHeader - * the authentication header containing all the challenges. - * @param authChallengePrefix - * the authentication challenge name. - * @return - */ - private static boolean isValidChallenge(String authenticateHeader, String authChallengePrefix) { - if (authenticateHeader != null && !authenticateHeader.isEmpty() - && authenticateHeader.toLowerCase().startsWith(authChallengePrefix.toLowerCase())) { - return true; - } - return false; - } - - /** - * Abstract method to be implemented. - * - * @param authorization - * Identifier of the authority, a URL. - * @param resource - * Identifier of the target resource that is the recipient of the - * requested token, a URL. - * - * @param scope - * The scope of the authentication request. - * - * @return AuthenticationResult with authorization token and PoP key. - * - * Answers a server challenge with a token header. - *

- * Implementations typically use ADAL to get a token, as performed in - * the sample below: - *

- * - *
-     * @Override
-     * public String doAuthenticate(String authorization, String resource, String scope) {
-     *     String clientId = ...; // client GUID as shown in Azure portal.
-     *     String clientKey = ...; // client key as provided by Azure portal.
-     *     AuthenticationResult token = getAccessTokenFromClientCredentials(authorization, resource, clientId, clientKey);
-     *     return token.getAccessToken();;
-     * }
-     *
-     * private static AuthenticationResult getAccessTokenFromClientCredentials(String authorization, String resource, String clientId, String clientKey) {
-     *     AuthenticationContext context = null;
-     *     AuthenticationResult result = null;
-     *     ExecutorService service = null;
-     *     try {
-     *         service = Executors.newFixedThreadPool(1);
-     *         context = new AuthenticationContext(authorization, false, service);
-     *         ClientCredential credentials = new ClientCredential(clientId, clientKey);
-     *         Future<AuthenticationResult> future = context.acquireToken(resource, credentials, null);
-     *         result = future.get();
-     *     } catch (Exception e) {
-     *         throw new RuntimeException(e);
-     *     } finally {
-     *         service.shutdown();
-     *     }
-     *
-     *     if (result == null) {
-     *         throw new RuntimeException("authentication result was null");
-     *     }
-     *     return result;
-     * }
-     *         
- * - *

- * Note: The client key must be securely stored. It's advised to use - * two client applications - one for development and other for - * production - managed by separate parties. - *

- * - */ - public String doAuthenticate(String authorization, String resource, String scope) { - return ""; - } - - /** - * Method to be implemented. - * - * @param authorization - * Identifier of the authority, a URL. - * @param resource - * Identifier of the target resource that is the recipient of the - * requested token, a URL. - * @param scope - * The scope of the authentication request. - * - * @param schema - * Authentication schema. Can be 'pop' or 'bearer'. - * - * @return AuthenticationResult with authorization token and PoP key. - * - * Answers a server challenge with a token header. - *

- * Implementations sends POST request to receive authentication token - * like in example below. ADAL currently doesn't support POP - * authentication. - *

- * - *
-     *         public AuthenticationResult doAuthenticate(String authorization, String resource, String scope, String schema) {
-     *             JsonWebKey clientJwk = GenerateJsonWebKey();
-     *             JsonWebKey clientPublicJwk = GetJwkWithPublicKeyOnly(clientJwk);
-     *             String token = GetAccessToken(authorization, resource, "pop".equals(schema), clientPublicJwk);
-     *
-     *             return new AuthenticationResult(token, clientJwk.toString());
-     *         }
-     *
-     *         private JsonWebKey GenerateJsonWebKey() {
-     *             final KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA");
-     *             generator.initialize(2048);
-     *             KeyPair clientRsaKeyPair = generator.generateKeyPair();
-     *             JsonWebKey result = JsonWebKey.fromRSA(clientRsaKeyPair);
-     *             result.withKid(UUID.randomUUID().toString());
-     *             return result;
-     *         }
-     *
-     *         public static JsonWebKey GetJwkWithPublicKeyOnly(JsonWebKey jwk) {
-     *             KeyPair publicOnly = jwk.toRSA(false);
-     *             JsonWebKey jsonkeyPublic = JsonWebKey.fromRSA(publicOnly);
-     *             jsonkeyPublic.withKid(jwk.kid());
-     *             jsonkeyPublic.withKeyOps(Arrays.asList(JsonWebKeyOperation.ENCRYPT, JsonWebKeyOperation.WRAP_KEY,
-     *                     JsonWebKeyOperation.VERIFY));
-     *             return jsonkeyPublic;
-     *         }
-     *
-     *         private String GetAccessToken(String authorization, String resource, boolean supportspop, JsonWebKey jwkPublic) {
-     *             CloseableHttpClient httpclient = HttpClients.createDefault();
-     *             HttpPost httppost = new HttpPost(authorization + "/oauth2/token");
-     * 
-     *             // Request parameters and other properties.
-     *             List<NameValuePair> params = new ArrayList<NameValuePair>(2);
-     *             params.add(new BasicNameValuePair("resource", resource));
-     *             params.add(new BasicNameValuePair("response_type", "token"));
-     *             params.add(new BasicNameValuePair("grant_type", "client_credentials"));
-     *             params.add(new BasicNameValuePair("client_id", this.getApplicationId()));
-     *             params.add(new BasicNameValuePair("client_secret", this.getApplicationSecret()));
-     *
-     *             if (supportspop) {
-     *                 params.add(new BasicNameValuePair("pop_jwk", jwkPublic.toString()));
-     *             }
-     *
-     *             httppost.setEntity(new UrlEncodedFormEntity(params, "UTF-8"));
-     *
-     *             HttpResponse response = httpclient.execute(httppost);
-     *             HttpEntity entity = response.getEntity();
-     *
-     *             // Read the contents of an entity and return it as a String.
-     *             String content = EntityUtils.toString(entity);
-     *
-     *             ObjectMapper mapper = new ObjectMapper();
-     *             authreply reply = mapper.readValue(content, authreply.class);
-     *
-     *             return reply.access_token;
-     *         }
-     *         
- * - *

- * Note: The client key must be securely stored. It's advised to use - * two client applications - one for development and other for - * production - managed by separate parties. - *

- */ - public AuthenticationResult doAuthenticate(String authorization, String resource, String scope, String schema) { - return new AuthenticationResult(doAuthenticate(authorization, resource, scope), ""); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.authentication; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import java.security.KeyPairGenerator; +import java.security.NoSuchAlgorithmException; + +import com.microsoft.rest.credentials.ServiceClientCredentials; +import com.microsoft.azure.keyvault.messagesecurity.HttpMessageSecurity; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; + +import okhttp3.HttpUrl; +import okhttp3.Interceptor; +import okhttp3.OkHttpClient; +import okhttp3.Request; +import okhttp3.RequestBody; +import okhttp3.MediaType; +import okhttp3.Response; + +import org.apache.commons.lang3.tuple.Pair; + +/** + * An implementation of {@link ServiceClientCredentials} that supports automatic + * bearer token refresh. + * + */ +public abstract class KeyVaultCredentials implements ServiceClientCredentials { + + private static final String WWW_AUTHENTICATE = "WWW-Authenticate"; + private static final String BEARER_TOKEP_REFIX = "Bearer "; + private static final String CLIENT_ENCRYPTION_KEY_TYPE = "RSA"; + private static final int CLIENT_ENCRYPTION_KEY_SIZE = 2048; + private List supportedMethods = Arrays.asList("sign", "verify", "encrypt", "decrypt", "wrapkey", + "unwrapkey"); + + private JsonWebKey clientEncryptionKey = null; + + private final ChallengeCache cache = new ChallengeCache(); + + @Override + public void applyCredentialsFilter(OkHttpClient.Builder clientBuilder) { + + clientBuilder.addInterceptor(new Interceptor() { + + @Override + public Response intercept(Chain chain) throws IOException { + + Request originalRequest = chain.request(); + HttpUrl url = chain.request().url(); + + Map challengeMap = cache.getCachedChallenge(url); + Response response; + Pair authenticatedRequestPair; + + if (challengeMap != null) { + // challenge is cached, so there is no need to send an empty auth request. + authenticatedRequestPair = buildAuthenticatedRequest(originalRequest, challengeMap); + } else { + // challenge is new for the URL and is not cached, + // so the request is sent out to get the challenges in + // response + response = chain.proceed(buildEmptyRequest(originalRequest)); + + if (response.code() == 200) { + return response; + } else if (response.code() != 401) { + throw new IOException("Unexpected unauthorized response."); + } + authenticatedRequestPair = buildAuthenticatedRequest(originalRequest, response); + } + + response = chain.proceed(authenticatedRequestPair.getLeft()); + + if (response.code() == 200) { + return authenticatedRequestPair.getRight().unprotectResponse(response); + } else { + return response; + } + } + }); + } + + /** + * Builds request with authenticated header. Protects request body if supported. + * + * @param originalRequest + * unprotected request without auth token. + * @param challengeMap + * the challenge map. + * @return Pair of protected request and HttpMessageSecurity used for + * encryption. + */ + private Pair buildAuthenticatedRequest(Request originalRequest, + Map challengeMap) throws IOException { + + Boolean supportsPop = supportsMessageProtection(originalRequest.url().toString(), challengeMap); + + // if the service supports pop and a clientEncryptionKey has not been generated yet, generate + // the key that will be used for encryption on this and all subsequent protected requests + if (supportsPop && this.clientEncryptionKey == null) { + try { + final KeyPairGenerator generator = KeyPairGenerator.getInstance(CLIENT_ENCRYPTION_KEY_TYPE); + + generator.initialize(CLIENT_ENCRYPTION_KEY_SIZE); + + this.clientEncryptionKey = JsonWebKey.fromRSA(generator.generateKeyPair()).withKid(UUID.randomUUID().toString()); + + } catch (NoSuchAlgorithmException e) { + throw new RuntimeException(e); + } + } + + AuthenticationResult authResult = getAuthenticationCredentials(supportsPop, challengeMap); + + if (authResult == null) { + return null; + } + + HttpMessageSecurity httpMessageSecurity = new HttpMessageSecurity(authResult.getAuthToken(), + supportsPop ? authResult.getPopKey() : "", + supportsPop ? challengeMap.get("x-ms-message-encryption-key") : "", + supportsPop ? challengeMap.get("x-ms-message-signing-key") : "", + this.clientEncryptionKey); + + Request request = httpMessageSecurity.protectRequest(originalRequest); + return Pair.of(request, httpMessageSecurity); + } + + /** + * Builds request with authenticated header. Protects request body if supported. + * + * @param originalRequest + * unprotected request without auth token. + * @param response + * response with unauthorized return code. + * @return Pair of protected request and HttpMessageSecurity used for + * encryption. + */ + private Pair buildAuthenticatedRequest(Request originalRequest, Response response) + throws IOException { + String authenticateHeader = response.header(WWW_AUTHENTICATE); + + Map challengeMap = extractChallenge(authenticateHeader, BEARER_TOKEP_REFIX); + + challengeMap.put("x-ms-message-encryption-key", response.header("x-ms-message-encryption-key")); + challengeMap.put("x-ms-message-signing-key", response.header("x-ms-message-signing-key")); + + // Cache the challenge + cache.addCachedChallenge(originalRequest.url(), challengeMap); + + return buildAuthenticatedRequest(originalRequest, challengeMap); + } + + /** + * Removes request body used for EKV authorization. + * + * @param request + * unprotected request without auth token. + * @return request with removed body. + */ + private Request buildEmptyRequest(Request request) { + RequestBody body = RequestBody.create(MediaType.parse("application/json"), "{}"); + if (request.method().equalsIgnoreCase("get")) { + return request; + } else { + return request.newBuilder().method(request.method(), body).build(); + } + } + + /** + * Checks if resource supports message protection. + * + * @param url + * resource url. + * @param challengeMap + * the challenge map. + * @return true if message protection is supported. + */ + private Boolean supportsMessageProtection(String url, Map challengeMap) { + + if (!"true".equals(challengeMap.get("supportspop"))) { + return false; + } + + // Message protection is enabled only for subset of keys operations. + if (!url.toLowerCase().contains("/keys/")) { + return false; + } + + String[] tokens = url.split("\\?")[0].split("/"); + return supportedMethods.contains(tokens[tokens.length - 1]); + } + + /** + * Extracts the authentication challenges from the challenge map and calls the + * authentication callback to get the bearer token and return it. + * + * @param supportsPop + * is resource supports pop authentication. + * @param challengeMap + * the challenge map. + * @return AuthenticationResult with bearer token and PoP key. + */ + private AuthenticationResult getAuthenticationCredentials(Boolean supportsPop, Map challengeMap) { + + String authorization = challengeMap.get("authorization"); + if (authorization == null) { + authorization = challengeMap.get("authorization_uri"); + } + + String resource = challengeMap.get("resource"); + String scope = challengeMap.get("scope"); + String schema = supportsPop ? "pop" : "bearer"; + return doAuthenticate(authorization, resource, scope, schema); + } + + /** + * Extracts the challenge off the authentication header. + * + * @param authenticateHeader + * the authentication header containing all the challenges. + * @param authChallengePrefix + * the authentication challenge name. + * @return a challenge map. + */ + private static Map extractChallenge(String authenticateHeader, String authChallengePrefix) { + if (!isValidChallenge(authenticateHeader, authChallengePrefix)) { + return null; + } + + authenticateHeader = authenticateHeader.toLowerCase().replace(authChallengePrefix.toLowerCase(), ""); + + String[] challenges = authenticateHeader.split(", "); + Map challengeMap = new HashMap(); + for (String pair : challenges) { + String[] keyValue = pair.split("="); + challengeMap.put(keyValue[0].replaceAll("\"", ""), keyValue[1].replaceAll("\"", "")); + } + return challengeMap; + } + + /** + * Verifies whether a challenge is bearer or not. + * + * @param authenticateHeader + * the authentication header containing all the challenges. + * @param authChallengePrefix + * the authentication challenge name. + * @return + */ + private static boolean isValidChallenge(String authenticateHeader, String authChallengePrefix) { + if (authenticateHeader != null && !authenticateHeader.isEmpty() + && authenticateHeader.toLowerCase().startsWith(authChallengePrefix.toLowerCase())) { + return true; + } + return false; + } + + /** + * Abstract method to be implemented. + * + * @param authorization + * Identifier of the authority, a URL. + * @param resource + * Identifier of the target resource that is the recipient of the + * requested token, a URL. + * + * @param scope + * The scope of the authentication request. + * + * @return AuthenticationResult with authorization token and PoP key. + * + * Answers a server challenge with a token header. + *

+ * Implementations typically use ADAL to get a token, as performed in + * the sample below: + *

+ * + *
+     * @Override
+     * public String doAuthenticate(String authorization, String resource, String scope) {
+     *     String clientId = ...; // client GUID as shown in Azure portal.
+     *     String clientKey = ...; // client key as provided by Azure portal.
+     *     AuthenticationResult token = getAccessTokenFromClientCredentials(authorization, resource, clientId, clientKey);
+     *     return token.getAccessToken();;
+     * }
+     *
+     * private static AuthenticationResult getAccessTokenFromClientCredentials(String authorization, String resource, String clientId, String clientKey) {
+     *     AuthenticationContext context = null;
+     *     AuthenticationResult result = null;
+     *     ExecutorService service = null;
+     *     try {
+     *         service = Executors.newFixedThreadPool(1);
+     *         context = new AuthenticationContext(authorization, false, service);
+     *         ClientCredential credentials = new ClientCredential(clientId, clientKey);
+     *         Future<AuthenticationResult> future = context.acquireToken(resource, credentials, null);
+     *         result = future.get();
+     *     } catch (Exception e) {
+     *         throw new RuntimeException(e);
+     *     } finally {
+     *         service.shutdown();
+     *     }
+     *
+     *     if (result == null) {
+     *         throw new RuntimeException("authentication result was null");
+     *     }
+     *     return result;
+     * }
+     *         
+ * + *

+ * Note: The client key must be securely stored. It's advised to use + * two client applications - one for development and other for + * production - managed by separate parties. + *

+ * + */ + public String doAuthenticate(String authorization, String resource, String scope) { + return ""; + } + + /** + * Method to be implemented. + * + * @param authorization + * Identifier of the authority, a URL. + * @param resource + * Identifier of the target resource that is the recipient of the + * requested token, a URL. + * @param scope + * The scope of the authentication request. + * + * @param schema + * Authentication schema. Can be 'pop' or 'bearer'. + * + * @return AuthenticationResult with authorization token and PoP key. + * + * Answers a server challenge with a token header. + *

+ * Implementations sends POST request to receive authentication token + * like in example below. ADAL currently doesn't support POP + * authentication. + *

+ * + *
+     *         public AuthenticationResult doAuthenticate(String authorization, String resource, String scope, String schema) {
+     *             JsonWebKey clientJwk = GenerateJsonWebKey();
+     *             JsonWebKey clientPublicJwk = GetJwkWithPublicKeyOnly(clientJwk);
+     *             String token = GetAccessToken(authorization, resource, "pop".equals(schema), clientPublicJwk);
+     *
+     *             return new AuthenticationResult(token, clientJwk.toString());
+     *         }
+     *
+     *         private JsonWebKey GenerateJsonWebKey() {
+     *             final KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA");
+     *             generator.initialize(2048);
+     *             KeyPair clientRsaKeyPair = generator.generateKeyPair();
+     *             JsonWebKey result = JsonWebKey.fromRSA(clientRsaKeyPair);
+     *             result.withKid(UUID.randomUUID().toString());
+     *             return result;
+     *         }
+     *
+     *         public static JsonWebKey GetJwkWithPublicKeyOnly(JsonWebKey jwk) {
+     *             KeyPair publicOnly = jwk.toRSA(false);
+     *             JsonWebKey jsonkeyPublic = JsonWebKey.fromRSA(publicOnly);
+     *             jsonkeyPublic.withKid(jwk.kid());
+     *             jsonkeyPublic.withKeyOps(Arrays.asList(JsonWebKeyOperation.ENCRYPT, JsonWebKeyOperation.WRAP_KEY,
+     *                     JsonWebKeyOperation.VERIFY));
+     *             return jsonkeyPublic;
+     *         }
+     *
+     *         private String GetAccessToken(String authorization, String resource, boolean supportspop, JsonWebKey jwkPublic) {
+     *             CloseableHttpClient httpclient = HttpClients.createDefault();
+     *             HttpPost httppost = new HttpPost(authorization + "/oauth2/token");
+     * 
+     *             // Request parameters and other properties.
+     *             List<NameValuePair> params = new ArrayList<NameValuePair>(2);
+     *             params.add(new BasicNameValuePair("resource", resource));
+     *             params.add(new BasicNameValuePair("response_type", "token"));
+     *             params.add(new BasicNameValuePair("grant_type", "client_credentials"));
+     *             params.add(new BasicNameValuePair("client_id", this.getApplicationId()));
+     *             params.add(new BasicNameValuePair("client_secret", this.getApplicationSecret()));
+     *
+     *             if (supportspop) {
+     *                 params.add(new BasicNameValuePair("pop_jwk", jwkPublic.toString()));
+     *             }
+     *
+     *             httppost.setEntity(new UrlEncodedFormEntity(params, "UTF-8"));
+     *
+     *             HttpResponse response = httpclient.execute(httppost);
+     *             HttpEntity entity = response.getEntity();
+     *
+     *             // Read the contents of an entity and return it as a String.
+     *             String content = EntityUtils.toString(entity);
+     *
+     *             ObjectMapper mapper = new ObjectMapper();
+     *             authreply reply = mapper.readValue(content, authreply.class);
+     *
+     *             return reply.access_token;
+     *         }
+     *         
+ * + *

+ * Note: The client key must be securely stored. It's advised to use + * two client applications - one for development and other for + * production - managed by separate parties. + *

+ */ + public AuthenticationResult doAuthenticate(String authorization, String resource, String scope, String schema) { + return new AuthenticationResult(doAuthenticate(authorization, resource, scope), ""); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/package-info.java index 20ce8cdf9a629..9e1ef1ff89706 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/authentication/package-info.java @@ -1,8 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -/** - * This package contains the classes for KeyVaultClient. Performs cryptographic - * key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault.authentication; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * This package contains the classes for KeyVaultClient. Performs cryptographic + * key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault.authentication; diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientBaseImpl.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientBaseImpl.java index 73a46d58d6216..d85ad373cd02d 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientBaseImpl.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientBaseImpl.java @@ -1,13309 +1,13309 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.implementation; - -import com.google.common.base.Joiner; -import com.google.common.reflect.TypeToken; -import com.microsoft.azure.AzureClient; -import com.microsoft.azure.AzureServiceClient; -import com.microsoft.azure.AzureServiceFuture; -import com.microsoft.azure.keyvault.KeyVaultClientBase; -import com.microsoft.azure.keyvault.models.BackupCertificateResult; -import com.microsoft.azure.keyvault.models.BackupKeyResult; -import com.microsoft.azure.keyvault.models.BackupSecretResult; -import com.microsoft.azure.keyvault.models.BackupStorageResult; -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificateBundle; -import com.microsoft.azure.keyvault.models.CertificateCreateParameters; -import com.microsoft.azure.keyvault.models.CertificateImportParameters; -import com.microsoft.azure.keyvault.models.CertificateIssuerItem; -import com.microsoft.azure.keyvault.models.CertificateIssuerSetParameters; -import com.microsoft.azure.keyvault.models.CertificateIssuerUpdateParameters; -import com.microsoft.azure.keyvault.models.CertificateItem; -import com.microsoft.azure.keyvault.models.CertificateMergeParameters; -import com.microsoft.azure.keyvault.models.CertificateOperation; -import com.microsoft.azure.keyvault.models.CertificateOperationUpdateParameter; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.CertificateRestoreParameters; -import com.microsoft.azure.keyvault.models.CertificateUpdateParameters; -import com.microsoft.azure.keyvault.models.Contacts; -import com.microsoft.azure.keyvault.models.DeletedCertificateBundle; -import com.microsoft.azure.keyvault.models.DeletedCertificateItem; -import com.microsoft.azure.keyvault.models.DeletedKeyBundle; -import com.microsoft.azure.keyvault.models.DeletedKeyItem; -import com.microsoft.azure.keyvault.models.DeletedSasDefinitionBundle; -import com.microsoft.azure.keyvault.models.DeletedSasDefinitionItem; -import com.microsoft.azure.keyvault.models.DeletedSecretBundle; -import com.microsoft.azure.keyvault.models.DeletedSecretItem; -import com.microsoft.azure.keyvault.models.DeletedStorageAccountItem; -import com.microsoft.azure.keyvault.models.DeletedStorageBundle; -import com.microsoft.azure.keyvault.models.IssuerAttributes; -import com.microsoft.azure.keyvault.models.IssuerBundle; -import com.microsoft.azure.keyvault.models.IssuerCredentials; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.models.KeyBundle; -import com.microsoft.azure.keyvault.models.KeyCreateParameters; -import com.microsoft.azure.keyvault.models.KeyImportParameters; -import com.microsoft.azure.keyvault.models.KeyItem; -import com.microsoft.azure.keyvault.models.KeyOperationResult; -import com.microsoft.azure.keyvault.models.KeyOperationsParameters; -import com.microsoft.azure.keyvault.models.KeyRestoreParameters; -import com.microsoft.azure.keyvault.models.KeySignParameters; -import com.microsoft.azure.keyvault.models.KeyUpdateParameters; -import com.microsoft.azure.keyvault.models.KeyVaultErrorException; -import com.microsoft.azure.keyvault.models.KeyVerifyParameters; -import com.microsoft.azure.keyvault.models.KeyVerifyResult; -import com.microsoft.azure.keyvault.models.OrganizationDetails; -import com.microsoft.azure.keyvault.models.PageImpl; -import com.microsoft.azure.keyvault.models.SasDefinitionAttributes; -import com.microsoft.azure.keyvault.models.SasDefinitionBundle; -import com.microsoft.azure.keyvault.models.SasDefinitionCreateParameters; -import com.microsoft.azure.keyvault.models.SasDefinitionItem; -import com.microsoft.azure.keyvault.models.SasDefinitionUpdateParameters; -import com.microsoft.azure.keyvault.models.SasTokenType; -import com.microsoft.azure.keyvault.models.SecretAttributes; -import com.microsoft.azure.keyvault.models.SecretBundle; -import com.microsoft.azure.keyvault.models.SecretItem; -import com.microsoft.azure.keyvault.models.SecretRestoreParameters; -import com.microsoft.azure.keyvault.models.SecretSetParameters; -import com.microsoft.azure.keyvault.models.SecretUpdateParameters; -import com.microsoft.azure.keyvault.models.StorageAccountAttributes; -import com.microsoft.azure.keyvault.models.StorageAccountCreateParameters; -import com.microsoft.azure.keyvault.models.StorageAccountItem; -import com.microsoft.azure.keyvault.models.StorageAccountRegenerteKeyParameters; -import com.microsoft.azure.keyvault.models.StorageAccountUpdateParameters; -import com.microsoft.azure.keyvault.models.StorageBundle; -import com.microsoft.azure.keyvault.models.StorageRestoreParameters; -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.Page; -import com.microsoft.azure.PagedList; -import com.microsoft.rest.credentials.ServiceClientCredentials; -import com.microsoft.rest.RestClient; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceFuture; -import com.microsoft.rest.ServiceResponse; -import com.microsoft.rest.Validator; -import java.io.IOException; -import java.util.List; -import java.util.Map; -import okhttp3.ResponseBody; -import retrofit2.http.Body; -import retrofit2.http.GET; -import retrofit2.http.Header; -import retrofit2.http.Headers; -import retrofit2.http.HTTP; -import retrofit2.http.PATCH; -import retrofit2.http.Path; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Query; -import retrofit2.http.Url; -import retrofit2.Response; -import rx.functions.Func1; -import rx.Observable; - -/** - * Initializes a new instance of the KeyVaultClientBaseImpl class. - */ -public class KeyVaultClientBaseImpl extends AzureServiceClient implements KeyVaultClientBase { - /** The Retrofit service to perform REST calls. */ - private KeyVaultClientBaseService service; - /** the {@link AzureClient} used for long running operations. */ - private AzureClient azureClient; - - /** - * Gets the {@link AzureClient} used for long running operations. - * @return the azure client; - */ - public AzureClient getAzureClient() { - return this.azureClient; - } - - /** Client API version. */ - private String apiVersion; - - /** - * Gets Client API version. - * - * @return the apiVersion value. - */ - public String apiVersion() { - return this.apiVersion; - } - - /** Gets or sets the preferred language for the response. */ - private String acceptLanguage; - - /** - * Gets Gets or sets the preferred language for the response. - * - * @return the acceptLanguage value. - */ - public String acceptLanguage() { - return this.acceptLanguage; - } - - /** - * Sets Gets or sets the preferred language for the response. - * - * @param acceptLanguage the acceptLanguage value. - * @return the service client itself - */ - public KeyVaultClientBaseImpl withAcceptLanguage(String acceptLanguage) { - this.acceptLanguage = acceptLanguage; - return this; - } - - /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */ - private int longRunningOperationRetryTimeout; - - /** - * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. - * - * @return the longRunningOperationRetryTimeout value. - */ - public int longRunningOperationRetryTimeout() { - return this.longRunningOperationRetryTimeout; - } - - /** - * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. - * - * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. - * @return the service client itself - */ - public KeyVaultClientBaseImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) { - this.longRunningOperationRetryTimeout = longRunningOperationRetryTimeout; - return this; - } - - /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ - private 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. - * - * @return the generateClientRequestId value. - */ - public boolean generateClientRequestId() { - return this.generateClientRequestId; - } - - /** - * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. - * - * @param generateClientRequestId the generateClientRequestId value. - * @return the service client itself - */ - public KeyVaultClientBaseImpl withGenerateClientRequestId(boolean generateClientRequestId) { - this.generateClientRequestId = generateClientRequestId; - return this; - } - - /** - * Initializes an instance of KeyVaultClientBase client. - * - * @param credentials the management credentials for Azure - */ - public KeyVaultClientBaseImpl(ServiceClientCredentials credentials) { - this("https://{vaultBaseUrl}", credentials); - } - - /** - * Initializes an instance of KeyVaultClientBase client. - * - * @param baseUrl the base URL of the host - * @param credentials the management credentials for Azure - */ - private KeyVaultClientBaseImpl(String baseUrl, ServiceClientCredentials credentials) { - super(baseUrl, credentials); - initialize(); - } - - /** - * Initializes an instance of KeyVaultClientBase client. - * - * @param restClient the REST client to connect to Azure. - */ - public KeyVaultClientBaseImpl(RestClient restClient) { - super(restClient); - initialize(); - } - - protected void initialize() { - this.apiVersion = "7.0"; - this.acceptLanguage = "en-US"; - this.longRunningOperationRetryTimeout = 30; - this.generateClientRequestId = true; - this.azureClient = new AzureClient(this); - initializeService(); - } - - /** - * Gets the User-Agent header for the client. - * - * @return the user agent string. - */ - @Override - public String userAgent() { - return String.format("%s (%s, %s)", super.userAgent(), "KeyVaultClientBase", "7.0"); - } - - private void initializeService() { - service = restClient().retrofit().create(KeyVaultClientBaseService.class); - } - - /** - * The interface defining all the services for KeyVaultClientBase to be - * used by Retrofit to perform actually REST calls. - */ - interface KeyVaultClientBaseService { - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase createKey" }) - @POST("keys/{key-name}/create") - Observable> createKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase importKey" }) - @PUT("keys/{key-name}") - Observable> importKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteKey" }) - @HTTP(path = "keys/{key-name}", method = "DELETE", hasBody = true) - Observable> deleteKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateKey" }) - @PATCH("keys/{key-name}/{key-version}") - Observable> updateKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKey" }) - @GET("keys/{key-name}/{key-version}") - Observable> getKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeyVersions" }) - @GET("keys/{key-name}/versions") - Observable> getKeyVersions(@Path("key-name") String keyName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeys" }) - @GET("keys") - Observable> getKeys(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupKey" }) - @POST("keys/{key-name}/backup") - Observable> backupKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreKey" }) - @POST("keys/restore") - Observable> restoreKey(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase encrypt" }) - @POST("keys/{key-name}/{key-version}/encrypt") - Observable> encrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase decrypt" }) - @POST("keys/{key-name}/{key-version}/decrypt") - Observable> decrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase sign" }) - @POST("keys/{key-name}/{key-version}/sign") - Observable> sign(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeySignParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase verify" }) - @POST("keys/{key-name}/{key-version}/verify") - Observable> verify(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyVerifyParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase wrapKey" }) - @POST("keys/{key-name}/{key-version}/wrapkey") - Observable> wrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase unwrapKey" }) - @POST("keys/{key-name}/{key-version}/unwrapkey") - Observable> unwrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedKeys" }) - @GET("deletedkeys") - Observable> getDeletedKeys(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedKey" }) - @GET("deletedkeys/{key-name}") - Observable> getDeletedKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedKey" }) - @HTTP(path = "deletedkeys/{key-name}", method = "DELETE", hasBody = true) - Observable> purgeDeletedKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedKey" }) - @POST("deletedkeys/{key-name}/recover") - Observable> recoverDeletedKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setSecret" }) - @PUT("secrets/{secret-name}") - Observable> setSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretSetParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteSecret" }) - @HTTP(path = "secrets/{secret-name}", method = "DELETE", hasBody = true) - Observable> deleteSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateSecret" }) - @PATCH("secrets/{secret-name}/{secret-version}") - Observable> updateSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecret" }) - @GET("secrets/{secret-name}/{secret-version}") - Observable> getSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecrets" }) - @GET("secrets") - Observable> getSecrets(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecretVersions" }) - @GET("secrets/{secret-name}/versions") - Observable> getSecretVersions(@Path("secret-name") String secretName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSecrets" }) - @GET("deletedsecrets") - Observable> getDeletedSecrets(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSecret" }) - @GET("deletedsecrets/{secret-name}") - Observable> getDeletedSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedSecret" }) - @HTTP(path = "deletedsecrets/{secret-name}", method = "DELETE", hasBody = true) - Observable> purgeDeletedSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedSecret" }) - @POST("deletedsecrets/{secret-name}/recover") - Observable> recoverDeletedSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupSecret" }) - @POST("secrets/{secret-name}/backup") - Observable> backupSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreSecret" }) - @POST("secrets/restore") - Observable> restoreSecret(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificates" }) - @GET("certificates") - Observable> getCertificates(@Query("maxresults") Integer maxresults, @Query("includePending") Boolean includePending, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificate" }) - @HTTP(path = "certificates/{certificate-name}", method = "DELETE", hasBody = true) - Observable> deleteCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setCertificateContacts" }) - @PUT("certificates/contacts") - Observable> setCertificateContacts(@Body Contacts contacts, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateContacts" }) - @GET("certificates/contacts") - Observable> getCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificateContacts" }) - @HTTP(path = "certificates/contacts", method = "DELETE", hasBody = true) - Observable> deleteCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateIssuers" }) - @GET("certificates/issuers") - Observable> getCertificateIssuers(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setCertificateIssuer" }) - @PUT("certificates/issuers/{issuer-name}") - Observable> setCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerSetParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificateIssuer" }) - @PATCH("certificates/issuers/{issuer-name}") - Observable> updateCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerUpdateParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateIssuer" }) - @GET("certificates/issuers/{issuer-name}") - Observable> getCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificateIssuer" }) - @HTTP(path = "certificates/issuers/{issuer-name}", method = "DELETE", hasBody = true) - Observable> deleteCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase createCertificate" }) - @POST("certificates/{certificate-name}/create") - Observable> createCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase importCertificate" }) - @POST("certificates/{certificate-name}/import") - Observable> importCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateVersions" }) - @GET("certificates/{certificate-name}/versions") - Observable> getCertificateVersions(@Path("certificate-name") String certificateName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificatePolicy" }) - @GET("certificates/{certificate-name}/policy") - Observable> getCertificatePolicy(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificatePolicy" }) - @PATCH("certificates/{certificate-name}/policy") - Observable> updateCertificatePolicy(@Path("certificate-name") String certificateName, @Body CertificatePolicy certificatePolicy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificate" }) - @PATCH("certificates/{certificate-name}/{certificate-version}") - Observable> updateCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificate" }) - @GET("certificates/{certificate-name}/{certificate-version}") - Observable> getCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificateOperation" }) - @PATCH("certificates/{certificate-name}/pending") - Observable> updateCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateOperationUpdateParameter certificateOperation, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateOperation" }) - @GET("certificates/{certificate-name}/pending") - Observable> getCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificateOperation" }) - @HTTP(path = "certificates/{certificate-name}/pending", method = "DELETE", hasBody = true) - Observable> deleteCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase mergeCertificate" }) - @POST("certificates/{certificate-name}/pending/merge") - Observable> mergeCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateMergeParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupCertificate" }) - @POST("certificates/{certificate-name}/backup") - Observable> backupCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreCertificate" }) - @POST("certificates/restore") - Observable> restoreCertificate(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedCertificates" }) - @GET("deletedcertificates") - Observable> getDeletedCertificates(@Query("maxresults") Integer maxresults, @Query("includePending") Boolean includePending, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedCertificate" }) - @GET("deletedcertificates/{certificate-name}") - Observable> getDeletedCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedCertificate" }) - @HTTP(path = "deletedcertificates/{certificate-name}", method = "DELETE", hasBody = true) - Observable> purgeDeletedCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedCertificate" }) - @POST("deletedcertificates/{certificate-name}/recover") - Observable> recoverDeletedCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getStorageAccounts" }) - @GET("storage") - Observable> getStorageAccounts(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedStorageAccounts" }) - @GET("deletedstorage") - Observable> getDeletedStorageAccounts(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedStorageAccount" }) - @GET("deletedstorage/{storage-account-name}") - Observable> getDeletedStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedStorageAccount" }) - @HTTP(path = "deletedstorage/{storage-account-name}", method = "DELETE", hasBody = true) - Observable> purgeDeletedStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedStorageAccount" }) - @POST("deletedstorage/{storage-account-name}/recover") - Observable> recoverDeletedStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupStorageAccount" }) - @POST("storage/{storage-account-name}/backup") - Observable> backupStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreStorageAccount" }) - @POST("storage/restore") - Observable> restoreStorageAccount(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteStorageAccount" }) - @HTTP(path = "storage/{storage-account-name}", method = "DELETE", hasBody = true) - Observable> deleteStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getStorageAccount" }) - @GET("storage/{storage-account-name}") - Observable> getStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setStorageAccount" }) - @PUT("storage/{storage-account-name}") - Observable> setStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageAccountCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateStorageAccount" }) - @PATCH("storage/{storage-account-name}") - Observable> updateStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageAccountUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase regenerateStorageAccountKey" }) - @POST("storage/{storage-account-name}/regeneratekey") - Observable> regenerateStorageAccountKey(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageAccountRegenerteKeyParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSasDefinitions" }) - @GET("storage/{storage-account-name}/sas") - Observable> getSasDefinitions(@Path("storage-account-name") String storageAccountName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSasDefinitions" }) - @GET("deletedstorage/{storage-account-name}/sas") - Observable> getDeletedSasDefinitions(@Path("storage-account-name") String storageAccountName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSasDefinition" }) - @GET("deletedstorage/{storage-account-name}/sas/{sas-definition-name}") - Observable> getDeletedSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedSasDefinition" }) - @POST("deletedstorage/{storage-account-name}/sas/{sas-definition-name}/recover") - Observable> recoverDeletedSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteSasDefinition" }) - @HTTP(path = "storage/{storage-account-name}/sas/{sas-definition-name}", method = "DELETE", hasBody = true) - Observable> deleteSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSasDefinition" }) - @GET("storage/{storage-account-name}/sas/{sas-definition-name}") - Observable> getSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setSasDefinition" }) - @PUT("storage/{storage-account-name}/sas/{sas-definition-name}") - Observable> setSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SasDefinitionCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateSasDefinition" }) - @PATCH("storage/{storage-account-name}/sas/{sas-definition-name}") - Observable> updateSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SasDefinitionUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeyVersionsNext" }) - @GET - Observable> getKeyVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeysNext" }) - @GET - Observable> getKeysNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedKeysNext" }) - @GET - Observable> getDeletedKeysNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecretsNext" }) - @GET - Observable> getSecretsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecretVersionsNext" }) - @GET - Observable> getSecretVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSecretsNext" }) - @GET - Observable> getDeletedSecretsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificatesNext" }) - @GET - Observable> getCertificatesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateIssuersNext" }) - @GET - Observable> getCertificateIssuersNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateVersionsNext" }) - @GET - Observable> getCertificateVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedCertificatesNext" }) - @GET - Observable> getDeletedCertificatesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getStorageAccountsNext" }) - @GET - Observable> getStorageAccountsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedStorageAccountsNext" }) - @GET - Observable> getDeletedStorageAccountsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSasDefinitionsNext" }) - @GET - Observable> getSasDefinitionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSasDefinitionsNext" }) - @GET - Observable> getDeletedSasDefinitionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (kty == null) { - throw new IllegalArgumentException("Parameter kty is required and cannot be null."); - } - final Integer keySize = null; - final List keyOps = null; - final KeyAttributes keyAttributes = null; - final Map tags = null; - final JsonWebKeyCurveName curve = null; - KeyCreateParameters parameters = new KeyCreateParameters(); - parameters.withKty(kty); - parameters.withKeySize(null); - parameters.withKeyOps(null); - parameters.withKeyAttributes(null); - parameters.withTags(null); - parameters.withCurve(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, curve).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, curve), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, curve).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name for the new key. The system will generate the version name for the new key. - * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' - * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. - * @param keyOps the List<JsonWebKeyOperation> value - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (kty == null) { - throw new IllegalArgumentException("Parameter kty is required and cannot be null."); - } - Validator.validate(keyOps); - Validator.validate(keyAttributes); - Validator.validate(tags); - KeyCreateParameters parameters = new KeyCreateParameters(); - parameters.withKty(kty); - parameters.withKeySize(keySize); - parameters.withKeyOps(keyOps); - parameters.withKeyAttributes(keyAttributes); - parameters.withTags(tags); - parameters.withCurve(curve); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse createKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (key == null) { - throw new IllegalArgumentException("Parameter key is required and cannot be null."); - } - Validator.validate(key); - final Boolean hsm = null; - final KeyAttributes keyAttributes = null; - final Map tags = null; - KeyImportParameters parameters = new KeyImportParameters(); - parameters.withHsm(null); - parameters.withKey(key); - parameters.withKeyAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { - return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName Name for the imported key. - * @param key The Json web key - * @param hsm Whether to import as a hardware key (HSM) or software key. - * @param keyAttributes The key management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (key == null) { - throw new IllegalArgumentException("Parameter key is required and cannot be null."); - } - Validator.validate(key); - Validator.validate(keyAttributes); - Validator.validate(tags); - KeyImportParameters parameters = new KeyImportParameters(); - parameters.withHsm(hsm); - parameters.withKey(key); - parameters.withKeyAttributes(keyAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse importKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedKeyBundle object if successful. - */ - public DeletedKeyBundle deleteKey(String vaultBaseUrl, String keyName) { - return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - public Observable deleteKeyAsync(String vaultBaseUrl, String keyName) { - return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, DeletedKeyBundle>() { - @Override - public DeletedKeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to delete. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - public Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final List keyOps = null; - final KeyAttributes keyAttributes = null; - final Map tags = null; - KeyUpdateParameters parameters = new KeyUpdateParameters(); - parameters.withKeyOps(null); - parameters.withKeyAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { - return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of key to update. - * @param keyVersion The version of the key to update. - * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. - * @param keyAttributes the KeyAttributes value - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(keyOps); - Validator.validate(keyAttributes); - Validator.validate(tags); - KeyUpdateParameters parameters = new KeyUpdateParameters(); - parameters.withKeyOps(keyOps); - parameters.withKeyAttributes(keyAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion) { - return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { - return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key to get. - * @param keyVersion Adding the version parameter retrieves a specific version of a key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName) { - ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName) { - return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName) { - return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeyVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeyVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeyVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeys(final String vaultBaseUrl) { - ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeysSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeysAsync(final String vaultBaseUrl) { - return getKeysWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl) { - return getKeysSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeysDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeys(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeysSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeysAsync(final String vaultBaseUrl, final Integer maxresults) { - return getKeysWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getKeysSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeysDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeysDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupKeyResult object if successful. - */ - public BackupKeyResult backupKey(String vaultBaseUrl, String keyName) { - return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupKeyResult object - */ - public Observable backupKeyAsync(String vaultBaseUrl, String keyName) { - return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, BackupKeyResult>() { - @Override - public BackupKeyResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupKeyResult object - */ - public Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.backupKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = backupKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse backupKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup) { - return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup) { - return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyBundleBackup The backup blob associated with a key bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (keyBundleBackup == null) { - throw new IllegalArgumentException("Parameter keyBundleBackup is required and cannot be null."); - } - KeyRestoreParameters parameters = new KeyRestoreParameters(); - parameters.withKeyBundleBackup(keyBundleBackup); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.restoreKey(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = restoreKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse restoreKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable> encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.encrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = encryptDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse encryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.decrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = decryptDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse decryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeySignParameters parameters = new KeySignParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.sign(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = signDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse signDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyVerifyResult object if successful. - */ - public KeyVerifyResult verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { - return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyVerifyResult object - */ - public Observable verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { - return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).map(new Func1, KeyVerifyResult>() { - @Override - public KeyVerifyResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param 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' - * @param digest The digest used for signing. - * @param signature The signature to be verified. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyVerifyResult object - */ - public Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (digest == null) { - throw new IllegalArgumentException("Parameter digest is required and cannot be null."); - } - if (signature == null) { - throw new IllegalArgumentException("Parameter signature is required and cannot be null."); - } - KeyVerifyParameters parameters = new KeyVerifyParameters(); - parameters.withAlgorithm(algorithm); - parameters.withDigest(digest); - parameters.withSignature(signature); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.verify(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = verifyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse verifyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable> wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.wrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = wrapKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse wrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyOperationResult object if successful. - */ - public KeyOperationResult unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { - @Override - public KeyOperationResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param keyVersion The version of the key. - * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' - * @param value the Base64Url value - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyOperationResult object - */ - public Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (keyVersion == null) { - throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (algorithm == null) { - throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - KeyOperationsParameters parameters = new KeyOperationsParameters(); - parameters.withAlgorithm(algorithm); - parameters.withValue(value); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.unwrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = unwrapKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse unwrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedKeyItem> object if successful. - */ - public PagedList getDeletedKeys(final String vaultBaseUrl) { - ServiceResponse> response = getDeletedKeysSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedKeysSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - public Observable> getDeletedKeysAsync(final String vaultBaseUrl) { - return getDeletedKeysWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - public Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl) { - return getDeletedKeysSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedKeysNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedKeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedKeysSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedKeysDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedKeyItem> object if successful. - */ - public PagedList getDeletedKeys(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getDeletedKeysSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedKeysSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - public Observable> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults) { - return getDeletedKeysWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - public Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getDeletedKeysSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedKeysNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedKeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedKeysSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedKeysDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedKeysDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedKeyBundle object if successful. - */ - public DeletedKeyBundle getDeletedKey(String vaultBaseUrl, String keyName) { - return getDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - public Observable getDeletedKeyAsync(String vaultBaseUrl, String keyName) { - return getDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, DeletedKeyBundle>() { - @Override - public DeletedKeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedKeyBundle object - */ - public Observable> getDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getDeletedKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getDeletedKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - public void purgeDeletedKey(String vaultBaseUrl, String keyName) { - purgeDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(purgeDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable purgeDeletedKeyAsync(String vaultBaseUrl, String keyName) { - return purgeDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the key - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable> purgeDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.purgeDeletedKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = purgeDeletedKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse purgeDeletedKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the KeyBundle object if successful. - */ - public KeyBundle recoverDeletedKey(String vaultBaseUrl, String keyName) { - return recoverDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(recoverDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable recoverDeletedKeyAsync(String vaultBaseUrl, String keyName) { - return recoverDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, KeyBundle>() { - @Override - public KeyBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param keyName The name of the deleted key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the KeyBundle object - */ - public Observable> recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.recoverDeletedKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = recoverDeletedKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse recoverDeletedKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - final Map tags = null; - final String contentType = null; - final SecretAttributes secretAttributes = null; - SecretSetParameters parameters = new SecretSetParameters(); - parameters.withValue(value); - parameters.withTags(null); - parameters.withContentType(null); - parameters.withSecretAttributes(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { - return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param value The value of the secret. - * @param tags Application specific metadata in the form of key-value pairs. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (value == null) { - throw new IllegalArgumentException("Parameter value is required and cannot be null."); - } - Validator.validate(tags); - Validator.validate(secretAttributes); - SecretSetParameters parameters = new SecretSetParameters(); - parameters.withValue(value); - parameters.withTags(tags); - parameters.withContentType(contentType); - parameters.withSecretAttributes(secretAttributes); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSecretBundle object if successful. - */ - public DeletedSecretBundle deleteSecret(String vaultBaseUrl, String secretName) { - return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - public Observable deleteSecretAsync(String vaultBaseUrl, String secretName) { - return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, DeletedSecretBundle>() { - @Override - public DeletedSecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - public Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (secretVersion == null) { - throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final String contentType = null; - final SecretAttributes secretAttributes = null; - final Map tags = null; - SecretUpdateParameters parameters = new SecretUpdateParameters(); - parameters.withContentType(null); - parameters.withSecretAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { - return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param contentType Type of the secret value such as a password. - * @param secretAttributes The secret management attributes. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (secretVersion == null) { - throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(secretAttributes); - Validator.validate(tags); - SecretUpdateParameters parameters = new SecretUpdateParameters(); - parameters.withContentType(contentType); - parameters.withSecretAttributes(secretAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion) { - return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { - return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param secretVersion The version of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (secretVersion == null) { - throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecrets(final String vaultBaseUrl) { - ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretsSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretsAsync(final String vaultBaseUrl) { - return getSecretsWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl) { - return getSecretsSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecrets(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretsSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults) { - return getSecretsWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getSecretsSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName) { - ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName) { - return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName) { - return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSecretItem> object if successful. - */ - public PagedList getDeletedSecrets(final String vaultBaseUrl) { - ServiceResponse> response = getDeletedSecretsSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedSecretsSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - public Observable> getDeletedSecretsAsync(final String vaultBaseUrl) { - return getDeletedSecretsWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - public Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl) { - return getDeletedSecretsSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedSecretsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedSecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedSecretsSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedSecretsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSecretItem> object if successful. - */ - public PagedList getDeletedSecrets(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getDeletedSecretsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedSecretsSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - public Observable> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults) { - return getDeletedSecretsWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - public Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getDeletedSecretsSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedSecretsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedSecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedSecretsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedSecretsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedSecretsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSecretBundle object if successful. - */ - public DeletedSecretBundle getDeletedSecret(String vaultBaseUrl, String secretName) { - return getDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - public Observable getDeletedSecretAsync(String vaultBaseUrl, String secretName) { - return getDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, DeletedSecretBundle>() { - @Override - public DeletedSecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSecretBundle object - */ - public Observable> getDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getDeletedSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getDeletedSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - public void purgeDeletedSecret(String vaultBaseUrl, String secretName) { - purgeDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(purgeDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable purgeDeletedSecretAsync(String vaultBaseUrl, String secretName) { - return purgeDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable> purgeDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.purgeDeletedSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = purgeDeletedSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse purgeDeletedSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle recoverDeletedSecret(String vaultBaseUrl, String secretName) { - return recoverDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(recoverDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable recoverDeletedSecretAsync(String vaultBaseUrl, String secretName) { - return recoverDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the deleted secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> recoverDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.recoverDeletedSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = recoverDeletedSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse recoverDeletedSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupSecretResult object if successful. - */ - public BackupSecretResult backupSecret(String vaultBaseUrl, String secretName) { - return backupSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture backupSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(backupSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupSecretResult object - */ - public Observable backupSecretAsync(String vaultBaseUrl, String secretName) { - return backupSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, BackupSecretResult>() { - @Override - public BackupSecretResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretName The name of the secret. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupSecretResult object - */ - public Observable> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (secretName == null) { - throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.backupSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = backupSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse backupSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SecretBundle object if successful. - */ - public SecretBundle restoreSecret(String vaultBaseUrl, byte[] secretBundleBackup) { - return restoreSecretWithServiceResponseAsync(vaultBaseUrl, secretBundleBackup).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreSecretWithServiceResponseAsync(vaultBaseUrl, secretBundleBackup), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup) { - return restoreSecretWithServiceResponseAsync(vaultBaseUrl, secretBundleBackup).map(new Func1, SecretBundle>() { - @Override - public SecretBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param secretBundleBackup The backup blob associated with a secret bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SecretBundle object - */ - public Observable> restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (secretBundleBackup == null) { - throw new IllegalArgumentException("Parameter secretBundleBackup is required and cannot be null."); - } - SecretRestoreParameters parameters = new SecretRestoreParameters(); - parameters.withSecretBundleBackup(secretBundleBackup); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.restoreSecret(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = restoreSecretDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse restoreSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificates(final String vaultBaseUrl) { - ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificatesSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificatesAsync(final String vaultBaseUrl) { - return getCertificatesWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl) { - return getCertificatesSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - final Boolean includePending = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - return getCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, includePending) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - return getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificatesDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedCertificateBundle object if successful. - */ - public DeletedCertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName) { - return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - public Observable deleteCertificateAsync(String vaultBaseUrl, String certificateName) { - return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, DeletedCertificateBundle>() { - @Override - public DeletedCertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - public Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Contacts object if successful. - */ - public Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts) { - return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - public Observable setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts) { - return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).map(new Func1, Contacts>() { - @Override - public Contacts call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param contacts The contacts for the key vault certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - public Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (contacts == null) { - throw new IllegalArgumentException("Parameter contacts is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(contacts); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setCertificateContacts(contacts, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setCertificateContactsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Contacts object if successful. - */ - public Contacts getCertificateContacts(String vaultBaseUrl) { - return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateContactsWithServiceResponseAsync(vaultBaseUrl), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - public Observable getCertificateContactsAsync(String vaultBaseUrl) { - return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { - @Override - public Contacts call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - public Observable> getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateContactsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Contacts object if successful. - */ - public Contacts deleteCertificateContacts(String vaultBaseUrl) { - return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - public Observable deleteCertificateContactsAsync(String vaultBaseUrl) { - return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { - @Override - public Contacts call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Contacts object - */ - public Observable> deleteCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateContactsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - public PagedList getCertificateIssuers(final String vaultBaseUrl) { - ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateIssuersSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable> getCertificateIssuersAsync(final String vaultBaseUrl) { - return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl) { - return getCertificateIssuersSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateIssuersDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - public PagedList getCertificateIssuers(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults) { - return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateIssuersDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateIssuersDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).toBlocking().single().body(); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider), serviceCallback); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (provider == null) { - throw new IllegalArgumentException("Parameter provider is required and cannot be null."); - } - final IssuerCredentials credentials = null; - final OrganizationDetails organizationDetails = null; - final IssuerAttributes attributes = null; - CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); - parameter.withProvider(provider); - parameter.withCredentials(null); - parameter.withOrganizationDetails(null); - parameter.withAttributes(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), serviceCallback); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Sets the specified certificate issuer. - * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (provider == null) { - throw new IllegalArgumentException("Parameter provider is required and cannot be null."); - } - Validator.validate(credentials); - Validator.validate(organizationDetails); - Validator.validate(attributes); - CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); - parameter.withProvider(provider); - parameter.withCredentials(credentials); - parameter.withOrganizationDetails(organizationDetails); - parameter.withAttributes(attributes); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the specified certificate issuer. - * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); - } - - /** - * Updates the specified certificate issuer. - * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified certificate issuer. - * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final String provider = null; - final IssuerCredentials credentials = null; - final OrganizationDetails organizationDetails = null; - final IssuerAttributes attributes = null; - CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); - parameter.withProvider(null); - parameter.withCredentials(null); - parameter.withOrganizationDetails(null); - parameter.withAttributes(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Updates the specified certificate issuer. - * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); - } - - /** - * Updates the specified certificate issuer. - * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified certificate issuer. - * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param provider The issuer provider. - * @param credentials The credentials to be used for the issuer. - * @param organizationDetails Details of the organization as provided to the issuer. - * @param attributes Attributes of the issuer object. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(credentials); - Validator.validate(organizationDetails); - Validator.validate(attributes); - CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); - parameter.withProvider(provider); - parameter.withCredentials(credentials); - parameter.withOrganizationDetails(organizationDetails); - parameter.withAttributes(attributes); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - public IssuerBundle getCertificateIssuer(String vaultBaseUrl, String issuerName) { - return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable getCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { - return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable> getCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IssuerBundle object if successful. - */ - public IssuerBundle deleteCertificateIssuer(String vaultBaseUrl, String issuerName) { - return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { - return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { - @Override - public IssuerBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param issuerName The name of the issuer. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IssuerBundle object - */ - public Observable> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (issuerName == null) { - throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateIssuerDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable createCertificateAsync(String vaultBaseUrl, String certificateName) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final CertificatePolicy certificatePolicy = null; - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateCreateParameters parameters = new CertificateCreateParameters(); - parameters.withCertificatePolicy(null); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags), serviceCallback); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates a new certificate. - * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(certificatePolicy); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateCreateParameters parameters = new CertificateCreateParameters(); - parameters.withCertificatePolicy(certificatePolicy); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse createCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(202, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (base64EncodedCertificate == null) { - throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); - } - final String password = null; - final CertificatePolicy certificatePolicy = null; - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateImportParameters parameters = new CertificateImportParameters(); - parameters.withBase64EncodedCertificate(base64EncodedCertificate); - parameters.withPassword(null); - parameters.withCertificatePolicy(null); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. - * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (base64EncodedCertificate == null) { - throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); - } - Validator.validate(certificatePolicy); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateImportParameters parameters = new CertificateImportParameters(); - parameters.withBase64EncodedCertificate(base64EncodedCertificate); - parameters.withPassword(password); - parameters.withCertificatePolicy(certificatePolicy); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = importCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse importCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName) { - ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName) { - return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName) { - return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateVersionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificatePolicy object if successful. - */ - public CertificatePolicy getCertificatePolicy(String vaultBaseUrl, String certificateName) { - return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - public Observable getCertificatePolicyAsync(String vaultBaseUrl, String certificateName) { - return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificatePolicy>() { - @Override - public CertificatePolicy call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in a given key vault. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - public Observable> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificatePolicy(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificatePolicyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the policy for a certificate. - * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificatePolicy object if successful. - */ - public CertificatePolicy updateCertificatePolicy(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { - return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).toBlocking().single().body(); - } - - /** - * Updates the policy for a certificate. - * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - public Observable updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { - return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).map(new Func1, CertificatePolicy>() { - @Override - public CertificatePolicy call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the policy for a certificate. - * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificatePolicy The policy for the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificatePolicy object - */ - public Observable> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificatePolicy == null) { - throw new IllegalArgumentException("Parameter certificatePolicy is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(certificatePolicy); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificatePolicy(certificateName, certificatePolicy, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificatePolicyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificateVersion == null) { - throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final CertificatePolicy certificatePolicy = null; - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateUpdateParameters parameters = new CertificateUpdateParameters(); - parameters.withCertificatePolicy(null); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given key vault. - * @param certificateVersion The version of the certificate. - * @param certificatePolicy The management policy for the certificate. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificateVersion == null) { - throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(certificatePolicy); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateUpdateParameters parameters = new CertificateUpdateParameters(); - parameters.withCertificatePolicy(certificatePolicy); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Gets information about a certificate. - * Gets information about a specific certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { - return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); - } - - /** - * Gets information about a certificate. - * Gets information about a specific certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), serviceCallback); - } - - /** - * Gets information about a certificate. - * Gets information about a specific certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets information about a certificate. - * Gets information about a specific certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate in the given vault. - * @param certificateVersion The version of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (certificateVersion == null) { - throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates a certificate operation. - * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - public CertificateOperation updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { - return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).toBlocking().single().body(); - } - - /** - * Updates a certificate operation. - * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested), serviceCallback); - } - - /** - * Updates a certificate operation. - * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { - return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates a certificate operation. - * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - CertificateOperationUpdateParameter certificateOperation = new CertificateOperationUpdateParameter(); - certificateOperation.withCancellationRequested(cancellationRequested); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), certificateOperation, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateCertificateOperationDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Gets the creation operation of a certificate. - * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - public CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName) { - return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * Gets the creation operation of a certificate. - * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); - } - - /** - * Gets the creation operation of a certificate. - * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable getCertificateOperationAsync(String vaultBaseUrl, String certificateName) { - return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets the creation operation of a certificate. - * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable> getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getCertificateOperationDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateOperation object if successful. - */ - public CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName) { - return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName) { - return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { - @Override - public CertificateOperation call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateOperation object - */ - public Observable> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteCertificateOperationDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (x509Certificates == null) { - throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); - } - Validator.validate(x509Certificates); - final CertificateAttributes certificateAttributes = null; - final Map tags = null; - CertificateMergeParameters parameters = new CertificateMergeParameters(); - parameters.withX509Certificates(x509Certificates); - parameters.withCertificateAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = mergeCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { - return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param x509Certificates The certificate or the certificate chain to merge. - * @param certificateAttributes The attributes of the certificate (optional). - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (x509Certificates == null) { - throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); - } - Validator.validate(x509Certificates); - Validator.validate(certificateAttributes); - Validator.validate(tags); - CertificateMergeParameters parameters = new CertificateMergeParameters(); - parameters.withX509Certificates(x509Certificates); - parameters.withCertificateAttributes(certificateAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = mergeCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse mergeCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupCertificateResult object if successful. - */ - public BackupCertificateResult backupCertificate(String vaultBaseUrl, String certificateName) { - return backupCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture backupCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(backupCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupCertificateResult object - */ - public Observable backupCertificateAsync(String vaultBaseUrl, String certificateName) { - return backupCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, BackupCertificateResult>() { - @Override - public BackupCertificateResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupCertificateResult object - */ - public Observable> backupCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.backupCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = backupCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse backupCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle restoreCertificate(String vaultBaseUrl, byte[] certificateBundleBackup) { - return restoreCertificateWithServiceResponseAsync(vaultBaseUrl, certificateBundleBackup).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreCertificateWithServiceResponseAsync(vaultBaseUrl, certificateBundleBackup), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup) { - return restoreCertificateWithServiceResponseAsync(vaultBaseUrl, certificateBundleBackup).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateBundleBackup The backup blob associated with a certificate bundle. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> restoreCertificateWithServiceResponseAsync(String vaultBaseUrl, byte[] certificateBundleBackup) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (certificateBundleBackup == null) { - throw new IllegalArgumentException("Parameter certificateBundleBackup is required and cannot be null."); - } - CertificateRestoreParameters parameters = new CertificateRestoreParameters(); - parameters.withCertificateBundleBackup(certificateBundleBackup); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.restoreCertificate(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = restoreCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse restoreCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - public PagedList getDeletedCertificates(final String vaultBaseUrl) { - ServiceResponse> response = getDeletedCertificatesSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedCertificatesSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - public Observable> getDeletedCertificatesAsync(final String vaultBaseUrl) { - return getDeletedCertificatesWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - public Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl) { - return getDeletedCertificatesSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedCertificatesNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedCertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedCertificatesSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - final Boolean includePending = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - public PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - ServiceResponse> response = getDeletedCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - public Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - return getDeletedCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, includePending) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - public Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - return getDeletedCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedCertificatesNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param includePending Specifies whether to include certificates which are not completely provisioned. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedCertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedCertificatesSinglePageAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedCertificatesDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedCertificateBundle object if successful. - */ - public DeletedCertificateBundle getDeletedCertificate(String vaultBaseUrl, String certificateName) { - return getDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - public Observable getDeletedCertificateAsync(String vaultBaseUrl, String certificateName) { - return getDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, DeletedCertificateBundle>() { - @Override - public DeletedCertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedCertificateBundle object - */ - public Observable> getDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getDeletedCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getDeletedCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - public void purgeDeletedCertificate(String vaultBaseUrl, String certificateName) { - purgeDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(purgeDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName) { - return purgeDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable> purgeDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.purgeDeletedCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = purgeDeletedCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse purgeDeletedCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the CertificateBundle object if successful. - */ - public CertificateBundle recoverDeletedCertificate(String vaultBaseUrl, String certificateName) { - return recoverDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(recoverDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName) { - return recoverDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateBundle>() { - @Override - public CertificateBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param certificateName The name of the deleted certificate - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CertificateBundle object - */ - public Observable> recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.recoverDeletedCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = recoverDeletedCertificateDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse recoverDeletedCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<StorageAccountItem> object if successful. - */ - public PagedList getStorageAccounts(final String vaultBaseUrl) { - ServiceResponse> response = getStorageAccountsSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getStorageAccountsSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - public Observable> getStorageAccountsAsync(final String vaultBaseUrl) { - return getStorageAccountsWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - public Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl) { - return getStorageAccountsSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getStorageAccountsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<StorageAccountItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getStorageAccountsSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getStorageAccountsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<StorageAccountItem> object if successful. - */ - public PagedList getStorageAccounts(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - public Observable> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults) { - return getStorageAccountsWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - public Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getStorageAccountsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<StorageAccountItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getStorageAccountsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getStorageAccountsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getStorageAccountsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedStorageAccountItem> object if successful. - */ - public PagedList getDeletedStorageAccounts(final String vaultBaseUrl) { - ServiceResponse> response = getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - public Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl) { - return getDeletedStorageAccountsWithServiceResponseAsync(vaultBaseUrl) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - public Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl) { - return getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedStorageAccountsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedStorageAccountItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedStorageAccountsSinglePageAsync(final String vaultBaseUrl) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedStorageAccountsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedStorageAccountItem> object if successful. - */ - public PagedList getDeletedStorageAccounts(final String vaultBaseUrl, final Integer maxresults) { - ServiceResponse> response = getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - public Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults) { - return getDeletedStorageAccountsWithServiceResponseAsync(vaultBaseUrl, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - public Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { - return getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedStorageAccountsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedStorageAccountItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedStorageAccountsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedStorageAccountsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedStorageAccountsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedStorageBundle object if successful. - */ - public DeletedStorageBundle getDeletedStorageAccount(String vaultBaseUrl, String storageAccountName) { - return getDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - public Observable getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return getDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, DeletedStorageBundle>() { - @Override - public DeletedStorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - public Observable> getDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getDeletedStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getDeletedStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - */ - public void purgeDeletedStorageAccount(String vaultBaseUrl, String storageAccountName) { - purgeDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(purgeDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return purgeDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable> purgeDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.purgeDeletedStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = purgeDeletedStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse purgeDeletedStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle recoverDeletedStorageAccount(String vaultBaseUrl, String storageAccountName) { - return recoverDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(recoverDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return recoverDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> recoverDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.recoverDeletedStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = recoverDeletedStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse recoverDeletedStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupStorageResult object if successful. - */ - public BackupStorageResult backupStorageAccount(String vaultBaseUrl, String storageAccountName) { - return backupStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(backupStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupStorageResult object - */ - public Observable backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return backupStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, BackupStorageResult>() { - @Override - public BackupStorageResult call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupStorageResult object - */ - public Observable> backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.backupStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = backupStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse backupStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle restoreStorageAccount(String vaultBaseUrl, byte[] storageBundleBackup) { - return restoreStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageBundleBackup).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageBundleBackup), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup) { - return restoreStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageBundleBackup).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageBundleBackup The backup blob associated with a storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (storageBundleBackup == null) { - throw new IllegalArgumentException("Parameter storageBundleBackup is required and cannot be null."); - } - StorageRestoreParameters parameters = new StorageRestoreParameters(); - parameters.withStorageBundleBackup(storageBundleBackup); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.restoreStorageAccount(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = restoreStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse restoreStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedStorageBundle object if successful. - */ - public DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName) { - return deleteStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), serviceCallback); - } - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - public Observable deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return deleteStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, DeletedStorageBundle>() { - @Override - public DeletedStorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes a storage account. This operation requires the storage/delete permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedStorageBundle object - */ - public Observable> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName) { - return getStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), serviceCallback); - } - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable getStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return getStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets information about a specified storage account. This operation requires the storage/get permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey) { - return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey).toBlocking().single().body(); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey), serviceCallback); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey) { - return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (resourceId == null) { - throw new IllegalArgumentException("Parameter resourceId is required and cannot be null."); - } - if (activeKeyName == null) { - throw new IllegalArgumentException("Parameter activeKeyName is required and cannot be null."); - } - final String regenerationPeriod = null; - final StorageAccountAttributes storageAccountAttributes = null; - final Map tags = null; - StorageAccountCreateParameters parameters = new StorageAccountCreateParameters(); - parameters.withResourceId(resourceId); - parameters.withActiveKeyName(activeKeyName); - parameters.withAutoRegenerateKey(autoRegenerateKey); - parameters.withRegenerationPeriod(null); - parameters.withStorageAccountAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { - return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).toBlocking().single().body(); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags), serviceCallback); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { - return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates or updates a new storage account. This operation requires the storage/set permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param resourceId Storage account resource id. - * @param activeKeyName Current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (resourceId == null) { - throw new IllegalArgumentException("Parameter resourceId is required and cannot be null."); - } - if (activeKeyName == null) { - throw new IllegalArgumentException("Parameter activeKeyName is required and cannot be null."); - } - Validator.validate(storageAccountAttributes); - Validator.validate(tags); - StorageAccountCreateParameters parameters = new StorageAccountCreateParameters(); - parameters.withResourceId(resourceId); - parameters.withActiveKeyName(activeKeyName); - parameters.withAutoRegenerateKey(autoRegenerateKey); - parameters.withRegenerationPeriod(regenerationPeriod); - parameters.withStorageAccountAttributes(storageAccountAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName) { - return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), serviceCallback); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { - return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final String activeKeyName = null; - final Boolean autoRegenerateKey = null; - final String regenerationPeriod = null; - final StorageAccountAttributes storageAccountAttributes = null; - final Map tags = null; - StorageAccountUpdateParameters parameters = new StorageAccountUpdateParameters(); - parameters.withActiveKeyName(null); - parameters.withAutoRegenerateKey(null); - parameters.withRegenerationPeriod(null); - parameters.withStorageAccountAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { - return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).toBlocking().single().body(); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags), serviceCallback); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { - return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param activeKeyName The current active storage account key name. - * @param autoRegenerateKey whether keyvault should manage the storage account for the user. - * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. - * @param storageAccountAttributes The attributes of the storage account. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(storageAccountAttributes); - Validator.validate(tags); - StorageAccountUpdateParameters parameters = new StorageAccountUpdateParameters(); - parameters.withActiveKeyName(activeKeyName); - parameters.withAutoRegenerateKey(autoRegenerateKey); - parameters.withRegenerationPeriod(regenerationPeriod); - parameters.withStorageAccountAttributes(storageAccountAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateStorageAccountDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StorageBundle object if successful. - */ - public StorageBundle regenerateStorageAccountKey(String vaultBaseUrl, String storageAccountName, String keyName) { - return regenerateStorageAccountKeyWithServiceResponseAsync(vaultBaseUrl, storageAccountName, keyName).toBlocking().single().body(); - } - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(regenerateStorageAccountKeyWithServiceResponseAsync(vaultBaseUrl, storageAccountName, keyName), serviceCallback); - } - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName) { - return regenerateStorageAccountKeyWithServiceResponseAsync(vaultBaseUrl, storageAccountName, keyName).map(new Func1, StorageBundle>() { - @Override - public StorageBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param keyName The storage account key name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StorageBundle object - */ - public Observable> regenerateStorageAccountKeyWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String keyName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (keyName == null) { - throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); - } - StorageAccountRegenerteKeyParameters parameters = new StorageAccountRegenerteKeyParameters(); - parameters.withKeyName(keyName); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.regenerateStorageAccountKey(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = regenerateStorageAccountKeyDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse regenerateStorageAccountKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SasDefinitionItem> object if successful. - */ - public PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName) { - ServiceResponse> response = getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - public Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName) { - return getSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - public Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName) { - return getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSasDefinitionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSasDefinitionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SasDefinitionItem> object if successful. - */ - public PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - ServiceResponse> response = getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - public Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - return getSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - public Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - return getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSasDefinitionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSasDefinitionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSasDefinitionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSasDefinitionItem> object if successful. - */ - public PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final String storageAccountName) { - ServiceResponse> response = getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - public Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName) { - return getDeletedSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - public Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName) { - return getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedSasDefinitionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedSasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final Integer maxresults = null; - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedSasDefinitionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSasDefinitionItem> object if successful. - */ - public PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - ServiceResponse> response = getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - public Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - return getDeletedSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName, maxresults) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - public Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - return getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedSasDefinitionsNextWithServiceResponseAsync(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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedSasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedSasDefinitionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedSasDefinitionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSasDefinitionBundle object if successful. - */ - public DeletedSasDefinitionBundle getDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return getDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - public Observable getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return getDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, DeletedSasDefinitionBundle>() { - @Override - public DeletedSasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - public Observable> getDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getDeletedSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getDeletedSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getDeletedSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - public SasDefinitionBundle recoverDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return recoverDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(recoverDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return recoverDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, SasDefinitionBundle>() { - @Override - public SasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable> recoverDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.recoverDeletedSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = recoverDeletedSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse recoverDeletedSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeletedSasDefinitionBundle object if successful. - */ - public DeletedSasDefinitionBundle deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return deleteSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); - } - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), serviceCallback); - } - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - public Observable deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return deleteSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, DeletedSasDefinitionBundle>() { - @Override - public DeletedSasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DeletedSasDefinitionBundle object - */ - public Observable> deleteSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.deleteSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = deleteSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse deleteSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - public SasDefinitionBundle getSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return getSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); - } - - /** - * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), serviceCallback); - } - - /** - * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return getSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, SasDefinitionBundle>() { - @Override - public SasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable> getSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.getSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = getSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse getSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - public SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod) { - return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod).toBlocking().single().body(); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod), serviceCallback); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod) { - return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod).map(new Func1, SasDefinitionBundle>() { - @Override - public SasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (templateUri == null) { - throw new IllegalArgumentException("Parameter templateUri is required and cannot be null."); - } - if (sasType == null) { - throw new IllegalArgumentException("Parameter sasType is required and cannot be null."); - } - if (validityPeriod == null) { - throw new IllegalArgumentException("Parameter validityPeriod is required and cannot be null."); - } - final SasDefinitionAttributes sasDefinitionAttributes = null; - final Map tags = null; - SasDefinitionCreateParameters parameters = new SasDefinitionCreateParameters(); - parameters.withTemplateUri(templateUri); - parameters.withSasType(sasType); - parameters.withValidityPeriod(validityPeriod); - parameters.withSasDefinitionAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - public SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { - return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).toBlocking().single().body(); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags), serviceCallback); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { - return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).map(new Func1, SasDefinitionBundle>() { - @Override - public SasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - if (templateUri == null) { - throw new IllegalArgumentException("Parameter templateUri is required and cannot be null."); - } - if (sasType == null) { - throw new IllegalArgumentException("Parameter sasType is required and cannot be null."); - } - if (validityPeriod == null) { - throw new IllegalArgumentException("Parameter validityPeriod is required and cannot be null."); - } - Validator.validate(sasDefinitionAttributes); - Validator.validate(tags); - SasDefinitionCreateParameters parameters = new SasDefinitionCreateParameters(); - parameters.withTemplateUri(templateUri); - parameters.withSasType(sasType); - parameters.withValidityPeriod(validityPeriod); - parameters.withSasDefinitionAttributes(sasDefinitionAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.setSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = setSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse setSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - public SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), serviceCallback); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, SasDefinitionBundle>() { - @Override - public SasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - final String templateUri = null; - final SasTokenType sasType = null; - final String validityPeriod = null; - final SasDefinitionAttributes sasDefinitionAttributes = null; - final Map tags = null; - SasDefinitionUpdateParameters parameters = new SasDefinitionUpdateParameters(); - parameters.withTemplateUri(null); - parameters.withSasType(null); - parameters.withValidityPeriod(null); - parameters.withSasDefinitionAttributes(null); - parameters.withTags(null); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SasDefinitionBundle object if successful. - */ - public SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { - return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).toBlocking().single().body(); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags), serviceCallback); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { - return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).map(new Func1, SasDefinitionBundle>() { - @Override - public SasDefinitionBundle call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. - * - * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. - * @param storageAccountName The name of the storage account. - * @param sasDefinitionName The name of the SAS definition. - * @param 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. - * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' - * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. - * @param sasDefinitionAttributes The attributes of the SAS definition. - * @param tags Application specific metadata in the form of key-value pairs. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SasDefinitionBundle object - */ - public Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (storageAccountName == null) { - throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); - } - if (sasDefinitionName == null) { - throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - Validator.validate(sasDefinitionAttributes); - Validator.validate(tags); - SasDefinitionUpdateParameters parameters = new SasDefinitionUpdateParameters(); - parameters.withTemplateUri(templateUri); - parameters.withSasType(sasType); - parameters.withValidityPeriod(validityPeriod); - parameters.withSasDefinitionAttributes(sasDefinitionAttributes); - parameters.withTags(tags); - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - return service.updateSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateSasDefinitionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse updateSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeyVersionsNext(final String nextPageLink) { - ServiceResponse> response = getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeyVersionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeyVersionsNextAsync(final String nextPageLink) { - return getKeyVersionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeyVersionsNextWithServiceResponseAsync(final String nextPageLink) { - return getKeyVersionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeyVersionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getKeyVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeyVersionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeyVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<KeyItem> object if successful. - */ - public PagedList getKeysNext(final String nextPageLink) { - ServiceResponse> response = getKeysNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getKeysNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable> getKeysNextAsync(final String nextPageLink) { - return getKeysNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<KeyItem> object - */ - public Observable>> getKeysNextWithServiceResponseAsync(final String nextPageLink) { - return getKeysNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getKeysNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getKeysNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getKeysNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getKeysNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedKeyItem> object if successful. - */ - public PagedList getDeletedKeysNext(final String nextPageLink) { - ServiceResponse> response = getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedKeysNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - public Observable> getDeletedKeysNextAsync(final String nextPageLink) { - return getDeletedKeysNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedKeyItem> object - */ - public Observable>> getDeletedKeysNextWithServiceResponseAsync(final String nextPageLink) { - return getDeletedKeysNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedKeysNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedKeyItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedKeysNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getDeletedKeysNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedKeysNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedKeysNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretsNext(final String nextPageLink) { - ServiceResponse> response = getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretsNextAsync(final String nextPageLink) { - return getSecretsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretsNextWithServiceResponseAsync(final String nextPageLink) { - return getSecretsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getSecretsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SecretItem> object if successful. - */ - public PagedList getSecretVersionsNext(final String nextPageLink) { - ServiceResponse> response = getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSecretVersionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable> getSecretVersionsNextAsync(final String nextPageLink) { - return getSecretVersionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SecretItem> object - */ - public Observable>> getSecretVersionsNextWithServiceResponseAsync(final String nextPageLink) { - return getSecretVersionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSecretVersionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getSecretVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSecretVersionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSecretVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSecretItem> object if successful. - */ - public PagedList getDeletedSecretsNext(final String nextPageLink) { - ServiceResponse> response = getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedSecretsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - public Observable> getDeletedSecretsNextAsync(final String nextPageLink) { - return getDeletedSecretsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSecretItem> object - */ - public Observable>> getDeletedSecretsNextWithServiceResponseAsync(final String nextPageLink) { - return getDeletedSecretsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedSecretsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedSecretItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedSecretsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getDeletedSecretsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedSecretsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedSecretsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificatesNext(final String nextPageLink) { - ServiceResponse> response = getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificatesNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificatesNextAsync(final String nextPageLink) { - return getCertificatesNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificatesNextWithServiceResponseAsync(final String nextPageLink) { - return getCertificatesNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificatesNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getCertificatesNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificatesNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificatesNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateIssuerItem> object if successful. - */ - public PagedList getCertificateIssuersNext(final String nextPageLink) { - ServiceResponse> response = getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateIssuersNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable> getCertificateIssuersNextAsync(final String nextPageLink) { - return getCertificateIssuersNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateIssuerItem> object - */ - public Observable>> getCertificateIssuersNextWithServiceResponseAsync(final String nextPageLink) { - return getCertificateIssuersNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateIssuersNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getCertificateIssuersNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateIssuersNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateIssuersNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<CertificateItem> object if successful. - */ - public PagedList getCertificateVersionsNext(final String nextPageLink) { - ServiceResponse> response = getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getCertificateVersionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable> getCertificateVersionsNextAsync(final String nextPageLink) { - return getCertificateVersionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<CertificateItem> object - */ - public Observable>> getCertificateVersionsNextWithServiceResponseAsync(final String nextPageLink) { - return getCertificateVersionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getCertificateVersionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getCertificateVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getCertificateVersionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getCertificateVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedCertificateItem> object if successful. - */ - public PagedList getDeletedCertificatesNext(final String nextPageLink) { - ServiceResponse> response = getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedCertificatesNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - public Observable> getDeletedCertificatesNextAsync(final String nextPageLink) { - return getDeletedCertificatesNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedCertificateItem> object - */ - public Observable>> getDeletedCertificatesNextWithServiceResponseAsync(final String nextPageLink) { - return getDeletedCertificatesNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedCertificatesNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedCertificateItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedCertificatesNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getDeletedCertificatesNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedCertificatesNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedCertificatesNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<StorageAccountItem> object if successful. - */ - public PagedList getStorageAccountsNext(final String nextPageLink) { - ServiceResponse> response = getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getStorageAccountsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - public Observable> getStorageAccountsNextAsync(final String nextPageLink) { - return getStorageAccountsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<StorageAccountItem> object - */ - public Observable>> getStorageAccountsNextWithServiceResponseAsync(final String nextPageLink) { - return getStorageAccountsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getStorageAccountsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<StorageAccountItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getStorageAccountsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getStorageAccountsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getStorageAccountsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getStorageAccountsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedStorageAccountItem> object if successful. - */ - public PagedList getDeletedStorageAccountsNext(final String nextPageLink) { - ServiceResponse> response = getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedStorageAccountsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - public Observable> getDeletedStorageAccountsNextAsync(final String nextPageLink) { - return getDeletedStorageAccountsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedStorageAccountItem> object - */ - public Observable>> getDeletedStorageAccountsNextWithServiceResponseAsync(final String nextPageLink) { - return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedStorageAccountsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedStorageAccountItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedStorageAccountsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getDeletedStorageAccountsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedStorageAccountsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedStorageAccountsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SasDefinitionItem> object if successful. - */ - public PagedList getSasDefinitionsNext(final String nextPageLink) { - ServiceResponse> response = getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getSasDefinitionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - public Observable> getSasDefinitionsNextAsync(final String nextPageLink) { - return getSasDefinitionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SasDefinitionItem> object - */ - public Observable>> getSasDefinitionsNextWithServiceResponseAsync(final String nextPageLink) { - return getSasDefinitionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getSasDefinitionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getSasDefinitionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getSasDefinitionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getSasDefinitionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getSasDefinitionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws KeyVaultErrorException thrown if the request is rejected by server - * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<DeletedSasDefinitionItem> object if successful. - */ - public PagedList getDeletedSasDefinitionsNext(final String nextPageLink) { - ServiceResponse> response = getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param serviceFuture the ServiceFuture object tracking the Retrofit calls - * @param serviceCallback the async ServiceCallback to handle successful and failed responses. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> getDeletedSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink); - } - }, - 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - public Observable> getDeletedSasDefinitionsNextAsync(final String nextPageLink) { - return getDeletedSasDefinitionsNextWithServiceResponseAsync(nextPageLink) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); - } - - /** - * 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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeletedSasDefinitionItem> object - */ - public Observable>> getDeletedSasDefinitionsNextWithServiceResponseAsync(final String nextPageLink) { - return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(getDeletedSasDefinitionsNextWithServiceResponseAsync(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. - * - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DeletedSasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. - */ - public Observable>> getDeletedSasDefinitionsNextSinglePageAsync(final String nextPageLink) { - if (nextPageLink == null) { - throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); - } - String nextUrl = String.format("%s", nextPageLink); - return service.getDeletedSasDefinitionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) - .flatMap(new Func1, Observable>>>() { - @Override - public Observable>> call(Response response) { - try { - ServiceResponse> result = getDeletedSasDefinitionsNextDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> getDeletedSasDefinitionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { - return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(KeyVaultErrorException.class) - .build(response); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.implementation; + +import com.google.common.base.Joiner; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureClient; +import com.microsoft.azure.AzureServiceClient; +import com.microsoft.azure.AzureServiceFuture; +import com.microsoft.azure.keyvault.KeyVaultClientBase; +import com.microsoft.azure.keyvault.models.BackupCertificateResult; +import com.microsoft.azure.keyvault.models.BackupKeyResult; +import com.microsoft.azure.keyvault.models.BackupSecretResult; +import com.microsoft.azure.keyvault.models.BackupStorageResult; +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificateBundle; +import com.microsoft.azure.keyvault.models.CertificateCreateParameters; +import com.microsoft.azure.keyvault.models.CertificateImportParameters; +import com.microsoft.azure.keyvault.models.CertificateIssuerItem; +import com.microsoft.azure.keyvault.models.CertificateIssuerSetParameters; +import com.microsoft.azure.keyvault.models.CertificateIssuerUpdateParameters; +import com.microsoft.azure.keyvault.models.CertificateItem; +import com.microsoft.azure.keyvault.models.CertificateMergeParameters; +import com.microsoft.azure.keyvault.models.CertificateOperation; +import com.microsoft.azure.keyvault.models.CertificateOperationUpdateParameter; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.CertificateRestoreParameters; +import com.microsoft.azure.keyvault.models.CertificateUpdateParameters; +import com.microsoft.azure.keyvault.models.Contacts; +import com.microsoft.azure.keyvault.models.DeletedCertificateBundle; +import com.microsoft.azure.keyvault.models.DeletedCertificateItem; +import com.microsoft.azure.keyvault.models.DeletedKeyBundle; +import com.microsoft.azure.keyvault.models.DeletedKeyItem; +import com.microsoft.azure.keyvault.models.DeletedSasDefinitionBundle; +import com.microsoft.azure.keyvault.models.DeletedSasDefinitionItem; +import com.microsoft.azure.keyvault.models.DeletedSecretBundle; +import com.microsoft.azure.keyvault.models.DeletedSecretItem; +import com.microsoft.azure.keyvault.models.DeletedStorageAccountItem; +import com.microsoft.azure.keyvault.models.DeletedStorageBundle; +import com.microsoft.azure.keyvault.models.IssuerAttributes; +import com.microsoft.azure.keyvault.models.IssuerBundle; +import com.microsoft.azure.keyvault.models.IssuerCredentials; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.models.KeyBundle; +import com.microsoft.azure.keyvault.models.KeyCreateParameters; +import com.microsoft.azure.keyvault.models.KeyImportParameters; +import com.microsoft.azure.keyvault.models.KeyItem; +import com.microsoft.azure.keyvault.models.KeyOperationResult; +import com.microsoft.azure.keyvault.models.KeyOperationsParameters; +import com.microsoft.azure.keyvault.models.KeyRestoreParameters; +import com.microsoft.azure.keyvault.models.KeySignParameters; +import com.microsoft.azure.keyvault.models.KeyUpdateParameters; +import com.microsoft.azure.keyvault.models.KeyVaultErrorException; +import com.microsoft.azure.keyvault.models.KeyVerifyParameters; +import com.microsoft.azure.keyvault.models.KeyVerifyResult; +import com.microsoft.azure.keyvault.models.OrganizationDetails; +import com.microsoft.azure.keyvault.models.PageImpl; +import com.microsoft.azure.keyvault.models.SasDefinitionAttributes; +import com.microsoft.azure.keyvault.models.SasDefinitionBundle; +import com.microsoft.azure.keyvault.models.SasDefinitionCreateParameters; +import com.microsoft.azure.keyvault.models.SasDefinitionItem; +import com.microsoft.azure.keyvault.models.SasDefinitionUpdateParameters; +import com.microsoft.azure.keyvault.models.SasTokenType; +import com.microsoft.azure.keyvault.models.SecretAttributes; +import com.microsoft.azure.keyvault.models.SecretBundle; +import com.microsoft.azure.keyvault.models.SecretItem; +import com.microsoft.azure.keyvault.models.SecretRestoreParameters; +import com.microsoft.azure.keyvault.models.SecretSetParameters; +import com.microsoft.azure.keyvault.models.SecretUpdateParameters; +import com.microsoft.azure.keyvault.models.StorageAccountAttributes; +import com.microsoft.azure.keyvault.models.StorageAccountCreateParameters; +import com.microsoft.azure.keyvault.models.StorageAccountItem; +import com.microsoft.azure.keyvault.models.StorageAccountRegenerteKeyParameters; +import com.microsoft.azure.keyvault.models.StorageAccountUpdateParameters; +import com.microsoft.azure.keyvault.models.StorageBundle; +import com.microsoft.azure.keyvault.models.StorageRestoreParameters; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.credentials.ServiceClientCredentials; +import com.microsoft.rest.RestClient; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.Validator; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import okhttp3.ResponseBody; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.HTTP; +import retrofit2.http.PATCH; +import retrofit2.http.Path; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * Initializes a new instance of the KeyVaultClientBaseImpl class. + */ +public class KeyVaultClientBaseImpl extends AzureServiceClient implements KeyVaultClientBase { + /** The Retrofit service to perform REST calls. */ + private KeyVaultClientBaseService service; + /** the {@link AzureClient} used for long running operations. */ + private AzureClient azureClient; + + /** + * Gets the {@link AzureClient} used for long running operations. + * @return the azure client; + */ + public AzureClient getAzureClient() { + return this.azureClient; + } + + /** Client API version. */ + private String apiVersion; + + /** + * Gets Client API version. + * + * @return the apiVersion value. + */ + public String apiVersion() { + return this.apiVersion; + } + + /** Gets or sets the preferred language for the response. */ + private String acceptLanguage; + + /** + * Gets Gets or sets the preferred language for the response. + * + * @return the acceptLanguage value. + */ + public String acceptLanguage() { + return this.acceptLanguage; + } + + /** + * Sets Gets or sets the preferred language for the response. + * + * @param acceptLanguage the acceptLanguage value. + * @return the service client itself + */ + public KeyVaultClientBaseImpl withAcceptLanguage(String acceptLanguage) { + this.acceptLanguage = acceptLanguage; + return this; + } + + /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */ + private int longRunningOperationRetryTimeout; + + /** + * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * + * @return the longRunningOperationRetryTimeout value. + */ + public int longRunningOperationRetryTimeout() { + return this.longRunningOperationRetryTimeout; + } + + /** + * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. + * + * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. + * @return the service client itself + */ + public KeyVaultClientBaseImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) { + this.longRunningOperationRetryTimeout = longRunningOperationRetryTimeout; + return this; + } + + /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ + private 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. + * + * @return the generateClientRequestId value. + */ + public boolean generateClientRequestId() { + return this.generateClientRequestId; + } + + /** + * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * + * @param generateClientRequestId the generateClientRequestId value. + * @return the service client itself + */ + public KeyVaultClientBaseImpl withGenerateClientRequestId(boolean generateClientRequestId) { + this.generateClientRequestId = generateClientRequestId; + return this; + } + + /** + * Initializes an instance of KeyVaultClientBase client. + * + * @param credentials the management credentials for Azure + */ + public KeyVaultClientBaseImpl(ServiceClientCredentials credentials) { + this("https://{vaultBaseUrl}", credentials); + } + + /** + * Initializes an instance of KeyVaultClientBase client. + * + * @param baseUrl the base URL of the host + * @param credentials the management credentials for Azure + */ + private KeyVaultClientBaseImpl(String baseUrl, ServiceClientCredentials credentials) { + super(baseUrl, credentials); + initialize(); + } + + /** + * Initializes an instance of KeyVaultClientBase client. + * + * @param restClient the REST client to connect to Azure. + */ + public KeyVaultClientBaseImpl(RestClient restClient) { + super(restClient); + initialize(); + } + + protected void initialize() { + this.apiVersion = "7.0"; + this.acceptLanguage = "en-US"; + this.longRunningOperationRetryTimeout = 30; + this.generateClientRequestId = true; + this.azureClient = new AzureClient(this); + initializeService(); + } + + /** + * Gets the User-Agent header for the client. + * + * @return the user agent string. + */ + @Override + public String userAgent() { + return String.format("%s (%s, %s)", super.userAgent(), "KeyVaultClientBase", "7.0"); + } + + private void initializeService() { + service = restClient().retrofit().create(KeyVaultClientBaseService.class); + } + + /** + * The interface defining all the services for KeyVaultClientBase to be + * used by Retrofit to perform actually REST calls. + */ + interface KeyVaultClientBaseService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase createKey" }) + @POST("keys/{key-name}/create") + Observable> createKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase importKey" }) + @PUT("keys/{key-name}") + Observable> importKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteKey" }) + @HTTP(path = "keys/{key-name}", method = "DELETE", hasBody = true) + Observable> deleteKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateKey" }) + @PATCH("keys/{key-name}/{key-version}") + Observable> updateKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKey" }) + @GET("keys/{key-name}/{key-version}") + Observable> getKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeyVersions" }) + @GET("keys/{key-name}/versions") + Observable> getKeyVersions(@Path("key-name") String keyName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeys" }) + @GET("keys") + Observable> getKeys(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupKey" }) + @POST("keys/{key-name}/backup") + Observable> backupKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreKey" }) + @POST("keys/restore") + Observable> restoreKey(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase encrypt" }) + @POST("keys/{key-name}/{key-version}/encrypt") + Observable> encrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase decrypt" }) + @POST("keys/{key-name}/{key-version}/decrypt") + Observable> decrypt(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase sign" }) + @POST("keys/{key-name}/{key-version}/sign") + Observable> sign(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeySignParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase verify" }) + @POST("keys/{key-name}/{key-version}/verify") + Observable> verify(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyVerifyParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase wrapKey" }) + @POST("keys/{key-name}/{key-version}/wrapkey") + Observable> wrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase unwrapKey" }) + @POST("keys/{key-name}/{key-version}/unwrapkey") + Observable> unwrapKey(@Path("key-name") String keyName, @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedKeys" }) + @GET("deletedkeys") + Observable> getDeletedKeys(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedKey" }) + @GET("deletedkeys/{key-name}") + Observable> getDeletedKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedKey" }) + @HTTP(path = "deletedkeys/{key-name}", method = "DELETE", hasBody = true) + Observable> purgeDeletedKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedKey" }) + @POST("deletedkeys/{key-name}/recover") + Observable> recoverDeletedKey(@Path("key-name") String keyName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setSecret" }) + @PUT("secrets/{secret-name}") + Observable> setSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretSetParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteSecret" }) + @HTTP(path = "secrets/{secret-name}", method = "DELETE", hasBody = true) + Observable> deleteSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateSecret" }) + @PATCH("secrets/{secret-name}/{secret-version}") + Observable> updateSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecret" }) + @GET("secrets/{secret-name}/{secret-version}") + Observable> getSecret(@Path("secret-name") String secretName, @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecrets" }) + @GET("secrets") + Observable> getSecrets(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecretVersions" }) + @GET("secrets/{secret-name}/versions") + Observable> getSecretVersions(@Path("secret-name") String secretName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSecrets" }) + @GET("deletedsecrets") + Observable> getDeletedSecrets(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSecret" }) + @GET("deletedsecrets/{secret-name}") + Observable> getDeletedSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedSecret" }) + @HTTP(path = "deletedsecrets/{secret-name}", method = "DELETE", hasBody = true) + Observable> purgeDeletedSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedSecret" }) + @POST("deletedsecrets/{secret-name}/recover") + Observable> recoverDeletedSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupSecret" }) + @POST("secrets/{secret-name}/backup") + Observable> backupSecret(@Path("secret-name") String secretName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreSecret" }) + @POST("secrets/restore") + Observable> restoreSecret(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SecretRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificates" }) + @GET("certificates") + Observable> getCertificates(@Query("maxresults") Integer maxresults, @Query("includePending") Boolean includePending, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificate" }) + @HTTP(path = "certificates/{certificate-name}", method = "DELETE", hasBody = true) + Observable> deleteCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setCertificateContacts" }) + @PUT("certificates/contacts") + Observable> setCertificateContacts(@Body Contacts contacts, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateContacts" }) + @GET("certificates/contacts") + Observable> getCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificateContacts" }) + @HTTP(path = "certificates/contacts", method = "DELETE", hasBody = true) + Observable> deleteCertificateContacts(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateIssuers" }) + @GET("certificates/issuers") + Observable> getCertificateIssuers(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setCertificateIssuer" }) + @PUT("certificates/issuers/{issuer-name}") + Observable> setCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerSetParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificateIssuer" }) + @PATCH("certificates/issuers/{issuer-name}") + Observable> updateCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateIssuerUpdateParameters parameter, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateIssuer" }) + @GET("certificates/issuers/{issuer-name}") + Observable> getCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificateIssuer" }) + @HTTP(path = "certificates/issuers/{issuer-name}", method = "DELETE", hasBody = true) + Observable> deleteCertificateIssuer(@Path("issuer-name") String issuerName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase createCertificate" }) + @POST("certificates/{certificate-name}/create") + Observable> createCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase importCertificate" }) + @POST("certificates/{certificate-name}/import") + Observable> importCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateVersions" }) + @GET("certificates/{certificate-name}/versions") + Observable> getCertificateVersions(@Path("certificate-name") String certificateName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificatePolicy" }) + @GET("certificates/{certificate-name}/policy") + Observable> getCertificatePolicy(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificatePolicy" }) + @PATCH("certificates/{certificate-name}/policy") + Observable> updateCertificatePolicy(@Path("certificate-name") String certificateName, @Body CertificatePolicy certificatePolicy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificate" }) + @PATCH("certificates/{certificate-name}/{certificate-version}") + Observable> updateCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificate" }) + @GET("certificates/{certificate-name}/{certificate-version}") + Observable> getCertificate(@Path("certificate-name") String certificateName, @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateCertificateOperation" }) + @PATCH("certificates/{certificate-name}/pending") + Observable> updateCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateOperationUpdateParameter certificateOperation, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateOperation" }) + @GET("certificates/{certificate-name}/pending") + Observable> getCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteCertificateOperation" }) + @HTTP(path = "certificates/{certificate-name}/pending", method = "DELETE", hasBody = true) + Observable> deleteCertificateOperation(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase mergeCertificate" }) + @POST("certificates/{certificate-name}/pending/merge") + Observable> mergeCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateMergeParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupCertificate" }) + @POST("certificates/{certificate-name}/backup") + Observable> backupCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreCertificate" }) + @POST("certificates/restore") + Observable> restoreCertificate(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CertificateRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedCertificates" }) + @GET("deletedcertificates") + Observable> getDeletedCertificates(@Query("maxresults") Integer maxresults, @Query("includePending") Boolean includePending, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedCertificate" }) + @GET("deletedcertificates/{certificate-name}") + Observable> getDeletedCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedCertificate" }) + @HTTP(path = "deletedcertificates/{certificate-name}", method = "DELETE", hasBody = true) + Observable> purgeDeletedCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedCertificate" }) + @POST("deletedcertificates/{certificate-name}/recover") + Observable> recoverDeletedCertificate(@Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getStorageAccounts" }) + @GET("storage") + Observable> getStorageAccounts(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedStorageAccounts" }) + @GET("deletedstorage") + Observable> getDeletedStorageAccounts(@Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedStorageAccount" }) + @GET("deletedstorage/{storage-account-name}") + Observable> getDeletedStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase purgeDeletedStorageAccount" }) + @HTTP(path = "deletedstorage/{storage-account-name}", method = "DELETE", hasBody = true) + Observable> purgeDeletedStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedStorageAccount" }) + @POST("deletedstorage/{storage-account-name}/recover") + Observable> recoverDeletedStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase backupStorageAccount" }) + @POST("storage/{storage-account-name}/backup") + Observable> backupStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase restoreStorageAccount" }) + @POST("storage/restore") + Observable> restoreStorageAccount(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageRestoreParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteStorageAccount" }) + @HTTP(path = "storage/{storage-account-name}", method = "DELETE", hasBody = true) + Observable> deleteStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getStorageAccount" }) + @GET("storage/{storage-account-name}") + Observable> getStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setStorageAccount" }) + @PUT("storage/{storage-account-name}") + Observable> setStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageAccountCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateStorageAccount" }) + @PATCH("storage/{storage-account-name}") + Observable> updateStorageAccount(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageAccountUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase regenerateStorageAccountKey" }) + @POST("storage/{storage-account-name}/regeneratekey") + Observable> regenerateStorageAccountKey(@Path("storage-account-name") String storageAccountName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body StorageAccountRegenerteKeyParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSasDefinitions" }) + @GET("storage/{storage-account-name}/sas") + Observable> getSasDefinitions(@Path("storage-account-name") String storageAccountName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSasDefinitions" }) + @GET("deletedstorage/{storage-account-name}/sas") + Observable> getDeletedSasDefinitions(@Path("storage-account-name") String storageAccountName, @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSasDefinition" }) + @GET("deletedstorage/{storage-account-name}/sas/{sas-definition-name}") + Observable> getDeletedSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase recoverDeletedSasDefinition" }) + @POST("deletedstorage/{storage-account-name}/sas/{sas-definition-name}/recover") + Observable> recoverDeletedSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase deleteSasDefinition" }) + @HTTP(path = "storage/{storage-account-name}/sas/{sas-definition-name}", method = "DELETE", hasBody = true) + Observable> deleteSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSasDefinition" }) + @GET("storage/{storage-account-name}/sas/{sas-definition-name}") + Observable> getSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase setSasDefinition" }) + @PUT("storage/{storage-account-name}/sas/{sas-definition-name}") + Observable> setSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SasDefinitionCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase updateSasDefinition" }) + @PATCH("storage/{storage-account-name}/sas/{sas-definition-name}") + Observable> updateSasDefinition(@Path("storage-account-name") String storageAccountName, @Path("sas-definition-name") String sasDefinitionName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body SasDefinitionUpdateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeyVersionsNext" }) + @GET + Observable> getKeyVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getKeysNext" }) + @GET + Observable> getKeysNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedKeysNext" }) + @GET + Observable> getDeletedKeysNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecretsNext" }) + @GET + Observable> getSecretsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSecretVersionsNext" }) + @GET + Observable> getSecretVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSecretsNext" }) + @GET + Observable> getDeletedSecretsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificatesNext" }) + @GET + Observable> getCertificatesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateIssuersNext" }) + @GET + Observable> getCertificateIssuersNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getCertificateVersionsNext" }) + @GET + Observable> getCertificateVersionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedCertificatesNext" }) + @GET + Observable> getDeletedCertificatesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getStorageAccountsNext" }) + @GET + Observable> getStorageAccountsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedStorageAccountsNext" }) + @GET + Observable> getDeletedStorageAccountsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getSasDefinitionsNext" }) + @GET + Observable> getSasDefinitionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClientBase getDeletedSasDefinitionsNext" }) + @GET + Observable> getDeletedSasDefinitionsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (kty == null) { + throw new IllegalArgumentException("Parameter kty is required and cannot be null."); + } + final Integer keySize = null; + final List keyOps = null; + final KeyAttributes keyAttributes = null; + final Map tags = null; + final JsonWebKeyCurveName curve = null; + KeyCreateParameters parameters = new KeyCreateParameters(); + parameters.withKty(kty); + parameters.withKeySize(null); + parameters.withKeyOps(null); + parameters.withKeyAttributes(null); + parameters.withTags(null); + parameters.withCurve(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, curve).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, curve), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, curve).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name for the new key. The system will generate the version name for the new key. + * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct' + * @param keySize The key size in bits. For example: 2048, 3072, or 4096 for RSA. + * @param keyOps the List<JsonWebKeyOperation> value + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'P-256K' + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (kty == null) { + throw new IllegalArgumentException("Parameter kty is required and cannot be null."); + } + Validator.validate(keyOps); + Validator.validate(keyAttributes); + Validator.validate(tags); + KeyCreateParameters parameters = new KeyCreateParameters(); + parameters.withKty(kty); + parameters.withKeySize(keySize); + parameters.withKeyOps(keyOps); + parameters.withKeyAttributes(keyAttributes); + parameters.withTags(tags); + parameters.withCurve(curve); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + Validator.validate(key); + final Boolean hsm = null; + final KeyAttributes keyAttributes = null; + final Map tags = null; + KeyImportParameters parameters = new KeyImportParameters(); + parameters.withHsm(null); + parameters.withKey(key); + parameters.withKeyAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { + return importKeyWithServiceResponseAsync(vaultBaseUrl, keyName, key, hsm, keyAttributes, tags).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName Name for the imported key. + * @param key The Json web key + * @param hsm Whether to import as a hardware key (HSM) or software key. + * @param keyAttributes The key management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + Validator.validate(key); + Validator.validate(keyAttributes); + Validator.validate(tags); + KeyImportParameters parameters = new KeyImportParameters(); + parameters.withHsm(hsm); + parameters.withKey(key); + parameters.withKeyAttributes(keyAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importKey(keyName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse importKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedKeyBundle object if successful. + */ + public DeletedKeyBundle deleteKey(String vaultBaseUrl, String keyName) { + return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + public Observable deleteKeyAsync(String vaultBaseUrl, String keyName) { + return deleteKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, DeletedKeyBundle>() { + @Override + public DeletedKeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to delete. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + public Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final List keyOps = null; + final KeyAttributes keyAttributes = null; + final Map tags = null; + KeyUpdateParameters parameters = new KeyUpdateParameters(); + parameters.withKeyOps(null); + parameters.withKeyAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { + return updateKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, keyOps, keyAttributes, tags).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to update. + * @param keyVersion The version of the key to update. + * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. + * @param keyAttributes the KeyAttributes value + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(keyOps); + Validator.validate(keyAttributes); + Validator.validate(tags); + KeyUpdateParameters parameters = new KeyUpdateParameters(); + parameters.withKeyOps(keyOps); + parameters.withKeyAttributes(keyAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion) { + return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion) { + return getKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName) { + ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName) { + return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName) { + return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeyVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + ServiceResponse> response = getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + return getKeyVersionsWithServiceResponseAsync(vaultBaseUrl, keyName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + return getKeyVersionsSinglePageAsync(vaultBaseUrl, keyName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeyVersionsSinglePageAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeyVersions(keyName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeyVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeyVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeys(final String vaultBaseUrl) { + ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeysSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeysAsync(final String vaultBaseUrl) { + return getKeysWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl) { + return getKeysSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeysDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeys(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getKeysSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeysSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeysAsync(final String vaultBaseUrl, final Integer maxresults) { + return getKeysWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getKeysSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeysSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeysDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeysDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupKeyResult object if successful. + */ + public BackupKeyResult backupKey(String vaultBaseUrl, String keyName) { + return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupKeyResult object + */ + public Observable backupKeyAsync(String vaultBaseUrl, String keyName) { + return backupKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, BackupKeyResult>() { + @Override + public BackupKeyResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupKeyResult object + */ + public Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.backupKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = backupKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse backupKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup) { + return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup) { + return restoreKeyWithServiceResponseAsync(vaultBaseUrl, keyBundleBackup).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyBundleBackup The backup blob associated with a key bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (keyBundleBackup == null) { + throw new IllegalArgumentException("Parameter keyBundleBackup is required and cannot be null."); + } + KeyRestoreParameters parameters = new KeyRestoreParameters(); + parameters.withKeyBundleBackup(keyBundleBackup); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.restoreKey(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = restoreKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse restoreKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return encryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable> encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.encrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = encryptDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse encryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return decryptWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.decrypt(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = decryptDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse decryptDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + return signWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeySignParameters parameters = new KeySignParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.sign(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = signDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse signDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyVerifyResult object if successful. + */ + public KeyVerifyResult verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { + return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyVerifyResult object + */ + public Observable verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { + return verifyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, digest, signature).map(new Func1, KeyVerifyResult>() { + @Override + public KeyVerifyResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param 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' + * @param digest The digest used for signing. + * @param signature The signature to be verified. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyVerifyResult object + */ + public Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (digest == null) { + throw new IllegalArgumentException("Parameter digest is required and cannot be null."); + } + if (signature == null) { + throw new IllegalArgumentException("Parameter signature is required and cannot be null."); + } + KeyVerifyParameters parameters = new KeyVerifyParameters(); + parameters.withAlgorithm(algorithm); + parameters.withDigest(digest); + parameters.withSignature(signature); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.verify(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = verifyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse verifyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return wrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable> wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.wrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = wrapKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse wrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyOperationResult object if successful. + */ + public KeyOperationResult unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + return unwrapKeyWithServiceResponseAsync(vaultBaseUrl, keyName, keyVersion, algorithm, value).map(new Func1, KeyOperationResult>() { + @Override + public KeyOperationResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param keyVersion The version of the key. + * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5' + * @param value the Base64Url value + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyOperationResult object + */ + public Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (keyVersion == null) { + throw new IllegalArgumentException("Parameter keyVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (algorithm == null) { + throw new IllegalArgumentException("Parameter algorithm is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + KeyOperationsParameters parameters = new KeyOperationsParameters(); + parameters.withAlgorithm(algorithm); + parameters.withValue(value); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.unwrapKey(keyName, keyVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = unwrapKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse unwrapKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedKeyItem> object if successful. + */ + public PagedList getDeletedKeys(final String vaultBaseUrl) { + ServiceResponse> response = getDeletedKeysSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedKeysSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + public Observable> getDeletedKeysAsync(final String vaultBaseUrl) { + return getDeletedKeysWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + public Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl) { + return getDeletedKeysSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedKeysNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedKeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedKeysSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedKeysDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedKeyItem> object if successful. + */ + public PagedList getDeletedKeys(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getDeletedKeysSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedKeysSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + public Observable> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults) { + return getDeletedKeysWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + public Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getDeletedKeysSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedKeysNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedKeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedKeysSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedKeys(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedKeysDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedKeysDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedKeyBundle object if successful. + */ + public DeletedKeyBundle getDeletedKey(String vaultBaseUrl, String keyName) { + return getDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + public Observable getDeletedKeyAsync(String vaultBaseUrl, String keyName) { + return getDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, DeletedKeyBundle>() { + @Override + public DeletedKeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedKeyBundle object + */ + public Observable> getDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDeletedKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDeletedKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void purgeDeletedKey(String vaultBaseUrl, String keyName) { + purgeDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(purgeDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable purgeDeletedKeyAsync(String vaultBaseUrl, String keyName) { + return purgeDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> purgeDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.purgeDeletedKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = purgeDeletedKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse purgeDeletedKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyBundle object if successful. + */ + public KeyBundle recoverDeletedKey(String vaultBaseUrl, String keyName) { + return recoverDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(recoverDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable recoverDeletedKeyAsync(String vaultBaseUrl, String keyName) { + return recoverDeletedKeyWithServiceResponseAsync(vaultBaseUrl, keyName).map(new Func1, KeyBundle>() { + @Override + public KeyBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the deleted key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyBundle object + */ + public Observable> recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.recoverDeletedKey(keyName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = recoverDeletedKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse recoverDeletedKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + final Map tags = null; + final String contentType = null; + final SecretAttributes secretAttributes = null; + SecretSetParameters parameters = new SecretSetParameters(); + parameters.withValue(value); + parameters.withTags(null); + parameters.withContentType(null); + parameters.withSecretAttributes(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { + return setSecretWithServiceResponseAsync(vaultBaseUrl, secretName, value, tags, contentType, secretAttributes).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param value The value of the secret. + * @param tags Application specific metadata in the form of key-value pairs. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (value == null) { + throw new IllegalArgumentException("Parameter value is required and cannot be null."); + } + Validator.validate(tags); + Validator.validate(secretAttributes); + SecretSetParameters parameters = new SecretSetParameters(); + parameters.withValue(value); + parameters.withTags(tags); + parameters.withContentType(contentType); + parameters.withSecretAttributes(secretAttributes); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSecretBundle object if successful. + */ + public DeletedSecretBundle deleteSecret(String vaultBaseUrl, String secretName) { + return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + public Observable deleteSecretAsync(String vaultBaseUrl, String secretName) { + return deleteSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, DeletedSecretBundle>() { + @Override + public DeletedSecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + public Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (secretVersion == null) { + throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final String contentType = null; + final SecretAttributes secretAttributes = null; + final Map tags = null; + SecretUpdateParameters parameters = new SecretUpdateParameters(); + parameters.withContentType(null); + parameters.withSecretAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { + return updateSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion, contentType, secretAttributes, tags).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param contentType Type of the secret value such as a password. + * @param secretAttributes The secret management attributes. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (secretVersion == null) { + throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(secretAttributes); + Validator.validate(tags); + SecretUpdateParameters parameters = new SecretUpdateParameters(); + parameters.withContentType(contentType); + parameters.withSecretAttributes(secretAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion) { + return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion) { + return getSecretWithServiceResponseAsync(vaultBaseUrl, secretName, secretVersion).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param secretVersion The version of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (secretVersion == null) { + throw new IllegalArgumentException("Parameter secretVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecret(secretName, secretVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecrets(final String vaultBaseUrl) { + ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretsSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretsAsync(final String vaultBaseUrl) { + return getSecretsWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl) { + return getSecretsSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecrets(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getSecretsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretsSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults) { + return getSecretsWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getSecretsSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName) { + ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName) { + return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName) { + return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + ServiceResponse> response = getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + return getSecretVersionsWithServiceResponseAsync(vaultBaseUrl, secretName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + return getSecretVersionsSinglePageAsync(vaultBaseUrl, secretName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretVersionsSinglePageAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSecretVersions(secretName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSecretItem> object if successful. + */ + public PagedList getDeletedSecrets(final String vaultBaseUrl) { + ServiceResponse> response = getDeletedSecretsSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedSecretsSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + public Observable> getDeletedSecretsAsync(final String vaultBaseUrl) { + return getDeletedSecretsWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + public Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl) { + return getDeletedSecretsSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedSecretsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedSecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedSecretsSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedSecretsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSecretItem> object if successful. + */ + public PagedList getDeletedSecrets(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getDeletedSecretsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedSecretsSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + public Observable> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults) { + return getDeletedSecretsWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + public Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getDeletedSecretsSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedSecretsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedSecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedSecretsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedSecrets(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedSecretsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedSecretsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSecretBundle object if successful. + */ + public DeletedSecretBundle getDeletedSecret(String vaultBaseUrl, String secretName) { + return getDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + public Observable getDeletedSecretAsync(String vaultBaseUrl, String secretName) { + return getDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, DeletedSecretBundle>() { + @Override + public DeletedSecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSecretBundle object + */ + public Observable> getDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDeletedSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDeletedSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void purgeDeletedSecret(String vaultBaseUrl, String secretName) { + purgeDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(purgeDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable purgeDeletedSecretAsync(String vaultBaseUrl, String secretName) { + return purgeDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> purgeDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.purgeDeletedSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = purgeDeletedSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse purgeDeletedSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle recoverDeletedSecret(String vaultBaseUrl, String secretName) { + return recoverDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(recoverDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable recoverDeletedSecretAsync(String vaultBaseUrl, String secretName) { + return recoverDeletedSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the deleted secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> recoverDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.recoverDeletedSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = recoverDeletedSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse recoverDeletedSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupSecretResult object if successful. + */ + public BackupSecretResult backupSecret(String vaultBaseUrl, String secretName) { + return backupSecretWithServiceResponseAsync(vaultBaseUrl, secretName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture backupSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(backupSecretWithServiceResponseAsync(vaultBaseUrl, secretName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupSecretResult object + */ + public Observable backupSecretAsync(String vaultBaseUrl, String secretName) { + return backupSecretWithServiceResponseAsync(vaultBaseUrl, secretName).map(new Func1, BackupSecretResult>() { + @Override + public BackupSecretResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretName The name of the secret. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupSecretResult object + */ + public Observable> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (secretName == null) { + throw new IllegalArgumentException("Parameter secretName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.backupSecret(secretName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = backupSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse backupSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SecretBundle object if successful. + */ + public SecretBundle restoreSecret(String vaultBaseUrl, byte[] secretBundleBackup) { + return restoreSecretWithServiceResponseAsync(vaultBaseUrl, secretBundleBackup).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreSecretWithServiceResponseAsync(vaultBaseUrl, secretBundleBackup), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup) { + return restoreSecretWithServiceResponseAsync(vaultBaseUrl, secretBundleBackup).map(new Func1, SecretBundle>() { + @Override + public SecretBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param secretBundleBackup The backup blob associated with a secret bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SecretBundle object + */ + public Observable> restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (secretBundleBackup == null) { + throw new IllegalArgumentException("Parameter secretBundleBackup is required and cannot be null."); + } + SecretRestoreParameters parameters = new SecretRestoreParameters(); + parameters.withSecretBundleBackup(secretBundleBackup); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.restoreSecret(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = restoreSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse restoreSecretDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificates(final String vaultBaseUrl) { + ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificatesSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificatesAsync(final String vaultBaseUrl) { + return getCertificatesWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl) { + return getCertificatesSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + final Boolean includePending = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + ServiceResponse> response = getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + return getCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, includePending) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + return getCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificatesSinglePageAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificatesDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedCertificateBundle object if successful. + */ + public DeletedCertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName) { + return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + public Observable deleteCertificateAsync(String vaultBaseUrl, String certificateName) { + return deleteCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, DeletedCertificateBundle>() { + @Override + public DeletedCertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + public Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the Contacts object if successful. + */ + public Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts) { + return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + public Observable setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts) { + return setCertificateContactsWithServiceResponseAsync(vaultBaseUrl, contacts).map(new Func1, Contacts>() { + @Override + public Contacts call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param contacts The contacts for the key vault certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + public Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (contacts == null) { + throw new IllegalArgumentException("Parameter contacts is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(contacts); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setCertificateContacts(contacts, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setCertificateContactsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the Contacts object if successful. + */ + public Contacts getCertificateContacts(String vaultBaseUrl) { + return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateContactsWithServiceResponseAsync(vaultBaseUrl), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + public Observable getCertificateContactsAsync(String vaultBaseUrl) { + return getCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { + @Override + public Contacts call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + public Observable> getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateContactsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the Contacts object if successful. + */ + public Contacts deleteCertificateContacts(String vaultBaseUrl) { + return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + public Observable deleteCertificateContactsAsync(String vaultBaseUrl) { + return deleteCertificateContactsWithServiceResponseAsync(vaultBaseUrl).map(new Func1, Contacts>() { + @Override + public Contacts call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Contacts object + */ + public Observable> deleteCertificateContactsWithServiceResponseAsync(String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificateContacts(this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateContactsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateContactsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + public PagedList getCertificateIssuers(final String vaultBaseUrl) { + ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateIssuersSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable> getCertificateIssuersAsync(final String vaultBaseUrl) { + return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl) { + return getCertificateIssuersSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateIssuersDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + public PagedList getCertificateIssuers(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults) { + return getCertificateIssuersWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getCertificateIssuersSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateIssuersSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateIssuers(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateIssuersDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateIssuersDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).toBlocking().single().body(); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider), serviceCallback); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (provider == null) { + throw new IllegalArgumentException("Parameter provider is required and cannot be null."); + } + final IssuerCredentials credentials = null; + final OrganizationDetails organizationDetails = null; + final IssuerAttributes attributes = null; + CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); + parameter.withProvider(provider); + parameter.withCredentials(null); + parameter.withOrganizationDetails(null); + parameter.withAttributes(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + public IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), serviceCallback); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable setCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return setCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Sets the specified certificate issuer. + * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (provider == null) { + throw new IllegalArgumentException("Parameter provider is required and cannot be null."); + } + Validator.validate(credentials); + Validator.validate(organizationDetails); + Validator.validate(attributes); + CertificateIssuerSetParameters parameter = new CertificateIssuerSetParameters(); + parameter.withProvider(provider); + parameter.withCredentials(credentials); + parameter.withOrganizationDetails(organizationDetails); + parameter.withAttributes(attributes); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the specified certificate issuer. + * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); + } + + /** + * Updates the specified certificate issuer. + * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified certificate issuer. + * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final String provider = null; + final IssuerCredentials credentials = null; + final OrganizationDetails organizationDetails = null; + final IssuerAttributes attributes = null; + CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); + parameter.withProvider(null); + parameter.withCredentials(null); + parameter.withOrganizationDetails(null); + parameter.withAttributes(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Updates the specified certificate issuer. + * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + public IssuerBundle updateCertificateIssuer(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).toBlocking().single().body(); + } + + /** + * Updates the specified certificate issuer. + * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable updateCertificateIssuerAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + return updateCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName, provider, credentials, organizationDetails, attributes).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified certificate issuer. + * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param provider The issuer provider. + * @param credentials The credentials to be used for the issuer. + * @param organizationDetails Details of the organization as provided to the issuer. + * @param attributes Attributes of the issuer object. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider, IssuerCredentials credentials, OrganizationDetails organizationDetails, IssuerAttributes attributes) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(credentials); + Validator.validate(organizationDetails); + Validator.validate(attributes); + CertificateIssuerUpdateParameters parameter = new CertificateIssuerUpdateParameters(); + parameter.withProvider(provider); + parameter.withCredentials(credentials); + parameter.withOrganizationDetails(organizationDetails); + parameter.withAttributes(attributes); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameter, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + public IssuerBundle getCertificateIssuer(String vaultBaseUrl, String issuerName) { + return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable getCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { + return getCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable> getCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the IssuerBundle object if successful. + */ + public IssuerBundle deleteCertificateIssuer(String vaultBaseUrl, String issuerName) { + return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable deleteCertificateIssuerAsync(String vaultBaseUrl, String issuerName) { + return deleteCertificateIssuerWithServiceResponseAsync(vaultBaseUrl, issuerName).map(new Func1, IssuerBundle>() { + @Override + public IssuerBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param issuerName The name of the issuer. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the IssuerBundle object + */ + public Observable> deleteCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (issuerName == null) { + throw new IllegalArgumentException("Parameter issuerName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificateIssuer(issuerName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateIssuerDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateIssuerDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable createCertificateAsync(String vaultBaseUrl, String certificateName) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final CertificatePolicy certificatePolicy = null; + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateCreateParameters parameters = new CertificateCreateParameters(); + parameters.withCertificatePolicy(null); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + public CertificateOperation createCertificate(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags), serviceCallback); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable createCertificateAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return createCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates a new certificate. + * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(certificatePolicy); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateCreateParameters parameters = new CertificateCreateParameters(); + parameters.withCertificatePolicy(certificatePolicy); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.createCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(202, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (base64EncodedCertificate == null) { + throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); + } + final String password = null; + final CertificatePolicy certificatePolicy = null; + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateImportParameters parameters = new CertificateImportParameters(); + parameters.withBase64EncodedCertificate(base64EncodedCertificate); + parameters.withPassword(null); + parameters.withCertificatePolicy(null); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle importCertificate(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable importCertificateAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return importCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, base64EncodedCertificate, password, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param base64EncodedCertificate Base64 encoded representation of the certificate object to import. This certificate needs to contain the private key. + * @param password If the private key in base64EncodedCertificate is encrypted, the password used for encryption. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate, String password, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (base64EncodedCertificate == null) { + throw new IllegalArgumentException("Parameter base64EncodedCertificate is required and cannot be null."); + } + Validator.validate(certificatePolicy); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateImportParameters parameters = new CertificateImportParameters(); + parameters.withBase64EncodedCertificate(base64EncodedCertificate); + parameters.withPassword(password); + parameters.withCertificatePolicy(certificatePolicy); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.importCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = importCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse importCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName) { + ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName) { + return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName) { + return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificateVersions(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + ServiceResponse> response = getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificateVersionsAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + return getCertificateVersionsWithServiceResponseAsync(vaultBaseUrl, certificateName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + return getCertificateVersionsSinglePageAsync(vaultBaseUrl, certificateName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateVersionsSinglePageAsync(final String vaultBaseUrl, final String certificateName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateVersions(certificateName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateVersionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateVersionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificatePolicy object if successful. + */ + public CertificatePolicy getCertificatePolicy(String vaultBaseUrl, String certificateName) { + return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificatePolicyAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + public Observable getCertificatePolicyAsync(String vaultBaseUrl, String certificateName) { + return getCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificatePolicy>() { + @Override + public CertificatePolicy call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in a given key vault. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + public Observable> getCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificatePolicy(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificatePolicyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the policy for a certificate. + * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificatePolicy object if successful. + */ + public CertificatePolicy updateCertificatePolicy(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { + return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).toBlocking().single().body(); + } + + /** + * Updates the policy for a certificate. + * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + public Observable updateCertificatePolicyAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { + return updateCertificatePolicyWithServiceResponseAsync(vaultBaseUrl, certificateName, certificatePolicy).map(new Func1, CertificatePolicy>() { + @Override + public CertificatePolicy call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the policy for a certificate. + * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificatePolicy The policy for the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificatePolicy object + */ + public Observable> updateCertificatePolicyWithServiceResponseAsync(String vaultBaseUrl, String certificateName, CertificatePolicy certificatePolicy) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificatePolicy == null) { + throw new IllegalArgumentException("Parameter certificatePolicy is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(certificatePolicy); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificatePolicy(certificateName, certificatePolicy, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificatePolicyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificatePolicyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificateVersion == null) { + throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final CertificatePolicy certificatePolicy = null; + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateUpdateParameters parameters = new CertificateUpdateParameters(); + parameters.withCertificatePolicy(null); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle updateCertificate(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable updateCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + return updateCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion, certificatePolicy, certificateAttributes, tags).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given key vault. + * @param certificateVersion The version of the certificate. + * @param certificatePolicy The management policy for the certificate. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificateVersion == null) { + throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(certificatePolicy); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateUpdateParameters parameters = new CertificateUpdateParameters(); + parameters.withCertificatePolicy(certificatePolicy); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Gets information about a certificate. + * Gets information about a specific certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion) { + return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).toBlocking().single().body(); + } + + /** + * Gets information about a certificate. + * Gets information about a specific certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion), serviceCallback); + } + + /** + * Gets information about a certificate. + * Gets information about a specific certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + return getCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, certificateVersion).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets information about a certificate. + * Gets information about a specific certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate in the given vault. + * @param certificateVersion The version of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (certificateVersion == null) { + throw new IllegalArgumentException("Parameter certificateVersion is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificate(certificateName, certificateVersion, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates a certificate operation. + * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + public CertificateOperation updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { + return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).toBlocking().single().body(); + } + + /** + * Updates a certificate operation. + * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested), serviceCallback); + } + + /** + * Updates a certificate operation. + * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { + return updateCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName, cancellationRequested).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates a certificate operation. + * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param cancellationRequested Indicates if cancellation was requested on the certificate operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + CertificateOperationUpdateParameter certificateOperation = new CertificateOperationUpdateParameter(); + certificateOperation.withCancellationRequested(cancellationRequested); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), certificateOperation, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateCertificateOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Gets the creation operation of a certificate. + * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + public CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName) { + return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * Gets the creation operation of a certificate. + * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), serviceCallback); + } + + /** + * Gets the creation operation of a certificate. + * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable getCertificateOperationAsync(String vaultBaseUrl, String certificateName) { + return getCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the creation operation of a certificate. + * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable> getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getCertificateOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateOperation object if successful. + */ + public CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName) { + return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName) { + return deleteCertificateOperationWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateOperation>() { + @Override + public CertificateOperation call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateOperation object + */ + public Observable> deleteCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteCertificateOperation(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteCertificateOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteCertificateOperationDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (x509Certificates == null) { + throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); + } + Validator.validate(x509Certificates); + final CertificateAttributes certificateAttributes = null; + final Map tags = null; + CertificateMergeParameters parameters = new CertificateMergeParameters(); + parameters.withX509Certificates(x509Certificates); + parameters.withCertificateAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = mergeCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle mergeCertificate(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable mergeCertificateAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { + return mergeCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName, x509Certificates, certificateAttributes, tags).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param x509Certificates The certificate or the certificate chain to merge. + * @param certificateAttributes The attributes of the certificate (optional). + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (x509Certificates == null) { + throw new IllegalArgumentException("Parameter x509Certificates is required and cannot be null."); + } + Validator.validate(x509Certificates); + Validator.validate(certificateAttributes); + Validator.validate(tags); + CertificateMergeParameters parameters = new CertificateMergeParameters(); + parameters.withX509Certificates(x509Certificates); + parameters.withCertificateAttributes(certificateAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.mergeCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = mergeCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse mergeCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(201, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupCertificateResult object if successful. + */ + public BackupCertificateResult backupCertificate(String vaultBaseUrl, String certificateName) { + return backupCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture backupCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(backupCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupCertificateResult object + */ + public Observable backupCertificateAsync(String vaultBaseUrl, String certificateName) { + return backupCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, BackupCertificateResult>() { + @Override + public BackupCertificateResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupCertificateResult object + */ + public Observable> backupCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.backupCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = backupCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse backupCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle restoreCertificate(String vaultBaseUrl, byte[] certificateBundleBackup) { + return restoreCertificateWithServiceResponseAsync(vaultBaseUrl, certificateBundleBackup).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreCertificateWithServiceResponseAsync(vaultBaseUrl, certificateBundleBackup), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable restoreCertificateAsync(String vaultBaseUrl, byte[] certificateBundleBackup) { + return restoreCertificateWithServiceResponseAsync(vaultBaseUrl, certificateBundleBackup).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateBundleBackup The backup blob associated with a certificate bundle. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> restoreCertificateWithServiceResponseAsync(String vaultBaseUrl, byte[] certificateBundleBackup) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (certificateBundleBackup == null) { + throw new IllegalArgumentException("Parameter certificateBundleBackup is required and cannot be null."); + } + CertificateRestoreParameters parameters = new CertificateRestoreParameters(); + parameters.withCertificateBundleBackup(certificateBundleBackup); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.restoreCertificate(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = restoreCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse restoreCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + public PagedList getDeletedCertificates(final String vaultBaseUrl) { + ServiceResponse> response = getDeletedCertificatesSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedCertificatesSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + public Observable> getDeletedCertificatesAsync(final String vaultBaseUrl) { + return getDeletedCertificatesWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + public Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl) { + return getDeletedCertificatesSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedCertificatesNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedCertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedCertificatesSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + final Boolean includePending = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + public PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + ServiceResponse> response = getDeletedCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + public Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + return getDeletedCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, includePending) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + public Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + return getDeletedCertificatesSinglePageAsync(vaultBaseUrl, maxresults, includePending) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedCertificatesNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param includePending Specifies whether to include certificates which are not completely provisioned. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedCertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedCertificatesSinglePageAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedCertificates(maxresults, includePending, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedCertificatesDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedCertificateBundle object if successful. + */ + public DeletedCertificateBundle getDeletedCertificate(String vaultBaseUrl, String certificateName) { + return getDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + public Observable getDeletedCertificateAsync(String vaultBaseUrl, String certificateName) { + return getDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, DeletedCertificateBundle>() { + @Override + public DeletedCertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedCertificateBundle object + */ + public Observable> getDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDeletedCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDeletedCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void purgeDeletedCertificate(String vaultBaseUrl, String certificateName) { + purgeDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(purgeDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable purgeDeletedCertificateAsync(String vaultBaseUrl, String certificateName) { + return purgeDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> purgeDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.purgeDeletedCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = purgeDeletedCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse purgeDeletedCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the CertificateBundle object if successful. + */ + public CertificateBundle recoverDeletedCertificate(String vaultBaseUrl, String certificateName) { + return recoverDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(recoverDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable recoverDeletedCertificateAsync(String vaultBaseUrl, String certificateName) { + return recoverDeletedCertificateWithServiceResponseAsync(vaultBaseUrl, certificateName).map(new Func1, CertificateBundle>() { + @Override + public CertificateBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param certificateName The name of the deleted certificate + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the CertificateBundle object + */ + public Observable> recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.recoverDeletedCertificate(certificateName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = recoverDeletedCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse recoverDeletedCertificateDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<StorageAccountItem> object if successful. + */ + public PagedList getStorageAccounts(final String vaultBaseUrl) { + ServiceResponse> response = getStorageAccountsSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getStorageAccountsSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + public Observable> getStorageAccountsAsync(final String vaultBaseUrl) { + return getStorageAccountsWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + public Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl) { + return getStorageAccountsSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getStorageAccountsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<StorageAccountItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getStorageAccountsSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getStorageAccountsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<StorageAccountItem> object if successful. + */ + public PagedList getStorageAccounts(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + public Observable> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults) { + return getStorageAccountsWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + public Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getStorageAccountsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<StorageAccountItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getStorageAccountsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getStorageAccountsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getStorageAccountsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedStorageAccountItem> object if successful. + */ + public PagedList getDeletedStorageAccounts(final String vaultBaseUrl) { + ServiceResponse> response = getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + public Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl) { + return getDeletedStorageAccountsWithServiceResponseAsync(vaultBaseUrl) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + public Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl) { + return getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedStorageAccountsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedStorageAccountItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedStorageAccountsSinglePageAsync(final String vaultBaseUrl) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedStorageAccountsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedStorageAccountItem> object if successful. + */ + public PagedList getDeletedStorageAccounts(final String vaultBaseUrl, final Integer maxresults) { + ServiceResponse> response = getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + public Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults) { + return getDeletedStorageAccountsWithServiceResponseAsync(vaultBaseUrl, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + public Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults) { + return getDeletedStorageAccountsSinglePageAsync(vaultBaseUrl, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedStorageAccountsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedStorageAccountItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedStorageAccountsSinglePageAsync(final String vaultBaseUrl, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedStorageAccounts(maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedStorageAccountsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedStorageAccountsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedStorageBundle object if successful. + */ + public DeletedStorageBundle getDeletedStorageAccount(String vaultBaseUrl, String storageAccountName) { + return getDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + public Observable getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return getDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, DeletedStorageBundle>() { + @Override + public DeletedStorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + public Observable> getDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDeletedStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDeletedStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void purgeDeletedStorageAccount(String vaultBaseUrl, String storageAccountName) { + purgeDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(purgeDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable purgeDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return purgeDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> purgeDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.purgeDeletedStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = purgeDeletedStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse purgeDeletedStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle recoverDeletedStorageAccount(String vaultBaseUrl, String storageAccountName) { + return recoverDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(recoverDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return recoverDeletedStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> recoverDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.recoverDeletedStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = recoverDeletedStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse recoverDeletedStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the BackupStorageResult object if successful. + */ + public BackupStorageResult backupStorageAccount(String vaultBaseUrl, String storageAccountName) { + return backupStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(backupStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupStorageResult object + */ + public Observable backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return backupStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, BackupStorageResult>() { + @Override + public BackupStorageResult call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the BackupStorageResult object + */ + public Observable> backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.backupStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = backupStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse backupStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle restoreStorageAccount(String vaultBaseUrl, byte[] storageBundleBackup) { + return restoreStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageBundleBackup).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageBundleBackup), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup) { + return restoreStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageBundleBackup).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageBundleBackup The backup blob associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (storageBundleBackup == null) { + throw new IllegalArgumentException("Parameter storageBundleBackup is required and cannot be null."); + } + StorageRestoreParameters parameters = new StorageRestoreParameters(); + parameters.withStorageBundleBackup(storageBundleBackup); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.restoreStorageAccount(this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = restoreStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse restoreStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedStorageBundle object if successful. + */ + public DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName) { + return deleteStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), serviceCallback); + } + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + public Observable deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return deleteStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, DeletedStorageBundle>() { + @Override + public DeletedStorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes a storage account. This operation requires the storage/delete permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedStorageBundle object + */ + public Observable> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName) { + return getStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), serviceCallback); + } + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable getStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return getStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets information about a specified storage account. This operation requires the storage/get permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey) { + return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey).toBlocking().single().body(); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey), serviceCallback); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey) { + return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (resourceId == null) { + throw new IllegalArgumentException("Parameter resourceId is required and cannot be null."); + } + if (activeKeyName == null) { + throw new IllegalArgumentException("Parameter activeKeyName is required and cannot be null."); + } + final String regenerationPeriod = null; + final StorageAccountAttributes storageAccountAttributes = null; + final Map tags = null; + StorageAccountCreateParameters parameters = new StorageAccountCreateParameters(); + parameters.withResourceId(resourceId); + parameters.withActiveKeyName(activeKeyName); + parameters.withAutoRegenerateKey(autoRegenerateKey); + parameters.withRegenerationPeriod(null); + parameters.withStorageAccountAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { + return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).toBlocking().single().body(); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags), serviceCallback); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { + return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates or updates a new storage account. This operation requires the storage/set permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param resourceId Storage account resource id. + * @param activeKeyName Current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (resourceId == null) { + throw new IllegalArgumentException("Parameter resourceId is required and cannot be null."); + } + if (activeKeyName == null) { + throw new IllegalArgumentException("Parameter activeKeyName is required and cannot be null."); + } + Validator.validate(storageAccountAttributes); + Validator.validate(tags); + StorageAccountCreateParameters parameters = new StorageAccountCreateParameters(); + parameters.withResourceId(resourceId); + parameters.withActiveKeyName(activeKeyName); + parameters.withAutoRegenerateKey(autoRegenerateKey); + parameters.withRegenerationPeriod(regenerationPeriod); + parameters.withStorageAccountAttributes(storageAccountAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName) { + return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).toBlocking().single().body(); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName), serviceCallback); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName) { + return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final String activeKeyName = null; + final Boolean autoRegenerateKey = null; + final String regenerationPeriod = null; + final StorageAccountAttributes storageAccountAttributes = null; + final Map tags = null; + StorageAccountUpdateParameters parameters = new StorageAccountUpdateParameters(); + parameters.withActiveKeyName(null); + parameters.withAutoRegenerateKey(null); + parameters.withRegenerationPeriod(null); + parameters.withStorageAccountAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { + return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).toBlocking().single().body(); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags), serviceCallback); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { + return updateStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param activeKeyName The current active storage account key name. + * @param autoRegenerateKey whether keyvault should manage the storage account for the user. + * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format. + * @param storageAccountAttributes The attributes of the storage account. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(storageAccountAttributes); + Validator.validate(tags); + StorageAccountUpdateParameters parameters = new StorageAccountUpdateParameters(); + parameters.withActiveKeyName(activeKeyName); + parameters.withAutoRegenerateKey(autoRegenerateKey); + parameters.withRegenerationPeriod(regenerationPeriod); + parameters.withStorageAccountAttributes(storageAccountAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateStorageAccount(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateStorageAccountDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateStorageAccountDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StorageBundle object if successful. + */ + public StorageBundle regenerateStorageAccountKey(String vaultBaseUrl, String storageAccountName, String keyName) { + return regenerateStorageAccountKeyWithServiceResponseAsync(vaultBaseUrl, storageAccountName, keyName).toBlocking().single().body(); + } + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(regenerateStorageAccountKeyWithServiceResponseAsync(vaultBaseUrl, storageAccountName, keyName), serviceCallback); + } + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable regenerateStorageAccountKeyAsync(String vaultBaseUrl, String storageAccountName, String keyName) { + return regenerateStorageAccountKeyWithServiceResponseAsync(vaultBaseUrl, storageAccountName, keyName).map(new Func1, StorageBundle>() { + @Override + public StorageBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Regenerates the specified key value for the given storage account. This operation requires the storage/regeneratekey permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param keyName The storage account key name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StorageBundle object + */ + public Observable> regenerateStorageAccountKeyWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String keyName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + StorageAccountRegenerteKeyParameters parameters = new StorageAccountRegenerteKeyParameters(); + parameters.withKeyName(keyName); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.regenerateStorageAccountKey(storageAccountName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = regenerateStorageAccountKeyDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse regenerateStorageAccountKeyDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SasDefinitionItem> object if successful. + */ + public PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName) { + ServiceResponse> response = getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + public Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName) { + return getSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + public Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName) { + return getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSasDefinitionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSasDefinitionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SasDefinitionItem> object if successful. + */ + public PagedList getSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + ServiceResponse> response = getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + public Observable> getSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + return getSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + public Observable>> getSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + return getSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSasDefinitionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSasDefinitionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSasDefinitionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSasDefinitionItem> object if successful. + */ + public PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final String storageAccountName) { + ServiceResponse> response = getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + public Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName) { + return getDeletedSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + public Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName) { + return getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedSasDefinitionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedSasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final Integer maxresults = null; + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedSasDefinitionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSasDefinitionItem> object if successful. + */ + public PagedList getDeletedSasDefinitions(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + ServiceResponse> response = getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + public Observable> getDeletedSasDefinitionsAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + return getDeletedSasDefinitionsWithServiceResponseAsync(vaultBaseUrl, storageAccountName, maxresults) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + public Observable>> getDeletedSasDefinitionsWithServiceResponseAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + return getDeletedSasDefinitionsSinglePageAsync(vaultBaseUrl, storageAccountName, maxresults) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedSasDefinitionsNextWithServiceResponseAsync(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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedSasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedSasDefinitionsSinglePageAsync(final String vaultBaseUrl, final String storageAccountName, final Integer maxresults) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedSasDefinitions(storageAccountName, maxresults, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedSasDefinitionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedSasDefinitionsDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSasDefinitionBundle object if successful. + */ + public DeletedSasDefinitionBundle getDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return getDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + public Observable getDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return getDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, DeletedSasDefinitionBundle>() { + @Override + public DeletedSasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + public Observable> getDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getDeletedSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDeletedSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDeletedSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + public SasDefinitionBundle recoverDeletedSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return recoverDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(recoverDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable recoverDeletedSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return recoverDeletedSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, SasDefinitionBundle>() { + @Override + public SasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable> recoverDeletedSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.recoverDeletedSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = recoverDeletedSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse recoverDeletedSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the DeletedSasDefinitionBundle object if successful. + */ + public DeletedSasDefinitionBundle deleteSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return deleteSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); + } + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), serviceCallback); + } + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + public Observable deleteSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return deleteSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, DeletedSasDefinitionBundle>() { + @Override + public DeletedSasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes a SAS definition from a specified storage account. This operation requires the storage/deletesas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DeletedSasDefinitionBundle object + */ + public Observable> deleteSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.deleteSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + public SasDefinitionBundle getSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return getSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); + } + + /** + * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), serviceCallback); + } + + /** + * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable getSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return getSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, SasDefinitionBundle>() { + @Override + public SasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets information about a SAS definition for the specified storage account. This operation requires the storage/getsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable> getSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.getSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + public SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod) { + return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod).toBlocking().single().body(); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod), serviceCallback); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod) { + return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod).map(new Func1, SasDefinitionBundle>() { + @Override + public SasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (templateUri == null) { + throw new IllegalArgumentException("Parameter templateUri is required and cannot be null."); + } + if (sasType == null) { + throw new IllegalArgumentException("Parameter sasType is required and cannot be null."); + } + if (validityPeriod == null) { + throw new IllegalArgumentException("Parameter validityPeriod is required and cannot be null."); + } + final SasDefinitionAttributes sasDefinitionAttributes = null; + final Map tags = null; + SasDefinitionCreateParameters parameters = new SasDefinitionCreateParameters(); + parameters.withTemplateUri(templateUri); + parameters.withSasType(sasType); + parameters.withValidityPeriod(validityPeriod); + parameters.withSasDefinitionAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + public SasDefinitionBundle setSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { + return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).toBlocking().single().body(); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags), serviceCallback); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable setSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { + return setSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).map(new Func1, SasDefinitionBundle>() { + @Override + public SasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Creates or updates a new SAS definition for the specified storage account. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable> setSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + if (templateUri == null) { + throw new IllegalArgumentException("Parameter templateUri is required and cannot be null."); + } + if (sasType == null) { + throw new IllegalArgumentException("Parameter sasType is required and cannot be null."); + } + if (validityPeriod == null) { + throw new IllegalArgumentException("Parameter validityPeriod is required and cannot be null."); + } + Validator.validate(sasDefinitionAttributes); + Validator.validate(tags); + SasDefinitionCreateParameters parameters = new SasDefinitionCreateParameters(); + parameters.withTemplateUri(templateUri); + parameters.withSasType(sasType); + parameters.withValidityPeriod(validityPeriod); + parameters.withSasDefinitionAttributes(sasDefinitionAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.setSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = setSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse setSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + public SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).toBlocking().single().body(); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName), serviceCallback); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName).map(new Func1, SasDefinitionBundle>() { + @Override + public SasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + final String templateUri = null; + final SasTokenType sasType = null; + final String validityPeriod = null; + final SasDefinitionAttributes sasDefinitionAttributes = null; + final Map tags = null; + SasDefinitionUpdateParameters parameters = new SasDefinitionUpdateParameters(); + parameters.withTemplateUri(null); + parameters.withSasType(null); + parameters.withValidityPeriod(null); + parameters.withSasDefinitionAttributes(null); + parameters.withTags(null); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the SasDefinitionBundle object if successful. + */ + public SasDefinitionBundle updateSasDefinition(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { + return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).toBlocking().single().body(); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags), serviceCallback); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable updateSasDefinitionAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { + return updateSasDefinitionWithServiceResponseAsync(vaultBaseUrl, storageAccountName, sasDefinitionName, templateUri, sasType, validityPeriod, sasDefinitionAttributes, tags).map(new Func1, SasDefinitionBundle>() { + @Override + public SasDefinitionBundle call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the specified attributes associated with the given SAS definition. This operation requires the storage/setsas permission. + * + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param storageAccountName The name of the storage account. + * @param sasDefinitionName The name of the SAS definition. + * @param 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. + * @param sasType The type of SAS token the SAS definition will create. Possible values include: 'account', 'service' + * @param validityPeriod The validity period of SAS tokens created according to the SAS definition. + * @param sasDefinitionAttributes The attributes of the SAS definition. + * @param tags Application specific metadata in the form of key-value pairs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SasDefinitionBundle object + */ + public Observable> updateSasDefinitionWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String sasDefinitionName, String templateUri, SasTokenType sasType, String validityPeriod, SasDefinitionAttributes sasDefinitionAttributes, Map tags) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (storageAccountName == null) { + throw new IllegalArgumentException("Parameter storageAccountName is required and cannot be null."); + } + if (sasDefinitionName == null) { + throw new IllegalArgumentException("Parameter sasDefinitionName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + Validator.validate(sasDefinitionAttributes); + Validator.validate(tags); + SasDefinitionUpdateParameters parameters = new SasDefinitionUpdateParameters(); + parameters.withTemplateUri(templateUri); + parameters.withSasType(sasType); + parameters.withValidityPeriod(validityPeriod); + parameters.withSasDefinitionAttributes(sasDefinitionAttributes); + parameters.withTags(tags); + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + return service.updateSasDefinition(storageAccountName, sasDefinitionName, this.apiVersion(), this.acceptLanguage(), parameters, parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSasDefinitionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateSasDefinitionDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory().newInstance(this.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeyVersionsNext(final String nextPageLink) { + ServiceResponse> response = getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeyVersionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeyVersionsNextAsync(final String nextPageLink) { + return getKeyVersionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeyVersionsNextWithServiceResponseAsync(final String nextPageLink) { + return getKeyVersionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeyVersionsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeyVersionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getKeyVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeyVersionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeyVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<KeyItem> object if successful. + */ + public PagedList getKeysNext(final String nextPageLink) { + ServiceResponse> response = getKeysNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getKeysNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable> getKeysNextAsync(final String nextPageLink) { + return getKeysNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<KeyItem> object + */ + public Observable>> getKeysNextWithServiceResponseAsync(final String nextPageLink) { + return getKeysNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getKeysNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<KeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getKeysNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getKeysNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getKeysNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getKeysNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedKeyItem> object if successful. + */ + public PagedList getDeletedKeysNext(final String nextPageLink) { + ServiceResponse> response = getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedKeysNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + public Observable> getDeletedKeysNextAsync(final String nextPageLink) { + return getDeletedKeysNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedKeyItem> object + */ + public Observable>> getDeletedKeysNextWithServiceResponseAsync(final String nextPageLink) { + return getDeletedKeysNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedKeysNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedKeyItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedKeysNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getDeletedKeysNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedKeysNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedKeysNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretsNext(final String nextPageLink) { + ServiceResponse> response = getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretsNextAsync(final String nextPageLink) { + return getSecretsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretsNextWithServiceResponseAsync(final String nextPageLink) { + return getSecretsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getSecretsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SecretItem> object if successful. + */ + public PagedList getSecretVersionsNext(final String nextPageLink) { + ServiceResponse> response = getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSecretVersionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable> getSecretVersionsNextAsync(final String nextPageLink) { + return getSecretVersionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SecretItem> object + */ + public Observable>> getSecretVersionsNextWithServiceResponseAsync(final String nextPageLink) { + return getSecretVersionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSecretVersionsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSecretVersionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getSecretVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSecretVersionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSecretVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSecretItem> object if successful. + */ + public PagedList getDeletedSecretsNext(final String nextPageLink) { + ServiceResponse> response = getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedSecretsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + public Observable> getDeletedSecretsNextAsync(final String nextPageLink) { + return getDeletedSecretsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSecretItem> object + */ + public Observable>> getDeletedSecretsNextWithServiceResponseAsync(final String nextPageLink) { + return getDeletedSecretsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedSecretsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedSecretItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedSecretsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getDeletedSecretsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedSecretsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedSecretsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificatesNext(final String nextPageLink) { + ServiceResponse> response = getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificatesNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificatesNextAsync(final String nextPageLink) { + return getCertificatesNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificatesNextWithServiceResponseAsync(final String nextPageLink) { + return getCertificatesNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificatesNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificatesNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getCertificatesNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificatesNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificatesNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateIssuerItem> object if successful. + */ + public PagedList getCertificateIssuersNext(final String nextPageLink) { + ServiceResponse> response = getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateIssuersNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable> getCertificateIssuersNextAsync(final String nextPageLink) { + return getCertificateIssuersNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateIssuerItem> object + */ + public Observable>> getCertificateIssuersNextWithServiceResponseAsync(final String nextPageLink) { + return getCertificateIssuersNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateIssuersNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateIssuerItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateIssuersNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getCertificateIssuersNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateIssuersNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateIssuersNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<CertificateItem> object if successful. + */ + public PagedList getCertificateVersionsNext(final String nextPageLink) { + ServiceResponse> response = getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getCertificateVersionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable> getCertificateVersionsNextAsync(final String nextPageLink) { + return getCertificateVersionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<CertificateItem> object + */ + public Observable>> getCertificateVersionsNextWithServiceResponseAsync(final String nextPageLink) { + return getCertificateVersionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getCertificateVersionsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<CertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getCertificateVersionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getCertificateVersionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getCertificateVersionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getCertificateVersionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedCertificateItem> object if successful. + */ + public PagedList getDeletedCertificatesNext(final String nextPageLink) { + ServiceResponse> response = getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedCertificatesNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + public Observable> getDeletedCertificatesNextAsync(final String nextPageLink) { + return getDeletedCertificatesNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedCertificateItem> object + */ + public Observable>> getDeletedCertificatesNextWithServiceResponseAsync(final String nextPageLink) { + return getDeletedCertificatesNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedCertificatesNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedCertificateItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedCertificatesNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getDeletedCertificatesNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedCertificatesNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedCertificatesNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<StorageAccountItem> object if successful. + */ + public PagedList getStorageAccountsNext(final String nextPageLink) { + ServiceResponse> response = getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getStorageAccountsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + public Observable> getStorageAccountsNextAsync(final String nextPageLink) { + return getStorageAccountsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<StorageAccountItem> object + */ + public Observable>> getStorageAccountsNextWithServiceResponseAsync(final String nextPageLink) { + return getStorageAccountsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getStorageAccountsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List storage accounts managed by the specified key vault. This operation requires the storage/list permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<StorageAccountItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getStorageAccountsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getStorageAccountsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getStorageAccountsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getStorageAccountsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedStorageAccountItem> object if successful. + */ + public PagedList getDeletedStorageAccountsNext(final String nextPageLink) { + ServiceResponse> response = getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedStorageAccountsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedStorageAccountsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + public Observable> getDeletedStorageAccountsNextAsync(final String nextPageLink) { + return getDeletedStorageAccountsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedStorageAccountItem> object + */ + public Observable>> getDeletedStorageAccountsNextWithServiceResponseAsync(final String nextPageLink) { + return getDeletedStorageAccountsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedStorageAccountsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedStorageAccountItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedStorageAccountsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getDeletedStorageAccountsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedStorageAccountsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedStorageAccountsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SasDefinitionItem> object if successful. + */ + public PagedList getSasDefinitionsNext(final String nextPageLink) { + ServiceResponse> response = getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSasDefinitionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + public Observable> getSasDefinitionsNextAsync(final String nextPageLink) { + return getSasDefinitionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SasDefinitionItem> object + */ + public Observable>> getSasDefinitionsNextWithServiceResponseAsync(final String nextPageLink) { + return getSasDefinitionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSasDefinitionsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List storage SAS definitions for the given storage account. This operation requires the storage/listsas permission. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSasDefinitionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getSasDefinitionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getSasDefinitionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getSasDefinitionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws KeyVaultErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<DeletedSasDefinitionItem> object if successful. + */ + public PagedList getDeletedSasDefinitionsNext(final String nextPageLink) { + ServiceResponse> response = getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> getDeletedSasDefinitionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink); + } + }, + 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + public Observable> getDeletedSasDefinitionsNextAsync(final String nextPageLink) { + return getDeletedSasDefinitionsNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DeletedSasDefinitionItem> object + */ + public Observable>> getDeletedSasDefinitionsNextWithServiceResponseAsync(final String nextPageLink) { + return getDeletedSasDefinitionsNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getDeletedSasDefinitionsNextWithServiceResponseAsync(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. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DeletedSasDefinitionItem> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getDeletedSasDefinitionsNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.getDeletedSasDefinitionsNext(nextUrl, this.acceptLanguage(), this.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = getDeletedSasDefinitionsNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> getDeletedSasDefinitionsNextDelegate(Response response) throws KeyVaultErrorException, IOException, IllegalArgumentException { + return this.restClient().responseBuilderFactory()., KeyVaultErrorException>newInstance(this.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(KeyVaultErrorException.class) + .build(response); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientCustomImpl.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientCustomImpl.java index 4c978bf5ad8c7..f1e290f84849b 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientCustomImpl.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/KeyVaultClientCustomImpl.java @@ -1,1938 +1,1938 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.implementation; - -import java.util.List; -import java.util.Map; -import java.util.Objects; - -import com.google.common.base.Joiner; -import com.microsoft.azure.ListOperationCallback; -import com.microsoft.azure.Page; -import com.microsoft.azure.PagedList; -import com.microsoft.azure.keyvault.CertificateIdentifier; -import com.microsoft.azure.keyvault.KeyIdentifier; -import com.microsoft.azure.keyvault.KeyVaultClientCustom; -import com.microsoft.azure.keyvault.SecretIdentifier; -import com.microsoft.azure.keyvault.models.CertificateBundle; -import com.microsoft.azure.keyvault.models.CertificateCreateParameters; -import com.microsoft.azure.keyvault.models.CertificateImportParameters; -import com.microsoft.azure.keyvault.models.CertificateIssuerItem; -import com.microsoft.azure.keyvault.models.CertificateIssuerSetParameters; -import com.microsoft.azure.keyvault.models.CertificateIssuerUpdateParameters; -import com.microsoft.azure.keyvault.models.CertificateItem; -import com.microsoft.azure.keyvault.models.CertificateMergeParameters; -import com.microsoft.azure.keyvault.models.CertificateOperation; -import com.microsoft.azure.keyvault.models.CertificateOperationUpdateParameter; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.CertificateUpdateParameters; -import com.microsoft.azure.keyvault.models.Contacts; -import com.microsoft.azure.keyvault.models.DeletedCertificateItem; -import com.microsoft.azure.keyvault.models.IssuerBundle; -import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.models.KeyBundle; -import com.microsoft.azure.keyvault.models.KeyCreateParameters; -import com.microsoft.azure.keyvault.models.KeyImportParameters; -import com.microsoft.azure.keyvault.models.KeyItem; -import com.microsoft.azure.keyvault.models.KeyOperationResult; -import com.microsoft.azure.keyvault.models.KeyOperationsParameters; -import com.microsoft.azure.keyvault.models.KeyRestoreParameters; -import com.microsoft.azure.keyvault.models.KeySignParameters; -import com.microsoft.azure.keyvault.models.KeyUpdateParameters; -import com.microsoft.azure.keyvault.models.KeyVerifyParameters; -import com.microsoft.azure.keyvault.models.KeyVerifyResult; -import com.microsoft.azure.keyvault.models.SecretBundle; -import com.microsoft.azure.keyvault.models.SecretItem; -import com.microsoft.azure.keyvault.models.SecretSetParameters; -import com.microsoft.azure.keyvault.models.SecretUpdateParameters; -import com.microsoft.azure.keyvault.requests.CreateCertificateRequest; -import com.microsoft.azure.keyvault.requests.CreateKeyRequest; -import com.microsoft.azure.keyvault.requests.ImportCertificateRequest; -import com.microsoft.azure.keyvault.requests.ImportKeyRequest; -import com.microsoft.azure.keyvault.requests.MergeCertificateRequest; -import com.microsoft.azure.keyvault.requests.SetCertificateIssuerRequest; -import com.microsoft.azure.keyvault.requests.SetSecretRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificateIssuerRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificateOperationRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificatePolicyRequest; -import com.microsoft.azure.keyvault.requests.UpdateCertificateRequest; -import com.microsoft.azure.keyvault.requests.UpdateKeyRequest; -import com.microsoft.azure.keyvault.requests.UpdateSecretRequest; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.microsoft.rest.RestClient; -import com.microsoft.rest.ServiceCallback; -import com.microsoft.rest.ServiceFuture; -import com.microsoft.rest.ServiceResponse; -import com.microsoft.rest.credentials.ServiceClientCredentials; -import com.microsoft.rest.protocol.SerializerAdapter; - -import okhttp3.OkHttpClient; -import okhttp3.ResponseBody; -import retrofit2.Response; -import retrofit2.http.Body; -import retrofit2.http.GET; -import retrofit2.http.HTTP; -import retrofit2.http.Header; -import retrofit2.http.Headers; -import retrofit2.http.PATCH; -import retrofit2.http.POST; -import retrofit2.http.PUT; -import retrofit2.http.Path; -import retrofit2.http.Query; -import retrofit2.http.Url; -import rx.Observable; -import rx.functions.Func1; - -/** - * Implementation of Key Vault Custom Client to maintain backwards compatibility. - * -*/ -public class KeyVaultClientCustomImpl extends KeyVaultClientBaseImpl implements KeyVaultClientCustom { - - private KeyVaultClientService service; - - protected KeyVaultClientCustomImpl(ServiceClientCredentials credentials) { - super(credentials); - } - - protected KeyVaultClientCustomImpl(RestClient restClient) { - super(restClient); - } - - /** - * Initializes the service. - */ - public void initializeService() { - service = restClient().retrofit().create(KeyVaultClientService.class); - } - - @Override - public OkHttpClient httpClient() { - return super.httpClient(); - } - - @Override - public SerializerAdapter serializerAdapter() { - return super.serializerAdapter(); - } - - /** - * The interface defining all the services for KeyVaultClient to be used by - * Retrofit to perform actually REST calls. - */ - interface KeyVaultClientService { - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createKey" }) - @POST("keys/{key-name}/create") - Observable> createKey(@Path("key-name") String keyName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body KeyCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, - @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importKey" }) - @PUT("keys/{key-name}") - Observable> importKey(@Path("key-name") String keyName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body KeyImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, - @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteKey" }) - @HTTP(path = "keys/{key-name}", method = "DELETE", hasBody = true) - Observable> deleteKey(@Path("key-name") String keyName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateKey" }) - @PATCH("keys/{key-name}/{key-version}") - Observable> updateKey(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyUpdateParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKey" }) - @GET("keys/{key-name}/{key-version}") - Observable> getKey(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersions" }) - @GET("keys/{key-name}/versions") - Observable> getKeyVersions(@Path("key-name") String keyName, - @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeys" }) - @GET("keys") - Observable> getKeys(@Query("maxresults") Integer maxresults, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient backupKey" }) - @POST("keys/{key-name}/backup") - Observable> backupKey(@Path("key-name") String keyName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient restoreKey" }) - @POST("keys/restore") - Observable> restoreKey(@Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyRestoreParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient encrypt" }) - @POST("keys/{key-name}/{key-version}/encrypt") - Observable> encrypt(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient decrypt" }) - @POST("keys/{key-name}/{key-version}/decrypt") - Observable> decrypt(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient sign" }) - @POST("keys/{key-name}/{key-version}/sign") - Observable> sign(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeySignParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient verify" }) - @POST("keys/{key-name}/{key-version}/verify") - Observable> verify(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyVerifyParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient wrapKey" }) - @POST("keys/{key-name}/{key-version}/wrapkey") - Observable> wrapKey(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient unwrapKey" }) - @POST("keys/{key-name}/{key-version}/unwrapkey") - Observable> unwrapKey(@Path("key-name") String keyName, - @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setSecret" }) - @PUT("secrets/{secret-name}") - Observable> setSecret(@Path("secret-name") String secretName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body SecretSetParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, - @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteSecret" }) - @HTTP(path = "secrets/{secret-name}", method = "DELETE", hasBody = true) - Observable> deleteSecret(@Path("secret-name") String secretName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateSecret" }) - @PATCH("secrets/{secret-name}/{secret-version}") - Observable> updateSecret(@Path("secret-name") String secretName, - @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body SecretUpdateParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecret" }) - @GET("secrets/{secret-name}/{secret-version}") - Observable> getSecret(@Path("secret-name") String secretName, - @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecrets" }) - @GET("secrets") - Observable> getSecrets(@Query("maxresults") Integer maxresults, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersions" }) - @GET("secrets/{secret-name}/versions") - Observable> getSecretVersions(@Path("secret-name") String secretName, - @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificates" }) - @GET("certificates") - Observable> getCertificates(@Query("maxresults") Integer maxresults, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificate" }) - @HTTP(path = "certificates/{certificate-name}", method = "DELETE", hasBody = true) - Observable> deleteCertificate(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateContacts" }) - @PUT("certificates/contacts") - Observable> setCertificateContacts(@Body Contacts contacts, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateContacts" }) - @GET("certificates/contacts") - Observable> getCertificateContacts(@Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateContacts" }) - @HTTP(path = "certificates/contacts", method = "DELETE", hasBody = true) - Observable> deleteCertificateContacts(@Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuers" }) - @GET("certificates/issuers") - Observable> getCertificateIssuers(@Query("maxresults") Integer maxresults, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateIssuer" }) - @PUT("certificates/issuers/{issuer-name}") - Observable> setCertificateIssuer(@Path("issuer-name") String issuerName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body CertificateIssuerSetParameters parameter, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateIssuer" }) - @PATCH("certificates/issuers/{issuer-name}") - Observable> updateCertificateIssuer(@Path("issuer-name") String issuerName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body CertificateIssuerUpdateParameters parameter, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuer" }) - @GET("certificates/issuers/{issuer-name}") - Observable> getCertificateIssuer(@Path("issuer-name") String issuerName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateIssuer" }) - @HTTP(path = "certificates/issuers/{issuer-name}", method = "DELETE", hasBody = true) - Observable> deleteCertificateIssuer(@Path("issuer-name") String issuerName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createCertificate" }) - @POST("certificates/{certificate-name}/create") - Observable> createCertificate(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body CertificateCreateParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importCertificate" }) - @POST("certificates/{certificate-name}/import") - Observable> importCertificate(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body CertificateImportParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersions" }) - @GET("certificates/{certificate-name}/versions") - Observable> getCertificateVersions(@Path("certificate-name") String certificateName, - @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatePolicy" }) - @GET("certificates/{certificate-name}/policy") - Observable> getCertificatePolicy(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificatePolicy" }) - @PATCH("certificates/{certificate-name}/policy") - Observable> updateCertificatePolicy(@Path("certificate-name") String certificateName, - @Body CertificatePolicy certificatePolicy, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificate" }) - @PATCH("certificates/{certificate-name}/{certificate-version}") - Observable> updateCertificate(@Path("certificate-name") String certificateName, - @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, @Body CertificateUpdateParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificate" }) - @GET("certificates/{certificate-name}/{certificate-version}") - Observable> getCertificate(@Path("certificate-name") String certificateName, - @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateOperation" }) - @PATCH("certificates/{certificate-name}/pending") - Observable> updateCertificateOperation(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body CertificateOperationUpdateParameter certificateOperation, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateOperation" }) - @GET("certificates/{certificate-name}/pending") - Observable> getCertificateOperation(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateOperation" }) - @HTTP(path = "certificates/{certificate-name}/pending", method = "DELETE", hasBody = true) - Observable> deleteCertificateOperation(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient mergeCertificate" }) - @POST("certificates/{certificate-name}/pending/merge") - Observable> mergeCertificate(@Path("certificate-name") String certificateName, - @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, - @Body CertificateMergeParameters parameters, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersionsNext" }) - @GET - Observable> getKeyVersionsNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeysNext" }) - @GET - Observable> getKeysNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretsNext" }) - @GET - Observable> getSecretsNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersionsNext" }) - @GET - Observable> getSecretVersionsNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatesNext" }) - @GET - Observable> getCertificatesNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuersNext" }) - @GET - Observable> getCertificateIssuersNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersionsNext" }) - @GET - Observable> getCertificateVersionsNext(@Url String nextUrl, - @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); - - @Headers({ "Content-Type: application/json; charset=utf-8", "Accept: application/pkcs10", - "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getPendingCertificateSigningRequest" }) - @GET("certificates/{certificate-name}/pending") - Observable> getPendingCertificateSigningRequest( - @Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, - @Header("accept-language") String acceptLanguage, - @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); - - } - - /** - * 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. Authorization: Requires the keys/create permission. - * - * @param createKeyRequest - * the grouped properties for creating a key request - * @return the KeyBundle if successful. - */ - public KeyBundle createKey(CreateKeyRequest createKeyRequest) { - - return createKey(createKeyRequest.vaultBaseUrl(), createKeyRequest.keyName(), createKeyRequest.keyType(), - createKeyRequest.keySize(), createKeyRequest.keyOperations(), createKeyRequest.keyAttributes(), - createKeyRequest.tags(), createKeyRequest.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. Authorization: Requires the keys/create permission. - * - * @param createKeyRequest - * the grouped properties for creating a key request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createKeyAsync(CreateKeyRequest createKeyRequest, - ServiceCallback serviceCallback) { - return createKeyAsync(createKeyRequest.vaultBaseUrl(), createKeyRequest.keyName(), createKeyRequest.keyType(), - createKeyRequest.keySize(), createKeyRequest.keyOperations(), createKeyRequest.keyAttributes(), - createKeyRequest.tags(), createKeyRequest.curve(), 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. Authorization: requires the - * keys/import permission. - * - * @param importKeyRequest - * the grouped properties for importing a key request - * @return the KeyBundle if successful. - */ - public KeyBundle importKey(ImportKeyRequest importKeyRequest) { - return importKey(importKeyRequest.vaultBaseUrl(), importKeyRequest.keyName(), importKeyRequest.key(), - importKeyRequest.isHsm(), importKeyRequest.keyAttributes(), importKeyRequest.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. Authorization: requires the - * keys/import permission. - * - * @param importKeyRequest - * the grouped properties for importing a key request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importKeyAsync(ImportKeyRequest importKeyRequest, - final ServiceCallback serviceCallback) { - return importKeyAsync(importKeyRequest.vaultBaseUrl(), importKeyRequest.keyName(), importKeyRequest.key(), - importKeyRequest.isHsm(), importKeyRequest.keyAttributes(), importKeyRequest.tags(), 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. The - * cryptographic material of a key itself cannot be changed. In order to perform - * this operation, the key must already exist in the Key Vault. Authorization: - * requires the keys/update permission. - * - * @param updateKeyRequest - * the grouped properties for updating a key request - * @return the KeyBundle if successful. - */ - public KeyBundle updateKey(UpdateKeyRequest updateKeyRequest) { - return updateKey(updateKeyRequest.vaultBaseUrl(), updateKeyRequest.keyName(), updateKeyRequest.keyVersion(), - updateKeyRequest.keyOperations(), updateKeyRequest.keyAttributes(), updateKeyRequest.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. The - * cryptographic material of a key itself cannot be changed. In order to perform - * this operation, the key must already exist in the Key Vault. Authorization: - * requires the keys/update permission. - * - * @param updateKeyRequest - * the grouped properties for updating a key request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateKeyAsync(UpdateKeyRequest updateKeyRequest, - final ServiceCallback serviceCallback) { - return updateKeyAsync(updateKeyRequest.vaultBaseUrl(), updateKeyRequest.keyName(), - updateKeyRequest.keyVersion(), updateKeyRequest.keyOperations(), updateKeyRequest.keyAttributes(), - updateKeyRequest.tags(), 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. Authorization: Requires the keys/get permission. - * - * @param keyIdentifier - * The full key identifier - * @return the KeyBundle if successful. - */ - public KeyBundle getKey(String keyIdentifier) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return getKey(id.vault(), id.name(), id.version() == null ? "" : id.version()); - } - - /** - * 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. Authorization: Requires the keys/get permission. - * - * @param keyIdentifier - * The full key identifier - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getKeyAsync(String keyIdentifier, - final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return getKeyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @return the KeyBundle if successful. - */ - public KeyBundle getKey(String vaultBaseUrl, String keyName) { - return getKey(vaultBaseUrl, keyName, ""); - } - - /** - * 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. Authorization: Requires the keys/get permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, - final ServiceCallback serviceCallback) { - return getKeyAsync(vaultBaseUrl, keyName, "", 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @return the PagedList<KeyItem> if successful. - */ - public PagedList listKeyVersions(final String vaultBaseUrl, final String keyName) { - return getKeyVersions(vaultBaseUrl, keyName); - } - - /** - * Wraps a symmetric key using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be wrapped - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return wrapKeyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, - serviceCallback); - } - - /** - * Unwraps a symmetric key using the specified key in the vault that has - * initially been used for wrapping the key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be unwrapped - * @return the KeyOperationResult if successful. - */ - public KeyOperationResult unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return unwrapKey(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); - } - - /** - * Unwraps a symmetric key using the specified key in the vault that has - * initially been used for wrapping the key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be unwrapped - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture unwrapKeyAsync(String keyIdentifier, - JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, - final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return unwrapKeyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, - serviceCallback); - } - - /** - * Wraps a symmetric key using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the key to be wrapped - * @return the KeyOperationResult if successful. - */ - public KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return wrapKey(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); - } - - /** - * Retrieves a list of individual key versions with the same key name. The full - * key identifier, attributes, and tags are provided in the response. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, - final ListOperationCallback serviceCallback) { - return getKeyVersionsAsync(vaultBaseUrl, keyName, 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, - final Integer maxresults, final ListOperationCallback serviceCallback) { - return getKeyVersionsAsync(vaultBaseUrl, keyName, maxresults, 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. - * Authorization: Requires the keys/list permission. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<KeyItem> if successful. - */ - public PagedList listKeyVersions(final String vaultBaseUrl, final String keyName, - final Integer maxresults) { - return getKeyVersions(vaultBaseUrl, keyName, maxresults); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @return the PagedList<KeyItem> if successful. - */ - public PagedList listKeys(final String vaultBaseUrl) { - return getKeys(vaultBaseUrl); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listKeysAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback) { - return getKeysAsync(vaultBaseUrl, serviceCallback); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listKeysAsync(final String vaultBaseUrl, final Integer maxresults, - final ListOperationCallback serviceCallback) { - return getKeysAsync(vaultBaseUrl, maxresults, serviceCallback); - } - - /** - * List keys in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<KeyItem> if successful. - */ - public PagedList listKeys(final String vaultBaseUrl, final Integer maxresults) { - return getKeys(vaultBaseUrl, maxresults); - } - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is - * stored in a key vault. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be encrypted - * @return the KeyOperationResult if successful. - */ - public KeyOperationResult encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return encrypt(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); - } - - /** - * Encrypts an arbitrary sequence of bytes using an encryption key that is - * stored in a key vault. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be encrypted - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return encryptAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, - serviceCallback); - } - - /** - * Decrypts a single block of encrypted data. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be decrypted - * @return the KeyOperationResult if successful. - */ - public KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return decrypt(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); - } - - /** - * Decrypts a single block of encrypted data. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be decrypted - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return decryptAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, - serviceCallback); - } - - /** - * Creates a signature from a digest using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be signed - * @return the KeyOperationResult if successful. - */ - public KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return sign(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); - } - - /** - * Creates a signature from a digest using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * algorithm identifier - * @param value - * the content to be signed - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, - byte[] value, final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return signAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, - serviceCallback); - } - - /** - * Verifies a signature using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * The signing/verification algorithm. For more information on - * possible algorithm types, see JsonWebKeySignatureAlgorithm. - * @param digest - * The digest used for signing - * @param signature - * The signature to be verified - * @return the KeyVerifyResult if successful. - */ - public KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, - byte[] signature) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return verify(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, digest, signature); - } - - /** - * Verifies a signature using the specified key. - * - * @param keyIdentifier - * The full key identifier - * @param algorithm - * The signing/verification algorithm. For more information on - * possible algorithm types, see JsonWebKeySignatureAlgorithm. - * @param digest - * The digest used for signing - * @param signature - * The signature to be verified - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, - byte[] digest, byte[] signature, final ServiceCallback serviceCallback) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - return verifyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, digest, - signature, serviceCallback); - } - - /** - * Sets a secret in the specified vault. - * - * @param setSecretRequest - * the grouped properties for setting a secret request - * @return the SecretBundle if successful. - */ - public SecretBundle setSecret(SetSecretRequest setSecretRequest) { - return setSecret(setSecretRequest.vaultBaseUrl(), setSecretRequest.secretName(), setSecretRequest.value(), - setSecretRequest.tags(), setSecretRequest.contentType(), setSecretRequest.secretAttributes()); - } - - /** - * Sets a secret in the specified vault. - * - * @param setSecretRequest - * the grouped properties for setting a secret request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setSecretAsync(SetSecretRequest setSecretRequest, - final ServiceCallback serviceCallback) { - return setSecretAsync(setSecretRequest.vaultBaseUrl(), setSecretRequest.secretName(), setSecretRequest.value(), - setSecretRequest.tags(), setSecretRequest.contentType(), setSecretRequest.secretAttributes(), - serviceCallback); - } - - /** - * Updates the attributes associated with a specified secret in a given key - * vault. - * - * @param updateSecretRequest - * the grouped properties for updating a secret request - * @return the SecretBundle if successful. - */ - public SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest) { - return updateSecret(updateSecretRequest.vaultBaseUrl(), updateSecretRequest.secretName(), - updateSecretRequest.secretVersion(), updateSecretRequest.contentType(), - updateSecretRequest.secretAttributes(), updateSecretRequest.tags()); - } - - /** - * Updates the attributes associated with a specified secret in a given key - * vault. - * - * @param updateSecretRequest - * the grouped properties for updating a secret request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateSecretAsync(UpdateSecretRequest updateSecretRequest, - final ServiceCallback serviceCallback) { - return updateSecretAsync(updateSecretRequest.vaultBaseUrl(), updateSecretRequest.secretName(), - updateSecretRequest.secretVersion(), updateSecretRequest.contentType(), - updateSecretRequest.secretAttributes(), updateSecretRequest.tags(), serviceCallback); - } - - /** - * Get a specified secret from a given key vault. - * - * @param secretIdentifier - * The URL for the secret. - * @return the SecretBundle if successful. - */ - public SecretBundle getSecret(String secretIdentifier) { - SecretIdentifier id = new SecretIdentifier(secretIdentifier); - return getSecret(id.vault(), id.name(), id.version() == null ? "" : id.version()); - } - - /** - * Get a specified secret from a given key vault. - * - * @param secretIdentifier - * The URL for the secret. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getSecretAsync(String secretIdentifier, - final ServiceCallback serviceCallback) { - SecretIdentifier id = new SecretIdentifier(secretIdentifier); - return getSecretAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), serviceCallback); - } - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @return the SecretBundle if successful. - */ - public SecretBundle getSecret(String vaultBaseUrl, String secretName) { - return getSecret(vaultBaseUrl, secretName, ""); - } - - /** - * Get a specified secret from a given key vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, - final ServiceCallback serviceCallback) { - return getSecretAsync(vaultBaseUrl, secretName, "", serviceCallback); - } - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @return the PagedList<SecretItem> if successful. - */ - public PagedList listSecrets(final String vaultBaseUrl) { - return getSecrets(vaultBaseUrl); - } - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listSecretsAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback) { - return getSecretsAsync(vaultBaseUrl, serviceCallback); - } - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<SecretItem> if successful. - */ - public PagedList listSecrets(final String vaultBaseUrl, final Integer maxresults) { - return getSecrets(vaultBaseUrl, maxresults); - } - - /** - * List secrets in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listSecretsAsync(final String vaultBaseUrl, final Integer maxresults, - final ListOperationCallback serviceCallback) { - return getSecretsAsync(vaultBaseUrl, maxresults, serviceCallback); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @return the PagedList<SecretItem> if successful. - */ - public PagedList listSecretVersions(final String vaultBaseUrl, final String secretName) { - return getSecretVersions(vaultBaseUrl, secretName); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, - final ListOperationCallback serviceCallback) { - return getSecretVersionsAsync(vaultBaseUrl, secretName, serviceCallback); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<SecretItem> if successful. - */ - public PagedList listSecretVersions(final String vaultBaseUrl, final String secretName, - final Integer maxresults) { - return getSecretVersions(vaultBaseUrl, secretName, maxresults); - } - - /** - * List the versions of the specified secret. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, - final Integer maxresults, final ListOperationCallback serviceCallback) { - return getSecretVersionsAsync(vaultBaseUrl, secretName, maxresults, serviceCallback); - } - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @return the PagedList<CertificateItem> if successful. - */ - public PagedList listCertificates(final String vaultBaseUrl) { - return getCertificates(vaultBaseUrl); - } - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback) { - return getCertificatesAsync(vaultBaseUrl, serviceCallback); - } - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<CertificateItem> if successful. - */ - public PagedList listCertificates(final String vaultBaseUrl, final Integer maxresults) { - return getCertificates(vaultBaseUrl, maxresults); - } - - /** - * List certificates in the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, - final Integer maxresults, final ListOperationCallback serviceCallback) { - return getCertificatesAsync(vaultBaseUrl, maxresults, serviceCallback); - } - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @return the PagedList<CertificateIssuerItem> if successful. - */ - public PagedList listCertificateIssuers(final String vaultBaseUrl) { - return getCertificateIssuers(vaultBaseUrl); - } - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, - final ListOperationCallback serviceCallback) { - return getCertificateIssuersAsync(vaultBaseUrl, serviceCallback); - } - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<CertificateIssuerItem> if successful. - */ - public PagedList listCertificateIssuers(final String vaultBaseUrl, - final Integer maxresults) { - return getCertificateIssuers(vaultBaseUrl, maxresults); - } - - /** - * List certificate issuers for the specified vault. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, - final Integer maxresults, final ListOperationCallback serviceCallback) { - return getCertificateIssuersAsync(vaultBaseUrl, maxresults, serviceCallback); - } - - /** - * Sets the certificate contacts for the specified vault. - * - * @param setCertificateIssuerRequest - * the grouped properties for setting a certificate issuer request - * @return the IssuerBundle if successful. - */ - public IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest) { - return setCertificateIssuer(setCertificateIssuerRequest.vaultBaseUrl(), - setCertificateIssuerRequest.issuerName(), setCertificateIssuerRequest.provider(), - setCertificateIssuerRequest.credentials(), setCertificateIssuerRequest.organizationDetails(), - setCertificateIssuerRequest.attributes()); - } - - /** - * Sets the certificate contacts for the specified vault. - * - * @param setCertificateIssuerRequest - * the grouped properties for setting a certificate issuer request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture setCertificateIssuerAsync( - SetCertificateIssuerRequest setCertificateIssuerRequest, - final ServiceCallback serviceCallback) { - return setCertificateIssuerAsync(setCertificateIssuerRequest.vaultBaseUrl(), - setCertificateIssuerRequest.issuerName(), setCertificateIssuerRequest.provider(), - setCertificateIssuerRequest.credentials(), setCertificateIssuerRequest.organizationDetails(), - setCertificateIssuerRequest.attributes(), serviceCallback); - } - - /** - * Updates the specified certificate issuer. - * - * @param updateCertificateIssuerRequest - * the grouped properties for updating a certificate issuer request - * @return the IssuerBundle if successful. - */ - public IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest) { - return updateCertificateIssuer(updateCertificateIssuerRequest.vaultBaseUrl(), - updateCertificateIssuerRequest.issuerName(), updateCertificateIssuerRequest.provider(), - updateCertificateIssuerRequest.credentials(), updateCertificateIssuerRequest.organizationDetails(), - updateCertificateIssuerRequest.attributes()); - } - - /** - * Updates the specified certificate issuer. - * - * @param updateCertificateIssuerRequest - * the grouped properties for updating a certificate issuer request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - * @throws IllegalArgumentException - * thrown if callback is null - */ - public ServiceFuture updateCertificateIssuerAsync( - UpdateCertificateIssuerRequest updateCertificateIssuerRequest, - final ServiceCallback serviceCallback) { - return updateCertificateIssuerAsync(updateCertificateIssuerRequest.vaultBaseUrl(), - updateCertificateIssuerRequest.issuerName(), updateCertificateIssuerRequest.provider(), - updateCertificateIssuerRequest.credentials(), updateCertificateIssuerRequest.organizationDetails(), - updateCertificateIssuerRequest.attributes(), serviceCallback); - } - - /** - * Creates a new certificate version. If this is the first version, the - * certificate resource is created. - * - * @param createCertificateRequest - * the grouped properties for creating a certificate request - * @return the CertificateOperation if successful. - */ - public CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest) { - return createCertificate(createCertificateRequest.vaultBaseUrl(), createCertificateRequest.certificateName(), - createCertificateRequest.certificatePolicy(), createCertificateRequest.certificateAttributes(), - createCertificateRequest.tags()); - } - - /** - * Creates a new certificate version. If this is the first version, the - * certificate resource is created. - * - * @param createCertificateRequest - * the grouped properties for creating a certificate request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture createCertificateAsync(CreateCertificateRequest createCertificateRequest, - final ServiceCallback serviceCallback) { - return createCertificateAsync(createCertificateRequest.vaultBaseUrl(), - createCertificateRequest.certificateName(), createCertificateRequest.certificatePolicy(), - createCertificateRequest.certificateAttributes(), createCertificateRequest.tags(), serviceCallback); - } - - /** - * Imports a certificate into the specified vault. - * - * @param importCertificateRequest - * the grouped properties for importing a certificate request - * @return the CertificateBundle if successful. - */ - public CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest) { - return importCertificate(importCertificateRequest.vaultBaseUrl(), importCertificateRequest.certificateName(), - importCertificateRequest.base64EncodedCertificate(), importCertificateRequest.password(), - importCertificateRequest.certificatePolicy(), importCertificateRequest.certificateAttributes(), - importCertificateRequest.tags()); - } - - /** - * Imports a certificate into the specified vault. - * - * @param importCertificateRequest - * the grouped properties for importing a certificate request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture importCertificateAsync(ImportCertificateRequest importCertificateRequest, - final ServiceCallback serviceCallback) { - return importCertificateAsync(importCertificateRequest.vaultBaseUrl(), - importCertificateRequest.certificateName(), importCertificateRequest.base64EncodedCertificate(), - importCertificateRequest.password(), importCertificateRequest.certificatePolicy(), - importCertificateRequest.certificateAttributes(), importCertificateRequest.tags(), serviceCallback); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @return the PagedList<CertificateItem> if successful. - */ - public PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName) { - return getCertificateVersions(vaultBaseUrl, certificateName); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, - final String certificateName, final ListOperationCallback serviceCallback) { - return getCertificateVersionsAsync(vaultBaseUrl, certificateName, serviceCallback); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @return the PagedList<CertificateItem> if successful. - */ - public PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName, - final Integer maxresults) { - return getCertificateVersions(vaultBaseUrl, certificateName, maxresults); - } - - /** - * List the versions of a certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param maxresults - * Maximum number of results to return in a page. If not specified - * the service will return up to 25 results. - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, - final String certificateName, final Integer maxresults, - final ListOperationCallback serviceCallback) { - return getCertificateVersionsAsync(vaultBaseUrl, certificateName, maxresults, serviceCallback); - } - - /** - * Updates the policy for a certificate. Set appropriate members in the - * certificatePolicy that must be updated. Leave others as null. - * - * @param updateCertificatePolicyRequest - * the grouped properties for updating a certificate policy request - * @return the CertificatePolicy if successful. - */ - public CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest) { - return updateCertificatePolicy(updateCertificatePolicyRequest.vaultBaseUrl(), - updateCertificatePolicyRequest.certificateName(), updateCertificatePolicyRequest.certificatePolicy()); - } - - /** - * Updates the policy for a certificate. Set appropriate members in the - * certificatePolicy that must be updated. Leave others as null. - * - * @param updateCertificatePolicyRequest - * the grouped properties for updating a certificate policy request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificatePolicyAsync( - UpdateCertificatePolicyRequest updateCertificatePolicyRequest, - final ServiceCallback serviceCallback) { - return updateCertificatePolicyAsync(updateCertificatePolicyRequest.vaultBaseUrl(), - updateCertificatePolicyRequest.certificateName(), updateCertificatePolicyRequest.certificatePolicy(), - serviceCallback); - } - - /** - * Updates the attributes associated with the specified certificate. - * - * @param updateCertificateRequest - * the grouped properties for updating a certificate request - * @return the CertificateBundle if successful. - */ - public CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest) { - return updateCertificate(updateCertificateRequest.vaultBaseUrl(), updateCertificateRequest.certificateName(), - updateCertificateRequest.certificateVersion(), updateCertificateRequest.certificatePolicy(), - updateCertificateRequest.certificateAttributes(), updateCertificateRequest.tags()); - } - - /** - * Updates the attributes associated with the specified certificate. - * - * @param updateCertificateRequest - * the grouped properties for updating a certificate request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, - final ServiceCallback serviceCallback) { - return updateCertificateAsync(updateCertificateRequest.vaultBaseUrl(), - updateCertificateRequest.certificateName(), updateCertificateRequest.certificateVersion(), - updateCertificateRequest.certificatePolicy(), updateCertificateRequest.certificateAttributes(), - updateCertificateRequest.tags(), serviceCallback); - } - - /** - * Gets information about a specified certificate. - * - * @param certificateIdentifier - * The certificate identifier - * @return the CertificateBundle if successful. - */ - public CertificateBundle getCertificate(String certificateIdentifier) { - CertificateIdentifier id = new CertificateIdentifier(certificateIdentifier); - return getCertificate(id.vault(), id.name(), id.version() == null ? "" : id.version()); - } - - /** - * Gets information about a specified certificate. - * - * @param certificateIdentifier - * The certificate identifier - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateAsync(String certificateIdentifier, - final ServiceCallback serviceCallback) { - CertificateIdentifier id = new CertificateIdentifier(certificateIdentifier); - return getCertificateAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), serviceCallback); - } - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate in the given vault - * @return the CertificateBundle if successful. - */ - public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName) { - return getCertificate(vaultBaseUrl, certificateName, ""); - } - - /** - * Gets information about a specified certificate. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate in the given vault - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, - final ServiceCallback serviceCallback) { - return getCertificateAsync(vaultBaseUrl, certificateName, "", serviceCallback); - } - - /** - * Updates a certificate operation. - * - * @param updateCertificateOperationRequest - * the grouped properties for updating a certificate operation - * request - * @return the CertificateOperation if successful. - */ - public CertificateOperation updateCertificateOperation( - UpdateCertificateOperationRequest updateCertificateOperationRequest) { - return updateCertificateOperation(updateCertificateOperationRequest.vaultBaseUrl(), - updateCertificateOperationRequest.certificateName(), - updateCertificateOperationRequest.cancellationRequested()); - } - - /** - * Updates a certificate operation. - * - * @param updateCertificateOperationRequest - * the grouped properties for updating a certificate operation - * request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture updateCertificateOperationAsync( - UpdateCertificateOperationRequest updateCertificateOperationRequest, - final ServiceCallback serviceCallback) { - return updateCertificateOperationAsync(updateCertificateOperationRequest.vaultBaseUrl(), - updateCertificateOperationRequest.certificateName(), - updateCertificateOperationRequest.cancellationRequested(), serviceCallback); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the - * server. - * - * @param mergeCertificateRequest - * the grouped properties for merging a certificate request - * @return the CertificateBundle if successful. - */ - public CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest) { - return mergeCertificate(mergeCertificateRequest.vaultBaseUrl(), mergeCertificateRequest.certificateName(), - mergeCertificateRequest.x509Certificates(), mergeCertificateRequest.certificateAttributes(), - mergeCertificateRequest.tags()); - } - - /** - * Merges a certificate or a certificate chain with a key pair existing on the - * server. - * - * @param mergeCertificateRequest - * the grouped properties for merging a certificate request - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, - final ServiceCallback serviceCallback) { - return mergeCertificateAsync(mergeCertificateRequest.vaultBaseUrl(), mergeCertificateRequest.certificateName(), - mergeCertificateRequest.x509Certificates(), mergeCertificateRequest.certificateAttributes(), - mergeCertificateRequest.tags(), serviceCallback); - } - - /** - * Gets the pending certificate signing request response. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @return the String if successful. - */ - public String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName) { - return getPendingCertificateSigningRequestWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking() - .single().body(); - } - - /** - * Gets the pending certificate signing request response. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @param serviceCallback - * the async ServiceCallback to handle successful and failed - * responses. - * @return the {@link ServiceFuture} object - */ - public ServiceFuture getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, - final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse( - getPendingCertificateSigningRequestWithServiceResponseAsync(vaultBaseUrl, certificateName), - serviceCallback); - } - - /** - * Gets the pending certificate signing request response. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate - * @return the observable to the String object - */ - private Observable> getPendingCertificateSigningRequestWithServiceResponseAsync( - String vaultBaseUrl, String certificateName) { - if (vaultBaseUrl == null) { - throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); - } - if (certificateName == null) { - throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); - } - if (this.apiVersion() == null) { - throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); - } - - String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); - KeyVaultClientService clientService = Objects.requireNonNull(service, "Service has not been initialized. Call this.initializeService() before using this method."); - - return clientService - .getPendingCertificateSigningRequest(certificateName, this.apiVersion(), this.acceptLanguage(), - parameterizedHost, this.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = new ServiceResponse( - response.body().string(), response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - @Override - public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, - List keyOps, KeyAttributes keyAttributes, Map tags) { - return createKey(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, null); - } - - @Override - public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, - Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, - ServiceCallback serviceCallback) { - return createKeyAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, null, serviceCallback); - } - - @Override - public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, - Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { - return createKeyAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, - (JsonWebKeyCurveName) null); - } - - @Override - public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, - JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, - Map tags) { - return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, - null); - } - - @Override - public PagedList getCertificates(String vaultBaseUrl, Integer maxresults) { - return getCertificates(vaultBaseUrl, maxresults, false); - } - - @Override - public ServiceFuture> getCertificatesAsync(String vaultBaseUrl, Integer maxresults, - ListOperationCallback serviceCallback) { - return getCertificatesAsync(vaultBaseUrl, maxresults, false, serviceCallback); - } - - @Override - public Observable> getCertificatesAsync(String vaultBaseUrl, Integer maxresults) { - return getCertificatesAsync(vaultBaseUrl, maxresults, false); - } - - @Override - public Observable>> getCertificatesWithServiceResponseAsync( - String vaultBaseUrl, Integer maxresults) { - return getCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, false); - } - - @Override - public PagedList getDeletedCertificates(String vaultBaseUrl, Integer maxresults) { - return getDeletedCertificates(vaultBaseUrl, maxresults, false); - } - - @Override - public ServiceFuture> getDeletedCertificatesAsync(String vaultBaseUrl, - Integer maxresults, ListOperationCallback serviceCallback) { - return getDeletedCertificatesAsync(vaultBaseUrl, maxresults, false, serviceCallback); - } - - @Override - public Observable> getDeletedCertificatesAsync(String vaultBaseUrl, - Integer maxresults) { - return getDeletedCertificatesAsync(vaultBaseUrl, maxresults, false); - } - - @Override - public Observable>> getDeletedCertificatesWithServiceResponseAsync( - String vaultBaseUrl, Integer maxresults) { - return getDeletedCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, false); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.implementation; + +import java.util.List; +import java.util.Map; +import java.util.Objects; + +import com.google.common.base.Joiner; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.keyvault.CertificateIdentifier; +import com.microsoft.azure.keyvault.KeyIdentifier; +import com.microsoft.azure.keyvault.KeyVaultClientCustom; +import com.microsoft.azure.keyvault.SecretIdentifier; +import com.microsoft.azure.keyvault.models.CertificateBundle; +import com.microsoft.azure.keyvault.models.CertificateCreateParameters; +import com.microsoft.azure.keyvault.models.CertificateImportParameters; +import com.microsoft.azure.keyvault.models.CertificateIssuerItem; +import com.microsoft.azure.keyvault.models.CertificateIssuerSetParameters; +import com.microsoft.azure.keyvault.models.CertificateIssuerUpdateParameters; +import com.microsoft.azure.keyvault.models.CertificateItem; +import com.microsoft.azure.keyvault.models.CertificateMergeParameters; +import com.microsoft.azure.keyvault.models.CertificateOperation; +import com.microsoft.azure.keyvault.models.CertificateOperationUpdateParameter; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.CertificateUpdateParameters; +import com.microsoft.azure.keyvault.models.Contacts; +import com.microsoft.azure.keyvault.models.DeletedCertificateItem; +import com.microsoft.azure.keyvault.models.IssuerBundle; +import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.models.KeyBundle; +import com.microsoft.azure.keyvault.models.KeyCreateParameters; +import com.microsoft.azure.keyvault.models.KeyImportParameters; +import com.microsoft.azure.keyvault.models.KeyItem; +import com.microsoft.azure.keyvault.models.KeyOperationResult; +import com.microsoft.azure.keyvault.models.KeyOperationsParameters; +import com.microsoft.azure.keyvault.models.KeyRestoreParameters; +import com.microsoft.azure.keyvault.models.KeySignParameters; +import com.microsoft.azure.keyvault.models.KeyUpdateParameters; +import com.microsoft.azure.keyvault.models.KeyVerifyParameters; +import com.microsoft.azure.keyvault.models.KeyVerifyResult; +import com.microsoft.azure.keyvault.models.SecretBundle; +import com.microsoft.azure.keyvault.models.SecretItem; +import com.microsoft.azure.keyvault.models.SecretSetParameters; +import com.microsoft.azure.keyvault.models.SecretUpdateParameters; +import com.microsoft.azure.keyvault.requests.CreateCertificateRequest; +import com.microsoft.azure.keyvault.requests.CreateKeyRequest; +import com.microsoft.azure.keyvault.requests.ImportCertificateRequest; +import com.microsoft.azure.keyvault.requests.ImportKeyRequest; +import com.microsoft.azure.keyvault.requests.MergeCertificateRequest; +import com.microsoft.azure.keyvault.requests.SetCertificateIssuerRequest; +import com.microsoft.azure.keyvault.requests.SetSecretRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificateIssuerRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificateOperationRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificatePolicyRequest; +import com.microsoft.azure.keyvault.requests.UpdateCertificateRequest; +import com.microsoft.azure.keyvault.requests.UpdateKeyRequest; +import com.microsoft.azure.keyvault.requests.UpdateSecretRequest; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.microsoft.rest.RestClient; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.credentials.ServiceClientCredentials; +import com.microsoft.rest.protocol.SerializerAdapter; + +import okhttp3.OkHttpClient; +import okhttp3.ResponseBody; +import retrofit2.Response; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.HTTP; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.PATCH; +import retrofit2.http.POST; +import retrofit2.http.PUT; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import rx.Observable; +import rx.functions.Func1; + +/** + * Implementation of Key Vault Custom Client to maintain backwards compatibility. + * +*/ +public class KeyVaultClientCustomImpl extends KeyVaultClientBaseImpl implements KeyVaultClientCustom { + + private KeyVaultClientService service; + + protected KeyVaultClientCustomImpl(ServiceClientCredentials credentials) { + super(credentials); + } + + protected KeyVaultClientCustomImpl(RestClient restClient) { + super(restClient); + } + + /** + * Initializes the service. + */ + public void initializeService() { + service = restClient().retrofit().create(KeyVaultClientService.class); + } + + @Override + public OkHttpClient httpClient() { + return super.httpClient(); + } + + @Override + public SerializerAdapter serializerAdapter() { + return super.serializerAdapter(); + } + + /** + * The interface defining all the services for KeyVaultClient to be used by + * Retrofit to perform actually REST calls. + */ + interface KeyVaultClientService { + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createKey" }) + @POST("keys/{key-name}/create") + Observable> createKey(@Path("key-name") String keyName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body KeyCreateParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, + @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importKey" }) + @PUT("keys/{key-name}") + Observable> importKey(@Path("key-name") String keyName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body KeyImportParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, + @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteKey" }) + @HTTP(path = "keys/{key-name}", method = "DELETE", hasBody = true) + Observable> deleteKey(@Path("key-name") String keyName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateKey" }) + @PATCH("keys/{key-name}/{key-version}") + Observable> updateKey(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyUpdateParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKey" }) + @GET("keys/{key-name}/{key-version}") + Observable> getKey(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersions" }) + @GET("keys/{key-name}/versions") + Observable> getKeyVersions(@Path("key-name") String keyName, + @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeys" }) + @GET("keys") + Observable> getKeys(@Query("maxresults") Integer maxresults, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient backupKey" }) + @POST("keys/{key-name}/backup") + Observable> backupKey(@Path("key-name") String keyName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient restoreKey" }) + @POST("keys/restore") + Observable> restoreKey(@Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyRestoreParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient encrypt" }) + @POST("keys/{key-name}/{key-version}/encrypt") + Observable> encrypt(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient decrypt" }) + @POST("keys/{key-name}/{key-version}/decrypt") + Observable> decrypt(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient sign" }) + @POST("keys/{key-name}/{key-version}/sign") + Observable> sign(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeySignParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient verify" }) + @POST("keys/{key-name}/{key-version}/verify") + Observable> verify(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyVerifyParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient wrapKey" }) + @POST("keys/{key-name}/{key-version}/wrapkey") + Observable> wrapKey(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient unwrapKey" }) + @POST("keys/{key-name}/{key-version}/unwrapkey") + Observable> unwrapKey(@Path("key-name") String keyName, + @Path("key-version") String keyVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body KeyOperationsParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setSecret" }) + @PUT("secrets/{secret-name}") + Observable> setSecret(@Path("secret-name") String secretName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body SecretSetParameters parameters, @Header("x-ms-parameterized-host") String parameterizedHost, + @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteSecret" }) + @HTTP(path = "secrets/{secret-name}", method = "DELETE", hasBody = true) + Observable> deleteSecret(@Path("secret-name") String secretName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateSecret" }) + @PATCH("secrets/{secret-name}/{secret-version}") + Observable> updateSecret(@Path("secret-name") String secretName, + @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body SecretUpdateParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecret" }) + @GET("secrets/{secret-name}/{secret-version}") + Observable> getSecret(@Path("secret-name") String secretName, + @Path("secret-version") String secretVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecrets" }) + @GET("secrets") + Observable> getSecrets(@Query("maxresults") Integer maxresults, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersions" }) + @GET("secrets/{secret-name}/versions") + Observable> getSecretVersions(@Path("secret-name") String secretName, + @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificates" }) + @GET("certificates") + Observable> getCertificates(@Query("maxresults") Integer maxresults, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificate" }) + @HTTP(path = "certificates/{certificate-name}", method = "DELETE", hasBody = true) + Observable> deleteCertificate(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateContacts" }) + @PUT("certificates/contacts") + Observable> setCertificateContacts(@Body Contacts contacts, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateContacts" }) + @GET("certificates/contacts") + Observable> getCertificateContacts(@Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateContacts" }) + @HTTP(path = "certificates/contacts", method = "DELETE", hasBody = true) + Observable> deleteCertificateContacts(@Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuers" }) + @GET("certificates/issuers") + Observable> getCertificateIssuers(@Query("maxresults") Integer maxresults, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient setCertificateIssuer" }) + @PUT("certificates/issuers/{issuer-name}") + Observable> setCertificateIssuer(@Path("issuer-name") String issuerName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body CertificateIssuerSetParameters parameter, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateIssuer" }) + @PATCH("certificates/issuers/{issuer-name}") + Observable> updateCertificateIssuer(@Path("issuer-name") String issuerName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body CertificateIssuerUpdateParameters parameter, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuer" }) + @GET("certificates/issuers/{issuer-name}") + Observable> getCertificateIssuer(@Path("issuer-name") String issuerName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateIssuer" }) + @HTTP(path = "certificates/issuers/{issuer-name}", method = "DELETE", hasBody = true) + Observable> deleteCertificateIssuer(@Path("issuer-name") String issuerName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient createCertificate" }) + @POST("certificates/{certificate-name}/create") + Observable> createCertificate(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body CertificateCreateParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient importCertificate" }) + @POST("certificates/{certificate-name}/import") + Observable> importCertificate(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body CertificateImportParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersions" }) + @GET("certificates/{certificate-name}/versions") + Observable> getCertificateVersions(@Path("certificate-name") String certificateName, + @Query("maxresults") Integer maxresults, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatePolicy" }) + @GET("certificates/{certificate-name}/policy") + Observable> getCertificatePolicy(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificatePolicy" }) + @PATCH("certificates/{certificate-name}/policy") + Observable> updateCertificatePolicy(@Path("certificate-name") String certificateName, + @Body CertificatePolicy certificatePolicy, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificate" }) + @PATCH("certificates/{certificate-name}/{certificate-version}") + Observable> updateCertificate(@Path("certificate-name") String certificateName, + @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, @Body CertificateUpdateParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificate" }) + @GET("certificates/{certificate-name}/{certificate-version}") + Observable> getCertificate(@Path("certificate-name") String certificateName, + @Path("certificate-version") String certificateVersion, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient updateCertificateOperation" }) + @PATCH("certificates/{certificate-name}/pending") + Observable> updateCertificateOperation(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body CertificateOperationUpdateParameter certificateOperation, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateOperation" }) + @GET("certificates/{certificate-name}/pending") + Observable> getCertificateOperation(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient deleteCertificateOperation" }) + @HTTP(path = "certificates/{certificate-name}/pending", method = "DELETE", hasBody = true) + Observable> deleteCertificateOperation(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient mergeCertificate" }) + @POST("certificates/{certificate-name}/pending/merge") + Observable> mergeCertificate(@Path("certificate-name") String certificateName, + @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, + @Body CertificateMergeParameters parameters, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeyVersionsNext" }) + @GET + Observable> getKeyVersionsNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getKeysNext" }) + @GET + Observable> getKeysNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretsNext" }) + @GET + Observable> getSecretsNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getSecretVersionsNext" }) + @GET + Observable> getSecretVersionsNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificatesNext" }) + @GET + Observable> getCertificatesNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateIssuersNext" }) + @GET + Observable> getCertificateIssuersNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getCertificateVersionsNext" }) + @GET + Observable> getCertificateVersionsNext(@Url String nextUrl, + @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "Accept: application/pkcs10", + "x-ms-logging-context: com.microsoft.azure.keyvault.KeyVaultClient getPendingCertificateSigningRequest" }) + @GET("certificates/{certificate-name}/pending") + Observable> getPendingCertificateSigningRequest( + @Path("certificate-name") String certificateName, @Query("api-version") String apiVersion, + @Header("accept-language") String acceptLanguage, + @Header("x-ms-parameterized-host") String parameterizedHost, @Header("User-Agent") String userAgent); + + } + + /** + * 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. Authorization: Requires the keys/create permission. + * + * @param createKeyRequest + * the grouped properties for creating a key request + * @return the KeyBundle if successful. + */ + public KeyBundle createKey(CreateKeyRequest createKeyRequest) { + + return createKey(createKeyRequest.vaultBaseUrl(), createKeyRequest.keyName(), createKeyRequest.keyType(), + createKeyRequest.keySize(), createKeyRequest.keyOperations(), createKeyRequest.keyAttributes(), + createKeyRequest.tags(), createKeyRequest.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. Authorization: Requires the keys/create permission. + * + * @param createKeyRequest + * the grouped properties for creating a key request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createKeyAsync(CreateKeyRequest createKeyRequest, + ServiceCallback serviceCallback) { + return createKeyAsync(createKeyRequest.vaultBaseUrl(), createKeyRequest.keyName(), createKeyRequest.keyType(), + createKeyRequest.keySize(), createKeyRequest.keyOperations(), createKeyRequest.keyAttributes(), + createKeyRequest.tags(), createKeyRequest.curve(), 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. Authorization: requires the + * keys/import permission. + * + * @param importKeyRequest + * the grouped properties for importing a key request + * @return the KeyBundle if successful. + */ + public KeyBundle importKey(ImportKeyRequest importKeyRequest) { + return importKey(importKeyRequest.vaultBaseUrl(), importKeyRequest.keyName(), importKeyRequest.key(), + importKeyRequest.isHsm(), importKeyRequest.keyAttributes(), importKeyRequest.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. Authorization: requires the + * keys/import permission. + * + * @param importKeyRequest + * the grouped properties for importing a key request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importKeyAsync(ImportKeyRequest importKeyRequest, + final ServiceCallback serviceCallback) { + return importKeyAsync(importKeyRequest.vaultBaseUrl(), importKeyRequest.keyName(), importKeyRequest.key(), + importKeyRequest.isHsm(), importKeyRequest.keyAttributes(), importKeyRequest.tags(), 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. The + * cryptographic material of a key itself cannot be changed. In order to perform + * this operation, the key must already exist in the Key Vault. Authorization: + * requires the keys/update permission. + * + * @param updateKeyRequest + * the grouped properties for updating a key request + * @return the KeyBundle if successful. + */ + public KeyBundle updateKey(UpdateKeyRequest updateKeyRequest) { + return updateKey(updateKeyRequest.vaultBaseUrl(), updateKeyRequest.keyName(), updateKeyRequest.keyVersion(), + updateKeyRequest.keyOperations(), updateKeyRequest.keyAttributes(), updateKeyRequest.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. The + * cryptographic material of a key itself cannot be changed. In order to perform + * this operation, the key must already exist in the Key Vault. Authorization: + * requires the keys/update permission. + * + * @param updateKeyRequest + * the grouped properties for updating a key request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateKeyAsync(UpdateKeyRequest updateKeyRequest, + final ServiceCallback serviceCallback) { + return updateKeyAsync(updateKeyRequest.vaultBaseUrl(), updateKeyRequest.keyName(), + updateKeyRequest.keyVersion(), updateKeyRequest.keyOperations(), updateKeyRequest.keyAttributes(), + updateKeyRequest.tags(), 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. Authorization: Requires the keys/get permission. + * + * @param keyIdentifier + * The full key identifier + * @return the KeyBundle if successful. + */ + public KeyBundle getKey(String keyIdentifier) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return getKey(id.vault(), id.name(), id.version() == null ? "" : id.version()); + } + + /** + * 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. Authorization: Requires the keys/get permission. + * + * @param keyIdentifier + * The full key identifier + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getKeyAsync(String keyIdentifier, + final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return getKeyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @return the KeyBundle if successful. + */ + public KeyBundle getKey(String vaultBaseUrl, String keyName) { + return getKey(vaultBaseUrl, keyName, ""); + } + + /** + * 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. Authorization: Requires the keys/get permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, + final ServiceCallback serviceCallback) { + return getKeyAsync(vaultBaseUrl, keyName, "", 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @return the PagedList<KeyItem> if successful. + */ + public PagedList listKeyVersions(final String vaultBaseUrl, final String keyName) { + return getKeyVersions(vaultBaseUrl, keyName); + } + + /** + * Wraps a symmetric key using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be wrapped + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture wrapKeyAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return wrapKeyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, + serviceCallback); + } + + /** + * Unwraps a symmetric key using the specified key in the vault that has + * initially been used for wrapping the key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be unwrapped + * @return the KeyOperationResult if successful. + */ + public KeyOperationResult unwrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return unwrapKey(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); + } + + /** + * Unwraps a symmetric key using the specified key in the vault that has + * initially been used for wrapping the key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be unwrapped + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture unwrapKeyAsync(String keyIdentifier, + JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, + final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return unwrapKeyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, + serviceCallback); + } + + /** + * Wraps a symmetric key using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the key to be wrapped + * @return the KeyOperationResult if successful. + */ + public KeyOperationResult wrapKey(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return wrapKey(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); + } + + /** + * Retrieves a list of individual key versions with the same key name. The full + * key identifier, attributes, and tags are provided in the response. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, + final ListOperationCallback serviceCallback) { + return getKeyVersionsAsync(vaultBaseUrl, keyName, 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listKeyVersionsAsync(final String vaultBaseUrl, final String keyName, + final Integer maxresults, final ListOperationCallback serviceCallback) { + return getKeyVersionsAsync(vaultBaseUrl, keyName, maxresults, 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. + * Authorization: Requires the keys/list permission. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<KeyItem> if successful. + */ + public PagedList listKeyVersions(final String vaultBaseUrl, final String keyName, + final Integer maxresults) { + return getKeyVersions(vaultBaseUrl, keyName, maxresults); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @return the PagedList<KeyItem> if successful. + */ + public PagedList listKeys(final String vaultBaseUrl) { + return getKeys(vaultBaseUrl); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listKeysAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback) { + return getKeysAsync(vaultBaseUrl, serviceCallback); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listKeysAsync(final String vaultBaseUrl, final Integer maxresults, + final ListOperationCallback serviceCallback) { + return getKeysAsync(vaultBaseUrl, maxresults, serviceCallback); + } + + /** + * List keys in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<KeyItem> if successful. + */ + public PagedList listKeys(final String vaultBaseUrl, final Integer maxresults) { + return getKeys(vaultBaseUrl, maxresults); + } + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is + * stored in a key vault. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be encrypted + * @return the KeyOperationResult if successful. + */ + public KeyOperationResult encrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return encrypt(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); + } + + /** + * Encrypts an arbitrary sequence of bytes using an encryption key that is + * stored in a key vault. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be encrypted + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture encryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return encryptAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, + serviceCallback); + } + + /** + * Decrypts a single block of encrypted data. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be decrypted + * @return the KeyOperationResult if successful. + */ + public KeyOperationResult decrypt(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return decrypt(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); + } + + /** + * Decrypts a single block of encrypted data. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be decrypted + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture decryptAsync(String keyIdentifier, JsonWebKeyEncryptionAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return decryptAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, + serviceCallback); + } + + /** + * Creates a signature from a digest using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be signed + * @return the KeyOperationResult if successful. + */ + public KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return sign(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value); + } + + /** + * Creates a signature from a digest using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * algorithm identifier + * @param value + * the content to be signed + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture signAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, + byte[] value, final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return signAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value, + serviceCallback); + } + + /** + * Verifies a signature using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * The signing/verification algorithm. For more information on + * possible algorithm types, see JsonWebKeySignatureAlgorithm. + * @param digest + * The digest used for signing + * @param signature + * The signature to be verified + * @return the KeyVerifyResult if successful. + */ + public KeyVerifyResult verify(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, + byte[] signature) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return verify(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, digest, signature); + } + + /** + * Verifies a signature using the specified key. + * + * @param keyIdentifier + * The full key identifier + * @param algorithm + * The signing/verification algorithm. For more information on + * possible algorithm types, see JsonWebKeySignatureAlgorithm. + * @param digest + * The digest used for signing + * @param signature + * The signature to be verified + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, + byte[] digest, byte[] signature, final ServiceCallback serviceCallback) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + return verifyAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, digest, + signature, serviceCallback); + } + + /** + * Sets a secret in the specified vault. + * + * @param setSecretRequest + * the grouped properties for setting a secret request + * @return the SecretBundle if successful. + */ + public SecretBundle setSecret(SetSecretRequest setSecretRequest) { + return setSecret(setSecretRequest.vaultBaseUrl(), setSecretRequest.secretName(), setSecretRequest.value(), + setSecretRequest.tags(), setSecretRequest.contentType(), setSecretRequest.secretAttributes()); + } + + /** + * Sets a secret in the specified vault. + * + * @param setSecretRequest + * the grouped properties for setting a secret request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setSecretAsync(SetSecretRequest setSecretRequest, + final ServiceCallback serviceCallback) { + return setSecretAsync(setSecretRequest.vaultBaseUrl(), setSecretRequest.secretName(), setSecretRequest.value(), + setSecretRequest.tags(), setSecretRequest.contentType(), setSecretRequest.secretAttributes(), + serviceCallback); + } + + /** + * Updates the attributes associated with a specified secret in a given key + * vault. + * + * @param updateSecretRequest + * the grouped properties for updating a secret request + * @return the SecretBundle if successful. + */ + public SecretBundle updateSecret(UpdateSecretRequest updateSecretRequest) { + return updateSecret(updateSecretRequest.vaultBaseUrl(), updateSecretRequest.secretName(), + updateSecretRequest.secretVersion(), updateSecretRequest.contentType(), + updateSecretRequest.secretAttributes(), updateSecretRequest.tags()); + } + + /** + * Updates the attributes associated with a specified secret in a given key + * vault. + * + * @param updateSecretRequest + * the grouped properties for updating a secret request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateSecretAsync(UpdateSecretRequest updateSecretRequest, + final ServiceCallback serviceCallback) { + return updateSecretAsync(updateSecretRequest.vaultBaseUrl(), updateSecretRequest.secretName(), + updateSecretRequest.secretVersion(), updateSecretRequest.contentType(), + updateSecretRequest.secretAttributes(), updateSecretRequest.tags(), serviceCallback); + } + + /** + * Get a specified secret from a given key vault. + * + * @param secretIdentifier + * The URL for the secret. + * @return the SecretBundle if successful. + */ + public SecretBundle getSecret(String secretIdentifier) { + SecretIdentifier id = new SecretIdentifier(secretIdentifier); + return getSecret(id.vault(), id.name(), id.version() == null ? "" : id.version()); + } + + /** + * Get a specified secret from a given key vault. + * + * @param secretIdentifier + * The URL for the secret. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getSecretAsync(String secretIdentifier, + final ServiceCallback serviceCallback) { + SecretIdentifier id = new SecretIdentifier(secretIdentifier); + return getSecretAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), serviceCallback); + } + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @return the SecretBundle if successful. + */ + public SecretBundle getSecret(String vaultBaseUrl, String secretName) { + return getSecret(vaultBaseUrl, secretName, ""); + } + + /** + * Get a specified secret from a given key vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, + final ServiceCallback serviceCallback) { + return getSecretAsync(vaultBaseUrl, secretName, "", serviceCallback); + } + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @return the PagedList<SecretItem> if successful. + */ + public PagedList listSecrets(final String vaultBaseUrl) { + return getSecrets(vaultBaseUrl); + } + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSecretsAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback) { + return getSecretsAsync(vaultBaseUrl, serviceCallback); + } + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<SecretItem> if successful. + */ + public PagedList listSecrets(final String vaultBaseUrl, final Integer maxresults) { + return getSecrets(vaultBaseUrl, maxresults); + } + + /** + * List secrets in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSecretsAsync(final String vaultBaseUrl, final Integer maxresults, + final ListOperationCallback serviceCallback) { + return getSecretsAsync(vaultBaseUrl, maxresults, serviceCallback); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @return the PagedList<SecretItem> if successful. + */ + public PagedList listSecretVersions(final String vaultBaseUrl, final String secretName) { + return getSecretVersions(vaultBaseUrl, secretName); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, + final ListOperationCallback serviceCallback) { + return getSecretVersionsAsync(vaultBaseUrl, secretName, serviceCallback); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<SecretItem> if successful. + */ + public PagedList listSecretVersions(final String vaultBaseUrl, final String secretName, + final Integer maxresults) { + return getSecretVersions(vaultBaseUrl, secretName, maxresults); + } + + /** + * List the versions of the specified secret. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSecretVersionsAsync(final String vaultBaseUrl, final String secretName, + final Integer maxresults, final ListOperationCallback serviceCallback) { + return getSecretVersionsAsync(vaultBaseUrl, secretName, maxresults, serviceCallback); + } + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @return the PagedList<CertificateItem> if successful. + */ + public PagedList listCertificates(final String vaultBaseUrl) { + return getCertificates(vaultBaseUrl); + } + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback) { + return getCertificatesAsync(vaultBaseUrl, serviceCallback); + } + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<CertificateItem> if successful. + */ + public PagedList listCertificates(final String vaultBaseUrl, final Integer maxresults) { + return getCertificates(vaultBaseUrl, maxresults); + } + + /** + * List certificates in the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listCertificatesAsync(final String vaultBaseUrl, + final Integer maxresults, final ListOperationCallback serviceCallback) { + return getCertificatesAsync(vaultBaseUrl, maxresults, serviceCallback); + } + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @return the PagedList<CertificateIssuerItem> if successful. + */ + public PagedList listCertificateIssuers(final String vaultBaseUrl) { + return getCertificateIssuers(vaultBaseUrl); + } + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, + final ListOperationCallback serviceCallback) { + return getCertificateIssuersAsync(vaultBaseUrl, serviceCallback); + } + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<CertificateIssuerItem> if successful. + */ + public PagedList listCertificateIssuers(final String vaultBaseUrl, + final Integer maxresults) { + return getCertificateIssuers(vaultBaseUrl, maxresults); + } + + /** + * List certificate issuers for the specified vault. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listCertificateIssuersAsync(final String vaultBaseUrl, + final Integer maxresults, final ListOperationCallback serviceCallback) { + return getCertificateIssuersAsync(vaultBaseUrl, maxresults, serviceCallback); + } + + /** + * Sets the certificate contacts for the specified vault. + * + * @param setCertificateIssuerRequest + * the grouped properties for setting a certificate issuer request + * @return the IssuerBundle if successful. + */ + public IssuerBundle setCertificateIssuer(SetCertificateIssuerRequest setCertificateIssuerRequest) { + return setCertificateIssuer(setCertificateIssuerRequest.vaultBaseUrl(), + setCertificateIssuerRequest.issuerName(), setCertificateIssuerRequest.provider(), + setCertificateIssuerRequest.credentials(), setCertificateIssuerRequest.organizationDetails(), + setCertificateIssuerRequest.attributes()); + } + + /** + * Sets the certificate contacts for the specified vault. + * + * @param setCertificateIssuerRequest + * the grouped properties for setting a certificate issuer request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture setCertificateIssuerAsync( + SetCertificateIssuerRequest setCertificateIssuerRequest, + final ServiceCallback serviceCallback) { + return setCertificateIssuerAsync(setCertificateIssuerRequest.vaultBaseUrl(), + setCertificateIssuerRequest.issuerName(), setCertificateIssuerRequest.provider(), + setCertificateIssuerRequest.credentials(), setCertificateIssuerRequest.organizationDetails(), + setCertificateIssuerRequest.attributes(), serviceCallback); + } + + /** + * Updates the specified certificate issuer. + * + * @param updateCertificateIssuerRequest + * the grouped properties for updating a certificate issuer request + * @return the IssuerBundle if successful. + */ + public IssuerBundle updateCertificateIssuer(UpdateCertificateIssuerRequest updateCertificateIssuerRequest) { + return updateCertificateIssuer(updateCertificateIssuerRequest.vaultBaseUrl(), + updateCertificateIssuerRequest.issuerName(), updateCertificateIssuerRequest.provider(), + updateCertificateIssuerRequest.credentials(), updateCertificateIssuerRequest.organizationDetails(), + updateCertificateIssuerRequest.attributes()); + } + + /** + * Updates the specified certificate issuer. + * + * @param updateCertificateIssuerRequest + * the grouped properties for updating a certificate issuer request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + * @throws IllegalArgumentException + * thrown if callback is null + */ + public ServiceFuture updateCertificateIssuerAsync( + UpdateCertificateIssuerRequest updateCertificateIssuerRequest, + final ServiceCallback serviceCallback) { + return updateCertificateIssuerAsync(updateCertificateIssuerRequest.vaultBaseUrl(), + updateCertificateIssuerRequest.issuerName(), updateCertificateIssuerRequest.provider(), + updateCertificateIssuerRequest.credentials(), updateCertificateIssuerRequest.organizationDetails(), + updateCertificateIssuerRequest.attributes(), serviceCallback); + } + + /** + * Creates a new certificate version. If this is the first version, the + * certificate resource is created. + * + * @param createCertificateRequest + * the grouped properties for creating a certificate request + * @return the CertificateOperation if successful. + */ + public CertificateOperation createCertificate(CreateCertificateRequest createCertificateRequest) { + return createCertificate(createCertificateRequest.vaultBaseUrl(), createCertificateRequest.certificateName(), + createCertificateRequest.certificatePolicy(), createCertificateRequest.certificateAttributes(), + createCertificateRequest.tags()); + } + + /** + * Creates a new certificate version. If this is the first version, the + * certificate resource is created. + * + * @param createCertificateRequest + * the grouped properties for creating a certificate request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createCertificateAsync(CreateCertificateRequest createCertificateRequest, + final ServiceCallback serviceCallback) { + return createCertificateAsync(createCertificateRequest.vaultBaseUrl(), + createCertificateRequest.certificateName(), createCertificateRequest.certificatePolicy(), + createCertificateRequest.certificateAttributes(), createCertificateRequest.tags(), serviceCallback); + } + + /** + * Imports a certificate into the specified vault. + * + * @param importCertificateRequest + * the grouped properties for importing a certificate request + * @return the CertificateBundle if successful. + */ + public CertificateBundle importCertificate(ImportCertificateRequest importCertificateRequest) { + return importCertificate(importCertificateRequest.vaultBaseUrl(), importCertificateRequest.certificateName(), + importCertificateRequest.base64EncodedCertificate(), importCertificateRequest.password(), + importCertificateRequest.certificatePolicy(), importCertificateRequest.certificateAttributes(), + importCertificateRequest.tags()); + } + + /** + * Imports a certificate into the specified vault. + * + * @param importCertificateRequest + * the grouped properties for importing a certificate request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture importCertificateAsync(ImportCertificateRequest importCertificateRequest, + final ServiceCallback serviceCallback) { + return importCertificateAsync(importCertificateRequest.vaultBaseUrl(), + importCertificateRequest.certificateName(), importCertificateRequest.base64EncodedCertificate(), + importCertificateRequest.password(), importCertificateRequest.certificatePolicy(), + importCertificateRequest.certificateAttributes(), importCertificateRequest.tags(), serviceCallback); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @return the PagedList<CertificateItem> if successful. + */ + public PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName) { + return getCertificateVersions(vaultBaseUrl, certificateName); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, + final String certificateName, final ListOperationCallback serviceCallback) { + return getCertificateVersionsAsync(vaultBaseUrl, certificateName, serviceCallback); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @return the PagedList<CertificateItem> if successful. + */ + public PagedList listCertificateVersions(final String vaultBaseUrl, final String certificateName, + final Integer maxresults) { + return getCertificateVersions(vaultBaseUrl, certificateName, maxresults); + } + + /** + * List the versions of a certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param maxresults + * Maximum number of results to return in a page. If not specified + * the service will return up to 25 results. + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listCertificateVersionsAsync(final String vaultBaseUrl, + final String certificateName, final Integer maxresults, + final ListOperationCallback serviceCallback) { + return getCertificateVersionsAsync(vaultBaseUrl, certificateName, maxresults, serviceCallback); + } + + /** + * Updates the policy for a certificate. Set appropriate members in the + * certificatePolicy that must be updated. Leave others as null. + * + * @param updateCertificatePolicyRequest + * the grouped properties for updating a certificate policy request + * @return the CertificatePolicy if successful. + */ + public CertificatePolicy updateCertificatePolicy(UpdateCertificatePolicyRequest updateCertificatePolicyRequest) { + return updateCertificatePolicy(updateCertificatePolicyRequest.vaultBaseUrl(), + updateCertificatePolicyRequest.certificateName(), updateCertificatePolicyRequest.certificatePolicy()); + } + + /** + * Updates the policy for a certificate. Set appropriate members in the + * certificatePolicy that must be updated. Leave others as null. + * + * @param updateCertificatePolicyRequest + * the grouped properties for updating a certificate policy request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificatePolicyAsync( + UpdateCertificatePolicyRequest updateCertificatePolicyRequest, + final ServiceCallback serviceCallback) { + return updateCertificatePolicyAsync(updateCertificatePolicyRequest.vaultBaseUrl(), + updateCertificatePolicyRequest.certificateName(), updateCertificatePolicyRequest.certificatePolicy(), + serviceCallback); + } + + /** + * Updates the attributes associated with the specified certificate. + * + * @param updateCertificateRequest + * the grouped properties for updating a certificate request + * @return the CertificateBundle if successful. + */ + public CertificateBundle updateCertificate(UpdateCertificateRequest updateCertificateRequest) { + return updateCertificate(updateCertificateRequest.vaultBaseUrl(), updateCertificateRequest.certificateName(), + updateCertificateRequest.certificateVersion(), updateCertificateRequest.certificatePolicy(), + updateCertificateRequest.certificateAttributes(), updateCertificateRequest.tags()); + } + + /** + * Updates the attributes associated with the specified certificate. + * + * @param updateCertificateRequest + * the grouped properties for updating a certificate request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateAsync(UpdateCertificateRequest updateCertificateRequest, + final ServiceCallback serviceCallback) { + return updateCertificateAsync(updateCertificateRequest.vaultBaseUrl(), + updateCertificateRequest.certificateName(), updateCertificateRequest.certificateVersion(), + updateCertificateRequest.certificatePolicy(), updateCertificateRequest.certificateAttributes(), + updateCertificateRequest.tags(), serviceCallback); + } + + /** + * Gets information about a specified certificate. + * + * @param certificateIdentifier + * The certificate identifier + * @return the CertificateBundle if successful. + */ + public CertificateBundle getCertificate(String certificateIdentifier) { + CertificateIdentifier id = new CertificateIdentifier(certificateIdentifier); + return getCertificate(id.vault(), id.name(), id.version() == null ? "" : id.version()); + } + + /** + * Gets information about a specified certificate. + * + * @param certificateIdentifier + * The certificate identifier + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateAsync(String certificateIdentifier, + final ServiceCallback serviceCallback) { + CertificateIdentifier id = new CertificateIdentifier(certificateIdentifier); + return getCertificateAsync(id.vault(), id.name(), id.version() == null ? "" : id.version(), serviceCallback); + } + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate in the given vault + * @return the CertificateBundle if successful. + */ + public CertificateBundle getCertificate(String vaultBaseUrl, String certificateName) { + return getCertificate(vaultBaseUrl, certificateName, ""); + } + + /** + * Gets information about a specified certificate. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate in the given vault + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, + final ServiceCallback serviceCallback) { + return getCertificateAsync(vaultBaseUrl, certificateName, "", serviceCallback); + } + + /** + * Updates a certificate operation. + * + * @param updateCertificateOperationRequest + * the grouped properties for updating a certificate operation + * request + * @return the CertificateOperation if successful. + */ + public CertificateOperation updateCertificateOperation( + UpdateCertificateOperationRequest updateCertificateOperationRequest) { + return updateCertificateOperation(updateCertificateOperationRequest.vaultBaseUrl(), + updateCertificateOperationRequest.certificateName(), + updateCertificateOperationRequest.cancellationRequested()); + } + + /** + * Updates a certificate operation. + * + * @param updateCertificateOperationRequest + * the grouped properties for updating a certificate operation + * request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateCertificateOperationAsync( + UpdateCertificateOperationRequest updateCertificateOperationRequest, + final ServiceCallback serviceCallback) { + return updateCertificateOperationAsync(updateCertificateOperationRequest.vaultBaseUrl(), + updateCertificateOperationRequest.certificateName(), + updateCertificateOperationRequest.cancellationRequested(), serviceCallback); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the + * server. + * + * @param mergeCertificateRequest + * the grouped properties for merging a certificate request + * @return the CertificateBundle if successful. + */ + public CertificateBundle mergeCertificate(MergeCertificateRequest mergeCertificateRequest) { + return mergeCertificate(mergeCertificateRequest.vaultBaseUrl(), mergeCertificateRequest.certificateName(), + mergeCertificateRequest.x509Certificates(), mergeCertificateRequest.certificateAttributes(), + mergeCertificateRequest.tags()); + } + + /** + * Merges a certificate or a certificate chain with a key pair existing on the + * server. + * + * @param mergeCertificateRequest + * the grouped properties for merging a certificate request + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture mergeCertificateAsync(MergeCertificateRequest mergeCertificateRequest, + final ServiceCallback serviceCallback) { + return mergeCertificateAsync(mergeCertificateRequest.vaultBaseUrl(), mergeCertificateRequest.certificateName(), + mergeCertificateRequest.x509Certificates(), mergeCertificateRequest.certificateAttributes(), + mergeCertificateRequest.tags(), serviceCallback); + } + + /** + * Gets the pending certificate signing request response. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @return the String if successful. + */ + public String getPendingCertificateSigningRequest(String vaultBaseUrl, String certificateName) { + return getPendingCertificateSigningRequestWithServiceResponseAsync(vaultBaseUrl, certificateName).toBlocking() + .single().body(); + } + + /** + * Gets the pending certificate signing request response. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @param serviceCallback + * the async ServiceCallback to handle successful and failed + * responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getPendingCertificateSigningRequestAsync(String vaultBaseUrl, String certificateName, + final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse( + getPendingCertificateSigningRequestWithServiceResponseAsync(vaultBaseUrl, certificateName), + serviceCallback); + } + + /** + * Gets the pending certificate signing request response. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate + * @return the observable to the String object + */ + private Observable> getPendingCertificateSigningRequestWithServiceResponseAsync( + String vaultBaseUrl, String certificateName) { + if (vaultBaseUrl == null) { + throw new IllegalArgumentException("Parameter vaultBaseUrl is required and cannot be null."); + } + if (certificateName == null) { + throw new IllegalArgumentException("Parameter certificateName is required and cannot be null."); + } + if (this.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); + } + + String parameterizedHost = Joiner.on(", ").join("{vaultBaseUrl}", vaultBaseUrl); + KeyVaultClientService clientService = Objects.requireNonNull(service, "Service has not been initialized. Call this.initializeService() before using this method."); + + return clientService + .getPendingCertificateSigningRequest(certificateName, this.apiVersion(), this.acceptLanguage(), + parameterizedHost, this.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = new ServiceResponse( + response.body().string(), response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + @Override + public KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, + List keyOps, KeyAttributes keyAttributes, Map tags) { + return createKey(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, null); + } + + @Override + public ServiceFuture createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, + Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, + ServiceCallback serviceCallback) { + return createKeyAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, null, serviceCallback); + } + + @Override + public Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, + Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags) { + return createKeyAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, + (JsonWebKeyCurveName) null); + } + + @Override + public Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, + JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, + Map tags) { + return createKeyWithServiceResponseAsync(vaultBaseUrl, keyName, kty, keySize, keyOps, keyAttributes, tags, + null); + } + + @Override + public PagedList getCertificates(String vaultBaseUrl, Integer maxresults) { + return getCertificates(vaultBaseUrl, maxresults, false); + } + + @Override + public ServiceFuture> getCertificatesAsync(String vaultBaseUrl, Integer maxresults, + ListOperationCallback serviceCallback) { + return getCertificatesAsync(vaultBaseUrl, maxresults, false, serviceCallback); + } + + @Override + public Observable> getCertificatesAsync(String vaultBaseUrl, Integer maxresults) { + return getCertificatesAsync(vaultBaseUrl, maxresults, false); + } + + @Override + public Observable>> getCertificatesWithServiceResponseAsync( + String vaultBaseUrl, Integer maxresults) { + return getCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, false); + } + + @Override + public PagedList getDeletedCertificates(String vaultBaseUrl, Integer maxresults) { + return getDeletedCertificates(vaultBaseUrl, maxresults, false); + } + + @Override + public ServiceFuture> getDeletedCertificatesAsync(String vaultBaseUrl, + Integer maxresults, ListOperationCallback serviceCallback) { + return getDeletedCertificatesAsync(vaultBaseUrl, maxresults, false, serviceCallback); + } + + @Override + public Observable> getDeletedCertificatesAsync(String vaultBaseUrl, + Integer maxresults) { + return getDeletedCertificatesAsync(vaultBaseUrl, maxresults, false); + } + + @Override + public Observable>> getDeletedCertificatesWithServiceResponseAsync( + String vaultBaseUrl, Integer maxresults) { + return getDeletedCertificatesWithServiceResponseAsync(vaultBaseUrl, maxresults, false); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/package-info.java index 936691df185d5..a4fc26903955c 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/implementation/package-info.java @@ -1,8 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -/** - * This package contains the classes for KeyVaultClient. Performs cryptographic - * key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault.implementation; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * This package contains the classes for KeyVaultClient. Performs cryptographic + * key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault.implementation; diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/HttpMessageSecurity.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/HttpMessageSecurity.java index f4b36fe2998d7..aac6aa458f00a 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/HttpMessageSecurity.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/HttpMessageSecurity.java @@ -1,417 +1,417 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.messagesecurity; - -import java.io.IOException; -import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; -import java.security.SecureRandom; -import java.util.UUID; -import java.util.concurrent.ExecutionException; - -import org.apache.commons.lang3.tuple.Pair; -import org.apache.commons.lang3.tuple.Triple; - -import com.microsoft.azure.keyvault.cryptography.RsaKey; -import com.microsoft.azure.keyvault.cryptography.SymmetricKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; - -import okhttp3.MediaType; -import okhttp3.Request; -import okhttp3.RequestBody; -import okhttp3.Response; -import okhttp3.ResponseBody; -import okhttp3.internal.http.HttpHeaders; -import okio.Buffer; - -/** - * Implements message security protocol. Encrypts requests & decrypts - * responses. - */ -public class HttpMessageSecurity { - private static final String AUTHENTICATE = "Authorization"; - private static final String BEARER_TOKEP_REFIX = "Bearer "; - /** - * Encoding for JWS and JWE header and contents specified in: - * https://tools.ietf.org/html/rfc7515 - * https://tools.ietf.org/html/rfc7516 - */ - private static final Charset MESSAGE_ENCODING = StandardCharsets.UTF_8; - private boolean testMode = false; - private String clientSecurityToken; - private JsonWebKey clientSignatureKey; - private JsonWebKey clientEncryptionKey; - private JsonWebKey serverSignatureKey; - private JsonWebKey serverEncryptionKey; - - /** - * Constructor. - * - * @param clientSecurityToken - * pop or bearer authentication token. - * @param clientSignatureKeyString - * string with client signing key (public + private parts) or null if - * not supported - * @param serverEncryptionKeyString - * string with server encryption key (public only) or null if not - * supported - * @param serverSignatureKeyString - * string with server signing key (public only) or null if not - * supported - * @throws IOException - * throws IOException - */ - public HttpMessageSecurity(String clientSecurityToken, String clientSignatureKeyString, - String serverEncryptionKeyString, String serverSignatureKeyString) throws IOException { - - this(clientSecurityToken, clientSignatureKeyString, serverEncryptionKeyString, serverSignatureKeyString, MessageSecurityHelper.generateJsonWebKey()); - } - - - /** - * Constructor. - * - * @param clientSecurityToken - * pop or bearer authentication token. - * @param clientSignatureKeyString - * string with client signing key (public + private parts) or null if - * not supported - * @param serverEncryptionKeyString - * string with server encryption key (public only) or null if not - * supported - * @param serverSignatureKeyString - * string with server signing key (public only) or null if not - * supported - * @param clientEncryptionKey - * client encryption key (public + private parts) or null if - * not supported - * @throws IOException - * throws IOException - */ - public HttpMessageSecurity(String clientSecurityToken, String clientSignatureKeyString, - String serverEncryptionKeyString, String serverSignatureKeyString, JsonWebKey clientEncryptionKey) throws IOException { - - this.clientSecurityToken = clientSecurityToken; - - if (clientSignatureKeyString != null && !clientSignatureKeyString.equals("")) { - this.clientSignatureKey = MessageSecurityHelper.jsonWebKeyFromString(clientSignatureKeyString); - } - if (serverSignatureKeyString != null && !serverSignatureKeyString.equals("")) { - this.serverSignatureKey = MessageSecurityHelper.jsonWebKeyFromString(serverSignatureKeyString); - } - if (serverEncryptionKeyString != null && !serverEncryptionKeyString.equals("")) { - this.serverEncryptionKey = MessageSecurityHelper.jsonWebKeyFromString(serverEncryptionKeyString); - } - - this.clientEncryptionKey = clientEncryptionKey; - } - - /** - * Constructor (tests only). - * - * @param clientSecurityToken - * pop or bearer authentication token. - * @param clientEncryptionString - * string with client signing key (public + private parts) or null if - * not supported - * @param clientSignatureKeyString - * string with client signing key (public + private parts) or null if - * not supported - * @param serverEncryptionKeyString - * string with server encryption key (public only) or null if not - * supported - * @param serverSignatureKeyString - * string with server signing key (public only) or null if not - * supported - * @param testMode - * true for test mode (uses 0 for timestamp) - * @throws IOException - * throws IOException - */ - public HttpMessageSecurity(String clientSecurityToken, String clientEncryptionString, - String clientSignatureKeyString, String serverEncryptionKeyString, String serverSignatureKeyString, - boolean testMode) throws IOException { - this(clientSecurityToken, clientSignatureKeyString, serverEncryptionKeyString, serverSignatureKeyString); - this.testMode = testMode; - if (clientEncryptionString != null && !clientEncryptionString.equals("")) { - this.clientEncryptionKey = MessageSecurityHelper.jsonWebKeyFromString(clientEncryptionString); - } - } - - /** - * Protects existing request. Replaces its body with encrypted version. - * - * @param request - * existing request. - * - * @return new request with encrypted body if supported or existing request. - * - * @throws IOException throws IOException - */ - public Request protectRequest(Request request) throws IOException { - try { - Request result = request.newBuilder().header(AUTHENTICATE, BEARER_TOKEP_REFIX + clientSecurityToken) - .build(); - - if (!supportsProtection()) { - return result; - } - - Buffer buffer = new Buffer(); - request.body().writeTo(buffer); - String currentbody = buffer.readUtf8(); - - if (currentbody == null || currentbody.length() == 0) { - return result; - } - - JsonWebKey clientPublicEncryptionKey = MessageSecurityHelper.getJwkWithPublicKeyOnly(clientEncryptionKey); - - String payload = currentbody.substring(0, currentbody.length() - 1) + ",\"rek\":{\"jwk\":" - + clientPublicEncryptionKey.toString() + "}}"; - - JWEObject jweObject = protectPayload(payload); - - JWSHeader jwsHeader = new JWSHeader("RS256", clientSignatureKey.kid(), clientSecurityToken, - getCurrentTimestamp(), "PoP", null); - - String jwsHeaderJsonb64 = MessageSecurityHelper.stringToBase64Url(jwsHeader.serialize()); - String protectedPayload = MessageSecurityHelper.stringToBase64Url(jweObject.serialize()); - byte[] data = (jwsHeaderJsonb64 + "." + protectedPayload).getBytes(MESSAGE_ENCODING); - - RsaKey clientSignatureRsaKey = new RsaKey(clientSignatureKey.kid(), clientSignatureKey.toRSA(true)); - Pair signature = clientSignatureRsaKey.signAsync(getSha256(data), "RS256").get(); - - JWSObject jwsObject = new JWSObject(jwsHeader, protectedPayload, - MessageSecurityHelper.bytesToBase64Url(signature.getKey())); - - RequestBody body = RequestBody.create(MediaType.parse("application/jose+json"), jwsObject.serialize()); - - return result.newBuilder().method(request.method(), body).build(); - } catch (ExecutionException e) { - // unexpected; - return null; - } catch (InterruptedException e) { - // unexpected; - return null; - } catch (NoSuchAlgorithmException e) { - // unexpected; - return null; - } - } - - /** - * Unprotects response if needed. Replaces its body with unencrypted version. - * - * @param response - * server response. - * - * @return new response with unencrypted body if supported or existing response. - * - * @throws IOException throws IOException - */ - public Response unprotectResponse(Response response) throws IOException { - try { - if (!supportsProtection() || !HttpHeaders.hasBody(response)) { - return response; - } - - if (!response.header("content-type").toLowerCase().contains("application/jose+json")) { - return response; - } - - JWSObject jwsObject = JWSObject.deserialize(response.body().string()); - JWSHeader jwsHeader = jwsObject.jwsHeader(); - - if (!jwsHeader.kid().equals(serverSignatureKey.kid()) || !jwsHeader.alg().equals("RS256")) { - throw new IOException("Invalid protected response"); - } - - byte[] data = (jwsObject.originalProtected() + "." + jwsObject.payload()).getBytes(MESSAGE_ENCODING); - byte[] signature = MessageSecurityHelper.base64UrltoByteArray(jwsObject.signature()); - - RsaKey serverSignatureRsaKey = new RsaKey(serverSignatureKey.kid(), serverSignatureKey.toRSA(false)); - boolean signed = serverSignatureRsaKey.verifyAsync(getSha256(data), signature, "RS256").get(); - if (!signed) { - throw new IOException("Wrong signature."); - } - - String decrypted = unprotectPayload(jwsObject.payload()); - - MediaType contentType = response.body().contentType(); - ResponseBody body = ResponseBody.create(contentType, decrypted); - return response.newBuilder().body(body).build(); - } catch (ExecutionException e) { - // unexpected; - return null; - } catch (InterruptedException e) { - // unexpected; - return null; - } catch (NoSuchAlgorithmException e) { - // unexpected; - return null; - } - } - - /** - * Return current timestamp. Returns always 0 for tests. - * - * @return current timestamp or 0 for test mode. - */ - private long getCurrentTimestamp() { - if (testMode) { - return 0; - } else { - return System.currentTimeMillis() / 1000; - } - } - - /** - * Check if HttmMessageSecurity has all required keys. - * - * @return true if there is client signature key and two server keys. - */ - private boolean supportsProtection() { - return this.clientSignatureKey != null && this.serverSignatureKey != null && this.serverEncryptionKey != null; - } - - /** - * Encrypt provided payload and return proper JWEObject. - * - * @param payload Content to be encrypted. Content will be encrypted with - * UTF-8 representation of contents as per - * https://tools.ietf.org/html/rfc7515. It can - * represent anything. - * - * @return JWEObject with encrypted payload. - * - * @throws IOException throws IOException - */ - private JWEObject protectPayload(String payload) throws IOException { - try { - JWEHeader jweHeader = new JWEHeader("RSA-OAEP", serverEncryptionKey.kid(), "A128CBC-HS256"); - - byte[] aesKeyBytes = generateAesKey(); - - SymmetricKey aesKey = new SymmetricKey(UUID.randomUUID().toString(), aesKeyBytes); - - byte[] iv = generateAesIv(); - - RsaKey serverEncryptionRsaKey = new RsaKey(serverEncryptionKey.kid(), serverEncryptionKey.toRSA(false)); - Triple encryptedKey = serverEncryptionRsaKey - .encryptAsync(aesKeyBytes, null, null, "RSA-OAEP").get(); - - Triple cipher = aesKey - .encryptAsync(payload.getBytes(MESSAGE_ENCODING), iv, - MessageSecurityHelper.stringToBase64Url(jweHeader.serialize()).getBytes(MESSAGE_ENCODING), "A128CBC-HS256") - .get(); - - JWEObject jweObject = new JWEObject(jweHeader, - MessageSecurityHelper.bytesToBase64Url((!testMode) ? encryptedKey.getLeft() : "key".getBytes(MESSAGE_ENCODING)), - MessageSecurityHelper.bytesToBase64Url(iv), - MessageSecurityHelper.bytesToBase64Url(cipher.getLeft()), - MessageSecurityHelper.bytesToBase64Url(cipher.getMiddle())); - - return jweObject; - } catch (ExecutionException e) { - // unexpected; - return null; - } catch (InterruptedException e) { - // unexpected; - return null; - } catch (NoSuchAlgorithmException e) { - // unexpected; - return null; - } - } - - /** - * Unencrypt encrypted payload. - * - * @param payload - * base64url serialized JWEObject. - * - * @return Unencrypted message. - */ - private String unprotectPayload(String payload) throws IOException { - try { - JWEObject jweObject = JWEObject.deserialize(MessageSecurityHelper.base64UrltoString(payload)); - JWEHeader jweHeader = jweObject.jweHeader(); - - if (!clientEncryptionKey.kid().equals(jweHeader.kid()) || !jweHeader.alg().equals("RSA-OAEP") - || !jweHeader.enc().equals("A128CBC-HS256")) { - throw new IOException("Invalid protected response"); - } - - byte[] key = MessageSecurityHelper.base64UrltoByteArray(jweObject.encryptedKey()); - - RsaKey clientEncryptionRsaKey = new RsaKey(clientEncryptionKey.kid(), clientEncryptionKey.toRSA(true)); - byte[] aesKeyBytes = clientEncryptionRsaKey.decryptAsync(key, null, null, null, "RSA-OAEP").get(); - - SymmetricKey aesKey = new SymmetricKey(UUID.randomUUID().toString(), aesKeyBytes); - byte[] result = aesKey.decryptAsync(MessageSecurityHelper.base64UrltoByteArray(jweObject.cipherText()), - MessageSecurityHelper.base64UrltoByteArray(jweObject.iv()), - jweObject.originalProtected().getBytes(MESSAGE_ENCODING), - MessageSecurityHelper.base64UrltoByteArray(jweObject.tag()), "A128CBC-HS256").get(); - - return new String(result, MESSAGE_ENCODING); - } catch (ExecutionException e) { - // unexpected; - return null; - } catch (InterruptedException e) { - // unexpected; - return null; - } catch (NoSuchAlgorithmException e) { - // unexpected; - return null; - } - } - - /** - * Get SHA256 hash for byte array. - * - * @param data - * byte array. - * - * @return byte array with sha256 hash. - */ - private byte[] getSha256(byte[] data) throws NoSuchAlgorithmException { - MessageDigest digest = MessageDigest.getInstance("SHA-256"); - return digest.digest(data); - } - - /** - * Generates AES key. - * - * @return Random AES key or pre-defined value for test mode. - */ - private byte[] generateAesKey() { - byte[] bytes = new byte[32]; - if (!testMode) { - SecureRandom random = new SecureRandom(); - random.nextBytes(bytes); - } else { - bytes = "TEST1234TEST1234TEST1234TEST1234".getBytes(MESSAGE_ENCODING); - } - return bytes; - } - - /** - * Generates initialization vector for AES encryption. - * - * @return Random IV or pre-defined value for test mode. - */ - private byte[] generateAesIv() { - byte[] bytes = new byte[16]; - if (!testMode) { - SecureRandom random = new SecureRandom(); - random.nextBytes(bytes); - } else { - bytes = "TEST1234TEST1234".getBytes(MESSAGE_ENCODING); - } - return bytes; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.messagesecurity; + +import java.io.IOException; +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.security.SecureRandom; +import java.util.UUID; +import java.util.concurrent.ExecutionException; + +import org.apache.commons.lang3.tuple.Pair; +import org.apache.commons.lang3.tuple.Triple; + +import com.microsoft.azure.keyvault.cryptography.RsaKey; +import com.microsoft.azure.keyvault.cryptography.SymmetricKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; + +import okhttp3.MediaType; +import okhttp3.Request; +import okhttp3.RequestBody; +import okhttp3.Response; +import okhttp3.ResponseBody; +import okhttp3.internal.http.HttpHeaders; +import okio.Buffer; + +/** + * Implements message security protocol. Encrypts requests & decrypts + * responses. + */ +public class HttpMessageSecurity { + private static final String AUTHENTICATE = "Authorization"; + private static final String BEARER_TOKEP_REFIX = "Bearer "; + /** + * Encoding for JWS and JWE header and contents specified in: + * https://tools.ietf.org/html/rfc7515 + * https://tools.ietf.org/html/rfc7516 + */ + private static final Charset MESSAGE_ENCODING = StandardCharsets.UTF_8; + private boolean testMode = false; + private String clientSecurityToken; + private JsonWebKey clientSignatureKey; + private JsonWebKey clientEncryptionKey; + private JsonWebKey serverSignatureKey; + private JsonWebKey serverEncryptionKey; + + /** + * Constructor. + * + * @param clientSecurityToken + * pop or bearer authentication token. + * @param clientSignatureKeyString + * string with client signing key (public + private parts) or null if + * not supported + * @param serverEncryptionKeyString + * string with server encryption key (public only) or null if not + * supported + * @param serverSignatureKeyString + * string with server signing key (public only) or null if not + * supported + * @throws IOException + * throws IOException + */ + public HttpMessageSecurity(String clientSecurityToken, String clientSignatureKeyString, + String serverEncryptionKeyString, String serverSignatureKeyString) throws IOException { + + this(clientSecurityToken, clientSignatureKeyString, serverEncryptionKeyString, serverSignatureKeyString, MessageSecurityHelper.generateJsonWebKey()); + } + + + /** + * Constructor. + * + * @param clientSecurityToken + * pop or bearer authentication token. + * @param clientSignatureKeyString + * string with client signing key (public + private parts) or null if + * not supported + * @param serverEncryptionKeyString + * string with server encryption key (public only) or null if not + * supported + * @param serverSignatureKeyString + * string with server signing key (public only) or null if not + * supported + * @param clientEncryptionKey + * client encryption key (public + private parts) or null if + * not supported + * @throws IOException + * throws IOException + */ + public HttpMessageSecurity(String clientSecurityToken, String clientSignatureKeyString, + String serverEncryptionKeyString, String serverSignatureKeyString, JsonWebKey clientEncryptionKey) throws IOException { + + this.clientSecurityToken = clientSecurityToken; + + if (clientSignatureKeyString != null && !clientSignatureKeyString.equals("")) { + this.clientSignatureKey = MessageSecurityHelper.jsonWebKeyFromString(clientSignatureKeyString); + } + if (serverSignatureKeyString != null && !serverSignatureKeyString.equals("")) { + this.serverSignatureKey = MessageSecurityHelper.jsonWebKeyFromString(serverSignatureKeyString); + } + if (serverEncryptionKeyString != null && !serverEncryptionKeyString.equals("")) { + this.serverEncryptionKey = MessageSecurityHelper.jsonWebKeyFromString(serverEncryptionKeyString); + } + + this.clientEncryptionKey = clientEncryptionKey; + } + + /** + * Constructor (tests only). + * + * @param clientSecurityToken + * pop or bearer authentication token. + * @param clientEncryptionString + * string with client signing key (public + private parts) or null if + * not supported + * @param clientSignatureKeyString + * string with client signing key (public + private parts) or null if + * not supported + * @param serverEncryptionKeyString + * string with server encryption key (public only) or null if not + * supported + * @param serverSignatureKeyString + * string with server signing key (public only) or null if not + * supported + * @param testMode + * true for test mode (uses 0 for timestamp) + * @throws IOException + * throws IOException + */ + public HttpMessageSecurity(String clientSecurityToken, String clientEncryptionString, + String clientSignatureKeyString, String serverEncryptionKeyString, String serverSignatureKeyString, + boolean testMode) throws IOException { + this(clientSecurityToken, clientSignatureKeyString, serverEncryptionKeyString, serverSignatureKeyString); + this.testMode = testMode; + if (clientEncryptionString != null && !clientEncryptionString.equals("")) { + this.clientEncryptionKey = MessageSecurityHelper.jsonWebKeyFromString(clientEncryptionString); + } + } + + /** + * Protects existing request. Replaces its body with encrypted version. + * + * @param request + * existing request. + * + * @return new request with encrypted body if supported or existing request. + * + * @throws IOException throws IOException + */ + public Request protectRequest(Request request) throws IOException { + try { + Request result = request.newBuilder().header(AUTHENTICATE, BEARER_TOKEP_REFIX + clientSecurityToken) + .build(); + + if (!supportsProtection()) { + return result; + } + + Buffer buffer = new Buffer(); + request.body().writeTo(buffer); + String currentbody = buffer.readUtf8(); + + if (currentbody == null || currentbody.length() == 0) { + return result; + } + + JsonWebKey clientPublicEncryptionKey = MessageSecurityHelper.getJwkWithPublicKeyOnly(clientEncryptionKey); + + String payload = currentbody.substring(0, currentbody.length() - 1) + ",\"rek\":{\"jwk\":" + + clientPublicEncryptionKey.toString() + "}}"; + + JWEObject jweObject = protectPayload(payload); + + JWSHeader jwsHeader = new JWSHeader("RS256", clientSignatureKey.kid(), clientSecurityToken, + getCurrentTimestamp(), "PoP", null); + + String jwsHeaderJsonb64 = MessageSecurityHelper.stringToBase64Url(jwsHeader.serialize()); + String protectedPayload = MessageSecurityHelper.stringToBase64Url(jweObject.serialize()); + byte[] data = (jwsHeaderJsonb64 + "." + protectedPayload).getBytes(MESSAGE_ENCODING); + + RsaKey clientSignatureRsaKey = new RsaKey(clientSignatureKey.kid(), clientSignatureKey.toRSA(true)); + Pair signature = clientSignatureRsaKey.signAsync(getSha256(data), "RS256").get(); + + JWSObject jwsObject = new JWSObject(jwsHeader, protectedPayload, + MessageSecurityHelper.bytesToBase64Url(signature.getKey())); + + RequestBody body = RequestBody.create(MediaType.parse("application/jose+json"), jwsObject.serialize()); + + return result.newBuilder().method(request.method(), body).build(); + } catch (ExecutionException e) { + // unexpected; + return null; + } catch (InterruptedException e) { + // unexpected; + return null; + } catch (NoSuchAlgorithmException e) { + // unexpected; + return null; + } + } + + /** + * Unprotects response if needed. Replaces its body with unencrypted version. + * + * @param response + * server response. + * + * @return new response with unencrypted body if supported or existing response. + * + * @throws IOException throws IOException + */ + public Response unprotectResponse(Response response) throws IOException { + try { + if (!supportsProtection() || !HttpHeaders.hasBody(response)) { + return response; + } + + if (!response.header("content-type").toLowerCase().contains("application/jose+json")) { + return response; + } + + JWSObject jwsObject = JWSObject.deserialize(response.body().string()); + JWSHeader jwsHeader = jwsObject.jwsHeader(); + + if (!jwsHeader.kid().equals(serverSignatureKey.kid()) || !jwsHeader.alg().equals("RS256")) { + throw new IOException("Invalid protected response"); + } + + byte[] data = (jwsObject.originalProtected() + "." + jwsObject.payload()).getBytes(MESSAGE_ENCODING); + byte[] signature = MessageSecurityHelper.base64UrltoByteArray(jwsObject.signature()); + + RsaKey serverSignatureRsaKey = new RsaKey(serverSignatureKey.kid(), serverSignatureKey.toRSA(false)); + boolean signed = serverSignatureRsaKey.verifyAsync(getSha256(data), signature, "RS256").get(); + if (!signed) { + throw new IOException("Wrong signature."); + } + + String decrypted = unprotectPayload(jwsObject.payload()); + + MediaType contentType = response.body().contentType(); + ResponseBody body = ResponseBody.create(contentType, decrypted); + return response.newBuilder().body(body).build(); + } catch (ExecutionException e) { + // unexpected; + return null; + } catch (InterruptedException e) { + // unexpected; + return null; + } catch (NoSuchAlgorithmException e) { + // unexpected; + return null; + } + } + + /** + * Return current timestamp. Returns always 0 for tests. + * + * @return current timestamp or 0 for test mode. + */ + private long getCurrentTimestamp() { + if (testMode) { + return 0; + } else { + return System.currentTimeMillis() / 1000; + } + } + + /** + * Check if HttmMessageSecurity has all required keys. + * + * @return true if there is client signature key and two server keys. + */ + private boolean supportsProtection() { + return this.clientSignatureKey != null && this.serverSignatureKey != null && this.serverEncryptionKey != null; + } + + /** + * Encrypt provided payload and return proper JWEObject. + * + * @param payload Content to be encrypted. Content will be encrypted with + * UTF-8 representation of contents as per + * https://tools.ietf.org/html/rfc7515. It can + * represent anything. + * + * @return JWEObject with encrypted payload. + * + * @throws IOException throws IOException + */ + private JWEObject protectPayload(String payload) throws IOException { + try { + JWEHeader jweHeader = new JWEHeader("RSA-OAEP", serverEncryptionKey.kid(), "A128CBC-HS256"); + + byte[] aesKeyBytes = generateAesKey(); + + SymmetricKey aesKey = new SymmetricKey(UUID.randomUUID().toString(), aesKeyBytes); + + byte[] iv = generateAesIv(); + + RsaKey serverEncryptionRsaKey = new RsaKey(serverEncryptionKey.kid(), serverEncryptionKey.toRSA(false)); + Triple encryptedKey = serverEncryptionRsaKey + .encryptAsync(aesKeyBytes, null, null, "RSA-OAEP").get(); + + Triple cipher = aesKey + .encryptAsync(payload.getBytes(MESSAGE_ENCODING), iv, + MessageSecurityHelper.stringToBase64Url(jweHeader.serialize()).getBytes(MESSAGE_ENCODING), "A128CBC-HS256") + .get(); + + JWEObject jweObject = new JWEObject(jweHeader, + MessageSecurityHelper.bytesToBase64Url((!testMode) ? encryptedKey.getLeft() : "key".getBytes(MESSAGE_ENCODING)), + MessageSecurityHelper.bytesToBase64Url(iv), + MessageSecurityHelper.bytesToBase64Url(cipher.getLeft()), + MessageSecurityHelper.bytesToBase64Url(cipher.getMiddle())); + + return jweObject; + } catch (ExecutionException e) { + // unexpected; + return null; + } catch (InterruptedException e) { + // unexpected; + return null; + } catch (NoSuchAlgorithmException e) { + // unexpected; + return null; + } + } + + /** + * Unencrypt encrypted payload. + * + * @param payload + * base64url serialized JWEObject. + * + * @return Unencrypted message. + */ + private String unprotectPayload(String payload) throws IOException { + try { + JWEObject jweObject = JWEObject.deserialize(MessageSecurityHelper.base64UrltoString(payload)); + JWEHeader jweHeader = jweObject.jweHeader(); + + if (!clientEncryptionKey.kid().equals(jweHeader.kid()) || !jweHeader.alg().equals("RSA-OAEP") + || !jweHeader.enc().equals("A128CBC-HS256")) { + throw new IOException("Invalid protected response"); + } + + byte[] key = MessageSecurityHelper.base64UrltoByteArray(jweObject.encryptedKey()); + + RsaKey clientEncryptionRsaKey = new RsaKey(clientEncryptionKey.kid(), clientEncryptionKey.toRSA(true)); + byte[] aesKeyBytes = clientEncryptionRsaKey.decryptAsync(key, null, null, null, "RSA-OAEP").get(); + + SymmetricKey aesKey = new SymmetricKey(UUID.randomUUID().toString(), aesKeyBytes); + byte[] result = aesKey.decryptAsync(MessageSecurityHelper.base64UrltoByteArray(jweObject.cipherText()), + MessageSecurityHelper.base64UrltoByteArray(jweObject.iv()), + jweObject.originalProtected().getBytes(MESSAGE_ENCODING), + MessageSecurityHelper.base64UrltoByteArray(jweObject.tag()), "A128CBC-HS256").get(); + + return new String(result, MESSAGE_ENCODING); + } catch (ExecutionException e) { + // unexpected; + return null; + } catch (InterruptedException e) { + // unexpected; + return null; + } catch (NoSuchAlgorithmException e) { + // unexpected; + return null; + } + } + + /** + * Get SHA256 hash for byte array. + * + * @param data + * byte array. + * + * @return byte array with sha256 hash. + */ + private byte[] getSha256(byte[] data) throws NoSuchAlgorithmException { + MessageDigest digest = MessageDigest.getInstance("SHA-256"); + return digest.digest(data); + } + + /** + * Generates AES key. + * + * @return Random AES key or pre-defined value for test mode. + */ + private byte[] generateAesKey() { + byte[] bytes = new byte[32]; + if (!testMode) { + SecureRandom random = new SecureRandom(); + random.nextBytes(bytes); + } else { + bytes = "TEST1234TEST1234TEST1234TEST1234".getBytes(MESSAGE_ENCODING); + } + return bytes; + } + + /** + * Generates initialization vector for AES encryption. + * + * @return Random IV or pre-defined value for test mode. + */ + private byte[] generateAesIv() { + byte[] bytes = new byte[16]; + if (!testMode) { + SecureRandom random = new SecureRandom(); + random.nextBytes(bytes); + } else { + bytes = "TEST1234TEST1234".getBytes(MESSAGE_ENCODING); + } + return bytes; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEHeader.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEHeader.java index f1e35f46485d5..a77b41beb1a8a 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEHeader.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEHeader.java @@ -1,131 +1,131 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.messagesecurity; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; - -import java.io.IOException; -import java.util.Objects; - -/** - * Json Web Encryption Header class. - */ -class JWEHeader { - - private String alg; - private String kid; - private String enc; - - /** - * Constructor. - */ - JWEHeader() { - - } - - /** - * Constructor. - * - * @param alg - * Encryption algorithm (for key). (Supported: RSA-OAEP) - * @param kid - * Key Id - * @param enc - * Encryption algorithm (for data). (Supported: A128CBC-HS256) - */ - JWEHeader(String alg, String kid, String enc) { - this.alg = alg; - this.kid = kid; - this.enc = enc; - } - - /** - * Compare two JWEHeaders. - * - * @return true if JWEHeaders are identical. - */ - public boolean equals(JWEHeader other) { - return this.alg.equals(other.alg) && this.kid.equals(other.kid) && this.enc.equals(other.enc); - } - - @Override - public boolean equals(Object object) { - if (!(object instanceof JWEHeader)) { - return false; - } - - return object == this || equals((JWEHeader) object); - } - - /** - * Hash code for objects. - * - * @return hashcode - */ - public int hashCode() { - return Objects.hash(this.alg, this.kid, this.enc); - } - - /** - * Serialize JWEHeader to json string. - * - * @return Json string with serialized JWEHeader. - */ - public String serialize() throws JsonProcessingException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.writeValueAsString(this); - } - - /** - * Construct JWEHeader from json string. - * - * @param json - * json string. - * - * @return Constructed JWEHeader - */ - public static JWEHeader deserialize(String json) throws IOException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(json, JWEHeader.class); - } - - /** - * Construct JWEHeader from base64url string. - * - * @param base64 - * base64 url string. - * - * @return Constructed JWEHeader - */ - public static JWEHeader fromBase64String(String base64) throws IOException { - String json = MessageSecurityHelper.base64UrltoString(base64); - return deserialize(json); - } - - /** - * Encryption algorithm (for key). (Supported: RSA-OAEP) - */ - @JsonProperty("alg") - public String alg() { - return alg; - } - - /** - * Key Id. - */ - @JsonProperty("kid") - public String kid() { - return kid; - } - - /** - * Encryption algorithm (for data). (Supported: A128CBC-HS256) - */ - @JsonProperty("enc") - public String enc() { - return enc; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.messagesecurity; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; + +import java.io.IOException; +import java.util.Objects; + +/** + * Json Web Encryption Header class. + */ +class JWEHeader { + + private String alg; + private String kid; + private String enc; + + /** + * Constructor. + */ + JWEHeader() { + + } + + /** + * Constructor. + * + * @param alg + * Encryption algorithm (for key). (Supported: RSA-OAEP) + * @param kid + * Key Id + * @param enc + * Encryption algorithm (for data). (Supported: A128CBC-HS256) + */ + JWEHeader(String alg, String kid, String enc) { + this.alg = alg; + this.kid = kid; + this.enc = enc; + } + + /** + * Compare two JWEHeaders. + * + * @return true if JWEHeaders are identical. + */ + public boolean equals(JWEHeader other) { + return this.alg.equals(other.alg) && this.kid.equals(other.kid) && this.enc.equals(other.enc); + } + + @Override + public boolean equals(Object object) { + if (!(object instanceof JWEHeader)) { + return false; + } + + return object == this || equals((JWEHeader) object); + } + + /** + * Hash code for objects. + * + * @return hashcode + */ + public int hashCode() { + return Objects.hash(this.alg, this.kid, this.enc); + } + + /** + * Serialize JWEHeader to json string. + * + * @return Json string with serialized JWEHeader. + */ + public String serialize() throws JsonProcessingException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.writeValueAsString(this); + } + + /** + * Construct JWEHeader from json string. + * + * @param json + * json string. + * + * @return Constructed JWEHeader + */ + public static JWEHeader deserialize(String json) throws IOException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.readValue(json, JWEHeader.class); + } + + /** + * Construct JWEHeader from base64url string. + * + * @param base64 + * base64 url string. + * + * @return Constructed JWEHeader + */ + public static JWEHeader fromBase64String(String base64) throws IOException { + String json = MessageSecurityHelper.base64UrltoString(base64); + return deserialize(json); + } + + /** + * Encryption algorithm (for key). (Supported: RSA-OAEP) + */ + @JsonProperty("alg") + public String alg() { + return alg; + } + + /** + * Key Id. + */ + @JsonProperty("kid") + public String kid() { + return kid; + } + + /** + * Encryption algorithm (for data). (Supported: A128CBC-HS256) + */ + @JsonProperty("enc") + public String enc() { + return enc; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEObject.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEObject.java index 434a40f9895c1..7863870b46de3 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEObject.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWEObject.java @@ -1,178 +1,178 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.messagesecurity; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; - -import java.io.IOException; -import java.util.Objects; - -/** - * Json Web Encryption object class. - */ -class JWEObject { - private JWEHeader jweHeader; - private String originalProtected; - private String encryptedKey; - private String iv; - private String cipherText; - private String tag; - - /** - * Constructor. - * - * @param jweHeader - * Corresponding jweHeader object. - * @param encryptedKey - * base64url encrypted key. - * @param iv - * base64url iv. - * @param cipherText - * base64url encrypted data. - * @param tag - * base64url authorization tag. - */ - JWEObject(JWEHeader jweHeader, String encryptedKey, String iv, String cipherText, String tag) { - this.jweHeader = jweHeader; - this.encryptedKey = encryptedKey; - this.iv = iv; - this.cipherText = cipherText; - this.tag = tag; - } - - /** - * Constructor. - * - * @param jweHeaderB64 - * base64url json with serialized jweHeader. - * @param encryptedKey - * base64url encrypted key. - * @param iv - * base64url iv. - * @param cipherText - * base64url encrypted data. - * @param tag - * base64url authorization tag. - */ - @JsonCreator - JWEObject(@JsonProperty("protected") String jweHeaderB64, @JsonProperty("encrypted_key") String encryptedKey, - @JsonProperty("iv") String iv, @JsonProperty("ciphertext") String cipherText, - @JsonProperty("tag") String tag) throws Exception { - this.jweHeader = JWEHeader.fromBase64String(jweHeaderB64); - this.originalProtected = jweHeaderB64; - this.encryptedKey = encryptedKey; - this.iv = iv; - this.cipherText = cipherText; - this.tag = tag; - } - - /** - * Compare two JweObject. - * - * @return true if JWEObject are identical. - */ - public boolean equals(JWEObject other) { - return jweHeader.equals(other.jweHeader) && encryptedKey.equals(other.encryptedKey) && iv.equals(other.iv) - && cipherText.equals(other.cipherText) && tag.equals(other.tag); - } - - @Override - public boolean equals(Object object) { - if (!(object instanceof JWEObject)) { - return false; - } - - return object == this || equals((JWEObject) object); - } - - /** - * Hash code for objects. - * - * @return hashcode - */ - public int hashCode() { - return Objects.hash(this.jweHeader, this.encryptedKey, this.iv, this.cipherText, this.tag); - } - - /** - * Serialize JWEObject to json string. - * - * @return Json string with serialized JWEObject. - */ - public String serialize() throws JsonProcessingException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.writeValueAsString(this); - } - - /** - * Construct JWEObject from json string. - * - * @param json - * json string. - * - * @return Constructed JWEObject - */ - public static JWEObject deserialize(String json) throws IOException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(json, JWEObject.class); - } - - /** - * JWEHeader object. - */ - public JWEHeader jweHeader() { - return jweHeader; - } - - /** - * base64url json with serialized jweHeader. - */ - @JsonProperty("protected") - public String protectedB64() throws Exception { - return MessageSecurityHelper.stringToBase64Url(jweHeader.serialize()); - } - - /** - * Original base64url with serialized jweHeader (when constructed from json - * string). - */ - public String originalProtected() { - return originalProtected; - } - - /** - * base64url encrypted key. - */ - @JsonProperty("encrypted_key") - public String encryptedKey() { - return encryptedKey; - } - - /** - * base64url iv. - */ - @JsonProperty("iv") - public String iv() { - return iv; - } - - /** - * base64url encrypted text. - */ - @JsonProperty("ciphertext") - public String cipherText() { - return cipherText; - } - - /** - * base64url tag. - */ - @JsonProperty("tag") - public String tag() { - return tag; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.messagesecurity; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; + +import java.io.IOException; +import java.util.Objects; + +/** + * Json Web Encryption object class. + */ +class JWEObject { + private JWEHeader jweHeader; + private String originalProtected; + private String encryptedKey; + private String iv; + private String cipherText; + private String tag; + + /** + * Constructor. + * + * @param jweHeader + * Corresponding jweHeader object. + * @param encryptedKey + * base64url encrypted key. + * @param iv + * base64url iv. + * @param cipherText + * base64url encrypted data. + * @param tag + * base64url authorization tag. + */ + JWEObject(JWEHeader jweHeader, String encryptedKey, String iv, String cipherText, String tag) { + this.jweHeader = jweHeader; + this.encryptedKey = encryptedKey; + this.iv = iv; + this.cipherText = cipherText; + this.tag = tag; + } + + /** + * Constructor. + * + * @param jweHeaderB64 + * base64url json with serialized jweHeader. + * @param encryptedKey + * base64url encrypted key. + * @param iv + * base64url iv. + * @param cipherText + * base64url encrypted data. + * @param tag + * base64url authorization tag. + */ + @JsonCreator + JWEObject(@JsonProperty("protected") String jweHeaderB64, @JsonProperty("encrypted_key") String encryptedKey, + @JsonProperty("iv") String iv, @JsonProperty("ciphertext") String cipherText, + @JsonProperty("tag") String tag) throws Exception { + this.jweHeader = JWEHeader.fromBase64String(jweHeaderB64); + this.originalProtected = jweHeaderB64; + this.encryptedKey = encryptedKey; + this.iv = iv; + this.cipherText = cipherText; + this.tag = tag; + } + + /** + * Compare two JweObject. + * + * @return true if JWEObject are identical. + */ + public boolean equals(JWEObject other) { + return jweHeader.equals(other.jweHeader) && encryptedKey.equals(other.encryptedKey) && iv.equals(other.iv) + && cipherText.equals(other.cipherText) && tag.equals(other.tag); + } + + @Override + public boolean equals(Object object) { + if (!(object instanceof JWEObject)) { + return false; + } + + return object == this || equals((JWEObject) object); + } + + /** + * Hash code for objects. + * + * @return hashcode + */ + public int hashCode() { + return Objects.hash(this.jweHeader, this.encryptedKey, this.iv, this.cipherText, this.tag); + } + + /** + * Serialize JWEObject to json string. + * + * @return Json string with serialized JWEObject. + */ + public String serialize() throws JsonProcessingException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.writeValueAsString(this); + } + + /** + * Construct JWEObject from json string. + * + * @param json + * json string. + * + * @return Constructed JWEObject + */ + public static JWEObject deserialize(String json) throws IOException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.readValue(json, JWEObject.class); + } + + /** + * JWEHeader object. + */ + public JWEHeader jweHeader() { + return jweHeader; + } + + /** + * base64url json with serialized jweHeader. + */ + @JsonProperty("protected") + public String protectedB64() throws Exception { + return MessageSecurityHelper.stringToBase64Url(jweHeader.serialize()); + } + + /** + * Original base64url with serialized jweHeader (when constructed from json + * string). + */ + public String originalProtected() { + return originalProtected; + } + + /** + * base64url encrypted key. + */ + @JsonProperty("encrypted_key") + public String encryptedKey() { + return encryptedKey; + } + + /** + * base64url iv. + */ + @JsonProperty("iv") + public String iv() { + return iv; + } + + /** + * base64url encrypted text. + */ + @JsonProperty("ciphertext") + public String cipherText() { + return cipherText; + } + + /** + * base64url tag. + */ + @JsonProperty("tag") + public String tag() { + return tag; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSHeader.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSHeader.java index 184346cd6832e..ed15d95ace1fb 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSHeader.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSHeader.java @@ -1,168 +1,168 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.messagesecurity; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; - -import java.io.IOException; -import java.util.Objects; - -/** - * Json Web Signature header class. - */ -class JWSHeader { - - private String alg; - private String kid; - private String at; - private long ts; - private String p; - private String typ; - - /** - * Constructor. - */ - JWSHeader() { - } - - /** - * Constructor. - * - * @param alg - * signing algorithm (RS256). - * @param kid - * signing key id. - * @param at - * authorization token. - * @param ts - * timestamp. - * @param typ - * authorization type (PoP). - * @param p - * p - */ - JWSHeader(String alg, String kid, String at, long ts, String typ, String p) { - this.alg = alg; - this.kid = kid; - this.at = at; - this.ts = ts; - this.p = p; - this.typ = typ; - } - - /** - * Compare two JwsHeader. - * - * @return true if JWSHeaders are identical. - */ - public boolean equals(JWSHeader other) { - return this.alg.equals(other.alg) && this.kid.equals(other.kid) && this.at.equals(other.at) - && this.ts == other.ts && this.p.equals(other.p) && this.typ.equals(other.typ); - } - - @Override - public boolean equals(Object object) { - if (!(object instanceof JWSHeader)) { - return false; - } - - return object == this || equals((JWSHeader) object); - } - - /** - * Hash code for objects. - * - * @return hashcode - */ - public int hashCode() { - return Objects.hash(this.alg, this.kid, this.at, this.ts, this.p, this.typ); - } - - /** - * Serialize JWSHeader to json string. - * - * @return Json string with serialized JWSHeader. - */ - public String serialize() throws JsonProcessingException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.writeValueAsString(this); - } - - /** - * Construct JWSHeader from json string. - * - * @param json - * json string. - * - * @return Constructed JWSHeader - */ - public static JWSHeader deserialize(String json) throws IOException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(json, JWSHeader.class); - } - - /** - * Construct JWSHeader from base64url string. - * - * @param base64 - * base64 url string. - * - * @return Constructed JWSHeader - */ - public static JWSHeader fromBase64String(String base64) throws IOException { - String json = MessageSecurityHelper.base64UrltoString(base64); - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(json, JWSHeader.class); - } - - /** - * signing algorithm (RS256). - */ - @JsonProperty("alg") - public String alg() { - return alg; - } - - /** - * signing key id. - */ - @JsonProperty("kid") - public String kid() { - return kid; - } - - /** - * authorization token. - */ - @JsonProperty("at") - public String at() { - return at; - } - - /** - * timestamp. - */ - @JsonProperty("ts") - public long ts() { - return ts; - } - - /** - * authorization type (PoP). - */ - @JsonProperty("typ") - public String typ() { - return typ; - } - - /** - * p . - */ - @JsonProperty("p") - public String p() { - return p; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.messagesecurity; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; + +import java.io.IOException; +import java.util.Objects; + +/** + * Json Web Signature header class. + */ +class JWSHeader { + + private String alg; + private String kid; + private String at; + private long ts; + private String p; + private String typ; + + /** + * Constructor. + */ + JWSHeader() { + } + + /** + * Constructor. + * + * @param alg + * signing algorithm (RS256). + * @param kid + * signing key id. + * @param at + * authorization token. + * @param ts + * timestamp. + * @param typ + * authorization type (PoP). + * @param p + * p + */ + JWSHeader(String alg, String kid, String at, long ts, String typ, String p) { + this.alg = alg; + this.kid = kid; + this.at = at; + this.ts = ts; + this.p = p; + this.typ = typ; + } + + /** + * Compare two JwsHeader. + * + * @return true if JWSHeaders are identical. + */ + public boolean equals(JWSHeader other) { + return this.alg.equals(other.alg) && this.kid.equals(other.kid) && this.at.equals(other.at) + && this.ts == other.ts && this.p.equals(other.p) && this.typ.equals(other.typ); + } + + @Override + public boolean equals(Object object) { + if (!(object instanceof JWSHeader)) { + return false; + } + + return object == this || equals((JWSHeader) object); + } + + /** + * Hash code for objects. + * + * @return hashcode + */ + public int hashCode() { + return Objects.hash(this.alg, this.kid, this.at, this.ts, this.p, this.typ); + } + + /** + * Serialize JWSHeader to json string. + * + * @return Json string with serialized JWSHeader. + */ + public String serialize() throws JsonProcessingException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.writeValueAsString(this); + } + + /** + * Construct JWSHeader from json string. + * + * @param json + * json string. + * + * @return Constructed JWSHeader + */ + public static JWSHeader deserialize(String json) throws IOException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.readValue(json, JWSHeader.class); + } + + /** + * Construct JWSHeader from base64url string. + * + * @param base64 + * base64 url string. + * + * @return Constructed JWSHeader + */ + public static JWSHeader fromBase64String(String base64) throws IOException { + String json = MessageSecurityHelper.base64UrltoString(base64); + ObjectMapper mapper = new ObjectMapper(); + return mapper.readValue(json, JWSHeader.class); + } + + /** + * signing algorithm (RS256). + */ + @JsonProperty("alg") + public String alg() { + return alg; + } + + /** + * signing key id. + */ + @JsonProperty("kid") + public String kid() { + return kid; + } + + /** + * authorization token. + */ + @JsonProperty("at") + public String at() { + return at; + } + + /** + * timestamp. + */ + @JsonProperty("ts") + public long ts() { + return ts; + } + + /** + * authorization type (PoP). + */ + @JsonProperty("typ") + public String typ() { + return typ; + } + + /** + * p . + */ + @JsonProperty("p") + public String p() { + return p; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSObject.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSObject.java index 648d13075991c..41fe7eb6cbdab 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSObject.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSObject.java @@ -1,147 +1,147 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.messagesecurity; - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; - -import java.io.IOException; -import java.util.Objects; - -/** - * Json Web Signature object class. - */ -class JWSObject { - private JWSHeader jwsHeader; - private String originalProtected; - private String payload; - private String signature; - - /** - * Constructor. - * - * @param JWSHeader - * JWSHeader. - * @param payload - * base64url protected payload (JWEObject). - * @param signature - * base64url signature for (protected + "." + payload) data. - */ - JWSObject(JWSHeader jwsHeader, String payload, String signature) { - this.jwsHeader = jwsHeader; - this.payload = payload; - this.signature = signature; - } - - /** - * Constructor. - * - * @param jwsHeaderB64 - * base64 json string with JWSHeader. - * @param payload - * base64url protected payload (JWEObject). - * @param signature - * base64url signature for (protected + "." + payload) data. - */ - @JsonCreator - JWSObject(@JsonProperty("protected") String jwsHeaderB64, @JsonProperty("payload") String payload, - @JsonProperty("signature") String signature) throws Exception { - this.jwsHeader = JWSHeader.fromBase64String(jwsHeaderB64); - this.originalProtected = jwsHeaderB64; - this.payload = payload; - this.signature = signature; - } - - /** - * Compare two JWSObject. - * - * @return true if JWSObjects are identical. - */ - public boolean equals(JWSObject other) { - return this.payload.equals(other.payload) && this.jwsHeader.equals(other.jwsHeader) - && this.signature.equals(other.signature); - } - - @Override - public boolean equals(Object object) { - if (!(object instanceof JWSObject)) { - return false; - } - - return object == this || equals((JWSObject) object); - } - - /** - * Hash code for objects. - * - * @return hashcode - */ - public int hashCode() { - return Objects.hash(this.payload, this.jwsHeader, this.signature); - } - - /** - * Serialize JWSObject to json string. - * - * @return Json string with serialized JWSObject. - */ - public String serialize() throws JsonProcessingException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.writeValueAsString(this); - } - - /** - * Construct JWSObject from json string. - * - * @param json - * json string. - * - * @return Constructed JWSObject - */ - public static JWSObject deserialize(String json) throws IOException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(json, JWSObject.class); - } - - /** - * Retrieve JWSHeader object. - */ - public JWSHeader jwsHeader() { - return jwsHeader; - } - - /** - * Original base64url with serialized jwsHeader (when constructed from json - * string). - */ - public String originalProtected() { - return originalProtected; - } - - /** - * base64 json string with JWSHeader. - */ - @JsonProperty("protected") - public String protectedB64() throws Exception { - return MessageSecurityHelper.stringToBase64Url(jwsHeader.serialize()); - } - - /** - * base64url protected payload (JWEObject). - */ - @JsonProperty("payload") - public String payload() { - return payload; - } - - /** - * base64url signature for (protected + "." + payload) data. - */ - @JsonProperty("signature") - public String signature() { - return signature; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.messagesecurity; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; + +import java.io.IOException; +import java.util.Objects; + +/** + * Json Web Signature object class. + */ +class JWSObject { + private JWSHeader jwsHeader; + private String originalProtected; + private String payload; + private String signature; + + /** + * Constructor. + * + * @param JWSHeader + * JWSHeader. + * @param payload + * base64url protected payload (JWEObject). + * @param signature + * base64url signature for (protected + "." + payload) data. + */ + JWSObject(JWSHeader jwsHeader, String payload, String signature) { + this.jwsHeader = jwsHeader; + this.payload = payload; + this.signature = signature; + } + + /** + * Constructor. + * + * @param jwsHeaderB64 + * base64 json string with JWSHeader. + * @param payload + * base64url protected payload (JWEObject). + * @param signature + * base64url signature for (protected + "." + payload) data. + */ + @JsonCreator + JWSObject(@JsonProperty("protected") String jwsHeaderB64, @JsonProperty("payload") String payload, + @JsonProperty("signature") String signature) throws Exception { + this.jwsHeader = JWSHeader.fromBase64String(jwsHeaderB64); + this.originalProtected = jwsHeaderB64; + this.payload = payload; + this.signature = signature; + } + + /** + * Compare two JWSObject. + * + * @return true if JWSObjects are identical. + */ + public boolean equals(JWSObject other) { + return this.payload.equals(other.payload) && this.jwsHeader.equals(other.jwsHeader) + && this.signature.equals(other.signature); + } + + @Override + public boolean equals(Object object) { + if (!(object instanceof JWSObject)) { + return false; + } + + return object == this || equals((JWSObject) object); + } + + /** + * Hash code for objects. + * + * @return hashcode + */ + public int hashCode() { + return Objects.hash(this.payload, this.jwsHeader, this.signature); + } + + /** + * Serialize JWSObject to json string. + * + * @return Json string with serialized JWSObject. + */ + public String serialize() throws JsonProcessingException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.writeValueAsString(this); + } + + /** + * Construct JWSObject from json string. + * + * @param json + * json string. + * + * @return Constructed JWSObject + */ + public static JWSObject deserialize(String json) throws IOException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.readValue(json, JWSObject.class); + } + + /** + * Retrieve JWSHeader object. + */ + public JWSHeader jwsHeader() { + return jwsHeader; + } + + /** + * Original base64url with serialized jwsHeader (when constructed from json + * string). + */ + public String originalProtected() { + return originalProtected; + } + + /** + * base64 json string with JWSHeader. + */ + @JsonProperty("protected") + public String protectedB64() throws Exception { + return MessageSecurityHelper.stringToBase64Url(jwsHeader.serialize()); + } + + /** + * base64url protected payload (JWEObject). + */ + @JsonProperty("payload") + public String payload() { + return payload; + } + + /** + * base64url signature for (protected + "." + payload) data. + */ + @JsonProperty("signature") + public String signature() { + return signature; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/MessageSecurityHelper.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/MessageSecurityHelper.java index 70479433d0c2c..d119f09f992c3 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/MessageSecurityHelper.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/MessageSecurityHelper.java @@ -1,133 +1,133 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.messagesecurity; - -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; - -import org.apache.commons.codec.binary.Base64; - -import java.nio.charset.Charset; -import java.nio.charset.StandardCharsets; -import java.security.NoSuchAlgorithmException; -import java.util.Arrays; -import java.util.UUID; - -import com.fasterxml.jackson.databind.ObjectMapper; - -import java.io.IOException; - -import java.security.KeyPair; -import java.security.KeyPairGenerator; - -/** - * Implements helper methods for message security. - */ -class MessageSecurityHelper { - /** - * Encoding for JWS and JWE header and contents specified in: - * https://tools.ietf.org/html/rfc7515 - * https://tools.ietf.org/html/rfc7516 - */ - private static final Charset MESSAGE_ENCODING = StandardCharsets.UTF_8; - - /** - * Convert base64Url string to bytes array. - * - * @param base64url - * Base64Url string. - * - * @returns Decoded bytes array. - */ - public static byte[] base64UrltoByteArray(String base64url) { - return Base64.decodeBase64(base64url.replace('-', '+').replace('_', '/')); - } - - /** - * Convert base64Url string to String. - * - * @param base64url - * Base64Url string. - * - * @returns Decoded string. - */ - public static String base64UrltoString(String base64url) { - return new String(base64UrltoByteArray(base64url), MESSAGE_ENCODING); - } - - /** - * Convert bytes array to Base64Url string. - * - * @param bytes - * bytes array - * - * @returns Encoded string. - */ - public static String bytesToBase64Url(byte[] bytes) { - String result = (new String(Base64.encodeBase64(bytes), MESSAGE_ENCODING)).replace("=", "").replace("\\", "").replace('+', '-') - .replace('/', '_'); - return result; - } - - /** - * Convert bytes array to Base64Url string. - * - * @param str - * string. - * - * @returns Encoded string. - */ - public static String stringToBase64Url(String str) { - return bytesToBase64Url(str.getBytes(MESSAGE_ENCODING)); - } - - /** - * Convert serialized JsonWebKey string to JsonWebKey object. - * - * @param jwkString - * serialized JsonWebKey. - * - * @returns JsonWebKey object. - */ - public static JsonWebKey jsonWebKeyFromString(String jwkString) throws IOException { - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(jwkString, JsonWebKey.class); - } - - /** - * Generates new JsonWebKey with random KeyID. - * - * @returns JsonWebKey object. - */ - public static JsonWebKey generateJsonWebKey() { - try { - final KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA"); - generator.initialize(2048); - KeyPair clientRsaKeyPair = generator.generateKeyPair(); - JsonWebKey result = JsonWebKey.fromRSA(clientRsaKeyPair); - result.withKid(UUID.randomUUID().toString()); - return result; - } catch (NoSuchAlgorithmException e) { - // Unexpected. Should never be thrown. - throw new RuntimeException(e); - } - } - - /** - * Converts JsonWebKey with private key to JsonWebKey with public key only. - * - * @param jwk - * JsonWebKey with private key. - * @returns JsonWebKey object with public key only. - */ - public static JsonWebKey getJwkWithPublicKeyOnly(JsonWebKey jwk) { - KeyPair publicOnly = jwk.toRSA(false); - JsonWebKey jsonkeyPublic = JsonWebKey.fromRSA(publicOnly); - jsonkeyPublic.withKid(jwk.kid()); - jsonkeyPublic.withKeyOps( - Arrays.asList(JsonWebKeyOperation.ENCRYPT, JsonWebKeyOperation.WRAP_KEY, JsonWebKeyOperation.VERIFY)); - return jsonkeyPublic; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.messagesecurity; + +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; + +import org.apache.commons.codec.binary.Base64; + +import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; +import java.security.NoSuchAlgorithmException; +import java.util.Arrays; +import java.util.UUID; + +import com.fasterxml.jackson.databind.ObjectMapper; + +import java.io.IOException; + +import java.security.KeyPair; +import java.security.KeyPairGenerator; + +/** + * Implements helper methods for message security. + */ +class MessageSecurityHelper { + /** + * Encoding for JWS and JWE header and contents specified in: + * https://tools.ietf.org/html/rfc7515 + * https://tools.ietf.org/html/rfc7516 + */ + private static final Charset MESSAGE_ENCODING = StandardCharsets.UTF_8; + + /** + * Convert base64Url string to bytes array. + * + * @param base64url + * Base64Url string. + * + * @returns Decoded bytes array. + */ + public static byte[] base64UrltoByteArray(String base64url) { + return Base64.decodeBase64(base64url.replace('-', '+').replace('_', '/')); + } + + /** + * Convert base64Url string to String. + * + * @param base64url + * Base64Url string. + * + * @returns Decoded string. + */ + public static String base64UrltoString(String base64url) { + return new String(base64UrltoByteArray(base64url), MESSAGE_ENCODING); + } + + /** + * Convert bytes array to Base64Url string. + * + * @param bytes + * bytes array + * + * @returns Encoded string. + */ + public static String bytesToBase64Url(byte[] bytes) { + String result = (new String(Base64.encodeBase64(bytes), MESSAGE_ENCODING)).replace("=", "").replace("\\", "").replace('+', '-') + .replace('/', '_'); + return result; + } + + /** + * Convert bytes array to Base64Url string. + * + * @param str + * string. + * + * @returns Encoded string. + */ + public static String stringToBase64Url(String str) { + return bytesToBase64Url(str.getBytes(MESSAGE_ENCODING)); + } + + /** + * Convert serialized JsonWebKey string to JsonWebKey object. + * + * @param jwkString + * serialized JsonWebKey. + * + * @returns JsonWebKey object. + */ + public static JsonWebKey jsonWebKeyFromString(String jwkString) throws IOException { + ObjectMapper mapper = new ObjectMapper(); + return mapper.readValue(jwkString, JsonWebKey.class); + } + + /** + * Generates new JsonWebKey with random KeyID. + * + * @returns JsonWebKey object. + */ + public static JsonWebKey generateJsonWebKey() { + try { + final KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA"); + generator.initialize(2048); + KeyPair clientRsaKeyPair = generator.generateKeyPair(); + JsonWebKey result = JsonWebKey.fromRSA(clientRsaKeyPair); + result.withKid(UUID.randomUUID().toString()); + return result; + } catch (NoSuchAlgorithmException e) { + // Unexpected. Should never be thrown. + throw new RuntimeException(e); + } + } + + /** + * Converts JsonWebKey with private key to JsonWebKey with public key only. + * + * @param jwk + * JsonWebKey with private key. + * @returns JsonWebKey object with public key only. + */ + public static JsonWebKey getJwkWithPublicKeyOnly(JsonWebKey jwk) { + KeyPair publicOnly = jwk.toRSA(false); + JsonWebKey jsonkeyPublic = JsonWebKey.fromRSA(publicOnly); + jsonkeyPublic.withKid(jwk.kid()); + jsonkeyPublic.withKeyOps( + Arrays.asList(JsonWebKeyOperation.ENCRYPT, JsonWebKeyOperation.WRAP_KEY, JsonWebKeyOperation.VERIFY)); + return jsonkeyPublic; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/package-info.java index 6a406f8475675..b458aa989543c 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/package-info.java @@ -1,8 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -/** - * This package contains the classes for KeyVaultClient. Performs cryptographic - * key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault.messagesecurity; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * This package contains the classes for KeyVaultClient. Performs cryptographic + * key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault.messagesecurity; diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Action.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Action.java index 59187e23649f6..4856f5dcec665 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Action.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Action.java @@ -1,40 +1,40 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The action that will be executed. - */ -public class Action { - /** - * The type of the action. Possible values include: 'EmailContacts', - * 'AutoRenew'. - */ - @JsonProperty(value = "action_type") - private ActionType actionType; - - /** - * Get the actionType value. - * - * @return the actionType value - */ - public ActionType actionType() { - return this.actionType; - } - - /** - * Set the actionType value. - * - * @param actionType the actionType value to set - * @return the Action object itself. - */ - public Action withActionType(ActionType actionType) { - this.actionType = actionType; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The action that will be executed. + */ +public class Action { + /** + * The type of the action. Possible values include: 'EmailContacts', + * 'AutoRenew'. + */ + @JsonProperty(value = "action_type") + private ActionType actionType; + + /** + * Get the actionType value. + * + * @return the actionType value + */ + public ActionType actionType() { + return this.actionType; + } + + /** + * Set the actionType value. + * + * @param actionType the actionType value to set + * @return the Action object itself. + */ + public Action withActionType(ActionType actionType) { + this.actionType = actionType; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/ActionType.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/ActionType.java index 6977cd229d4bc..28f5c27f31512 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/ActionType.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/ActionType.java @@ -1,49 +1,49 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Defines values for ActionType. - */ -public enum ActionType { - /** Enum value EmailContacts. */ - EMAIL_CONTACTS("EmailContacts"), - - /** Enum value AutoRenew. */ - AUTO_RENEW("AutoRenew"); - - /** The actual serialized value for a ActionType instance. */ - private String value; - - ActionType(String value) { - this.value = value; - } - - /** - * Parses a serialized value to a ActionType instance. - * - * @param value the serialized value to parse. - * @return the parsed ActionType object, or null if unable to parse. - */ - @JsonCreator - public static ActionType fromString(String value) { - ActionType[] items = ActionType.values(); - for (ActionType item : items) { - if (item.toString().equalsIgnoreCase(value)) { - return item; - } - } - return null; - } - - @JsonValue - @Override - public String toString() { - return this.value; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for ActionType. + */ +public enum ActionType { + /** Enum value EmailContacts. */ + EMAIL_CONTACTS("EmailContacts"), + + /** Enum value AutoRenew. */ + AUTO_RENEW("AutoRenew"); + + /** The actual serialized value for a ActionType instance. */ + private String value; + + ActionType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a ActionType instance. + * + * @param value the serialized value to parse. + * @return the parsed ActionType object, or null if unable to parse. + */ + @JsonCreator + public static ActionType fromString(String value) { + ActionType[] items = ActionType.values(); + for (ActionType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/AdministratorDetails.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/AdministratorDetails.java index 181a763a11d58..e7f0aeb2f2329 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/AdministratorDetails.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/AdministratorDetails.java @@ -1,117 +1,117 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Details of the organization administrator of the certificate issuer. - */ -public class AdministratorDetails { - /** - * First name. - */ - @JsonProperty(value = "first_name") - private String firstName; - - /** - * Last name. - */ - @JsonProperty(value = "last_name") - private String lastName; - - /** - * Email addresss. - */ - @JsonProperty(value = "email") - private String emailAddress; - - /** - * Phone number. - */ - @JsonProperty(value = "phone") - private String phone; - - /** - * Get the firstName value. - * - * @return the firstName value - */ - public String firstName() { - return this.firstName; - } - - /** - * Set the firstName value. - * - * @param firstName the firstName value to set - * @return the AdministratorDetails object itself. - */ - public AdministratorDetails withFirstName(String firstName) { - this.firstName = firstName; - return this; - } - - /** - * Get the lastName value. - * - * @return the lastName value - */ - public String lastName() { - return this.lastName; - } - - /** - * Set the lastName value. - * - * @param lastName the lastName value to set - * @return the AdministratorDetails object itself. - */ - public AdministratorDetails withLastName(String lastName) { - this.lastName = lastName; - return this; - } - - /** - * Get the emailAddress value. - * - * @return the emailAddress value - */ - public String emailAddress() { - return this.emailAddress; - } - - /** - * Set the emailAddress value. - * - * @param emailAddress the emailAddress value to set - * @return the AdministratorDetails object itself. - */ - public AdministratorDetails withEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - return this; - } - - /** - * Get the phone value. - * - * @return the phone value - */ - public String phone() { - return this.phone; - } - - /** - * Set the phone value. - * - * @param phone the phone value to set - * @return the AdministratorDetails object itself. - */ - public AdministratorDetails withPhone(String phone) { - this.phone = phone; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Details of the organization administrator of the certificate issuer. + */ +public class AdministratorDetails { + /** + * First name. + */ + @JsonProperty(value = "first_name") + private String firstName; + + /** + * Last name. + */ + @JsonProperty(value = "last_name") + private String lastName; + + /** + * Email addresss. + */ + @JsonProperty(value = "email") + private String emailAddress; + + /** + * Phone number. + */ + @JsonProperty(value = "phone") + private String phone; + + /** + * Get the firstName value. + * + * @return the firstName value + */ + public String firstName() { + return this.firstName; + } + + /** + * Set the firstName value. + * + * @param firstName the firstName value to set + * @return the AdministratorDetails object itself. + */ + public AdministratorDetails withFirstName(String firstName) { + this.firstName = firstName; + return this; + } + + /** + * Get the lastName value. + * + * @return the lastName value + */ + public String lastName() { + return this.lastName; + } + + /** + * Set the lastName value. + * + * @param lastName the lastName value to set + * @return the AdministratorDetails object itself. + */ + public AdministratorDetails withLastName(String lastName) { + this.lastName = lastName; + return this; + } + + /** + * Get the emailAddress value. + * + * @return the emailAddress value + */ + public String emailAddress() { + return this.emailAddress; + } + + /** + * Set the emailAddress value. + * + * @param emailAddress the emailAddress value to set + * @return the AdministratorDetails object itself. + */ + public AdministratorDetails withEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * Get the phone value. + * + * @return the phone value + */ + public String phone() { + return this.phone; + } + + /** + * Set the phone value. + * + * @param phone the phone value to set + * @return the AdministratorDetails object itself. + */ + public AdministratorDetails withPhone(String phone) { + this.phone = phone; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Attributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Attributes.java index 0a22dab55f07c..41a2bff08de78 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Attributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Attributes.java @@ -1,143 +1,143 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The object attributes managed by the KeyVault service. - */ -public class Attributes { - /** - * Determines whether the object is enabled. - */ - @JsonProperty(value = "enabled") - private Boolean enabled; - - /** - * Not before date in UTC. - */ - @JsonProperty(value = "nbf") - private Long notBefore; - - /** - * Expiry date in UTC. - */ - @JsonProperty(value = "exp") - private Long expires; - - /** - * Creation time in UTC. - */ - @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) - private Long created; - - /** - * Last updated time in UTC. - */ - @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) - private Long updated; - - /** - * Get the enabled value. - * - * @return the enabled value - */ - public Boolean enabled() { - return this.enabled; - } - - /** - * Set the enabled value. - * - * @param enabled the enabled value to set - * @return the Attributes object itself. - */ - public Attributes withEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get the notBefore value. - * - * @return the notBefore value - */ - public DateTime notBefore() { - if (this.notBefore == null) { - return null; - } - return new DateTime(this.notBefore * 1000L, DateTimeZone.UTC); - } - - /** - * Set the notBefore value. - * - * @param notBefore the notBefore value to set - * @return the Attributes object itself. - */ - public Attributes withNotBefore(DateTime notBefore) { - if (notBefore == null) { - this.notBefore = null; - } else { - this.notBefore = notBefore.toDateTime(DateTimeZone.UTC).getMillis() / 1000; - } - return this; - } - - /** - * Get the expires value. - * - * @return the expires value - */ - public DateTime expires() { - if (this.expires == null) { - return null; - } - return new DateTime(this.expires * 1000L, DateTimeZone.UTC); - } - - /** - * Set the expires value. - * - * @param expires the expires value to set - * @return the Attributes object itself. - */ - public Attributes withExpires(DateTime expires) { - if (expires == null) { - this.expires = null; - } else { - this.expires = expires.toDateTime(DateTimeZone.UTC).getMillis() / 1000; - } - return this; - } - - /** - * Get the created value. - * - * @return the created value - */ - public DateTime created() { - if (this.created == null) { - return null; - } - return new DateTime(this.created * 1000L, DateTimeZone.UTC); - } - - /** - * Get the updated value. - * - * @return the updated value - */ - public DateTime updated() { - if (this.updated == null) { - return null; - } - return new DateTime(this.updated * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The object attributes managed by the KeyVault service. + */ +public class Attributes { + /** + * Determines whether the object is enabled. + */ + @JsonProperty(value = "enabled") + private Boolean enabled; + + /** + * Not before date in UTC. + */ + @JsonProperty(value = "nbf") + private Long notBefore; + + /** + * Expiry date in UTC. + */ + @JsonProperty(value = "exp") + private Long expires; + + /** + * Creation time in UTC. + */ + @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) + private Long created; + + /** + * Last updated time in UTC. + */ + @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) + private Long updated; + + /** + * Get the enabled value. + * + * @return the enabled value + */ + public Boolean enabled() { + return this.enabled; + } + + /** + * Set the enabled value. + * + * @param enabled the enabled value to set + * @return the Attributes object itself. + */ + public Attributes withEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the notBefore value. + * + * @return the notBefore value + */ + public DateTime notBefore() { + if (this.notBefore == null) { + return null; + } + return new DateTime(this.notBefore * 1000L, DateTimeZone.UTC); + } + + /** + * Set the notBefore value. + * + * @param notBefore the notBefore value to set + * @return the Attributes object itself. + */ + public Attributes withNotBefore(DateTime notBefore) { + if (notBefore == null) { + this.notBefore = null; + } else { + this.notBefore = notBefore.toDateTime(DateTimeZone.UTC).getMillis() / 1000; + } + return this; + } + + /** + * Get the expires value. + * + * @return the expires value + */ + public DateTime expires() { + if (this.expires == null) { + return null; + } + return new DateTime(this.expires * 1000L, DateTimeZone.UTC); + } + + /** + * Set the expires value. + * + * @param expires the expires value to set + * @return the Attributes object itself. + */ + public Attributes withExpires(DateTime expires) { + if (expires == null) { + this.expires = null; + } else { + this.expires = expires.toDateTime(DateTimeZone.UTC).getMillis() / 1000; + } + return this; + } + + /** + * Get the created value. + * + * @return the created value + */ + public DateTime created() { + if (this.created == null) { + return null; + } + return new DateTime(this.created * 1000L, DateTimeZone.UTC); + } + + /** + * Get the updated value. + * + * @return the updated value + */ + public DateTime updated() { + if (this.updated == null) { + return null; + } + return new DateTime(this.updated * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupCertificateResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupCertificateResult.java index a562ea9c9def0..0af1c0d47ef8b 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupCertificateResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupCertificateResult.java @@ -1,32 +1,32 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The backup certificate result, containing the backup blob. - */ -public class BackupCertificateResult { - /** - * The backup blob containing the backed up certificate. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private Base64Url value; - - /** - * Get the value value. - * - * @return the value value - */ - public byte[] value() { - if (this.value == null) { - return null; - } - return this.value.decodedBytes(); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The backup certificate result, containing the backup blob. + */ +public class BackupCertificateResult { + /** + * The backup blob containing the backed up certificate. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private Base64Url value; + + /** + * Get the value value. + * + * @return the value value + */ + public byte[] value() { + if (this.value == null) { + return null; + } + return this.value.decodedBytes(); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupKeyResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupKeyResult.java index e648e95c9fe9e..d2c0afa7f9db2 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupKeyResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupKeyResult.java @@ -1,32 +1,32 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The backup key result, containing the backup blob. - */ -public class BackupKeyResult { - /** - * The backup blob containing the backed up key. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private Base64Url value; - - /** - * Get the value value. - * - * @return the value value - */ - public byte[] value() { - if (this.value == null) { - return null; - } - return this.value.decodedBytes(); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The backup key result, containing the backup blob. + */ +public class BackupKeyResult { + /** + * The backup blob containing the backed up key. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private Base64Url value; + + /** + * Get the value value. + * + * @return the value value + */ + public byte[] value() { + if (this.value == null) { + return null; + } + return this.value.decodedBytes(); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupSecretResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupSecretResult.java index 8e0108e1dd037..86d02cd0ff3a2 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupSecretResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupSecretResult.java @@ -1,32 +1,32 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The backup secret result, containing the backup blob. - */ -public class BackupSecretResult { - /** - * The backup blob containing the backed up secret. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private Base64Url value; - - /** - * Get the value value. - * - * @return the value value - */ - public byte[] value() { - if (this.value == null) { - return null; - } - return this.value.decodedBytes(); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The backup secret result, containing the backup blob. + */ +public class BackupSecretResult { + /** + * The backup blob containing the backed up secret. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private Base64Url value; + + /** + * Get the value value. + * + * @return the value value + */ + public byte[] value() { + if (this.value == null) { + return null; + } + return this.value.decodedBytes(); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupStorageResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupStorageResult.java index 51b27e2db089d..0551905728049 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupStorageResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/BackupStorageResult.java @@ -1,32 +1,32 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The backup storage result, containing the backup blob. - */ -public class BackupStorageResult { - /** - * The backup blob containing the backed up storage account. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private Base64Url value; - - /** - * Get the value value. - * - * @return the value value - */ - public byte[] value() { - if (this.value == null) { - return null; - } - return this.value.decodedBytes(); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The backup storage result, containing the backup blob. + */ +public class BackupStorageResult { + /** + * The backup blob containing the backed up storage account. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private Base64Url value; + + /** + * Get the value value. + * + * @return the value value + */ + public byte[] value() { + if (this.value == null) { + return null; + } + return this.value.decodedBytes(); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateAttributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateAttributes.java index 9aa46e6850964..7425a81bacc78 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateAttributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateAttributes.java @@ -1,33 +1,33 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate management attributes. - */ -public class CertificateAttributes extends Attributes { - /** - * Reflects the deletion recovery level currently in effect for - * certificates in the current vault. If it contains 'Purgeable', the - * certificate can be permanently deleted by a privileged user; otherwise, - * only the system can purge the certificate, at the end of the retention - * interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', - * 'Recoverable', 'Recoverable+ProtectedSubscription'. - */ - @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) - private DeletionRecoveryLevel recoveryLevel; - - /** - * Get the recoveryLevel value. - * - * @return the recoveryLevel value - */ - public DeletionRecoveryLevel recoveryLevel() { - return this.recoveryLevel; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate management attributes. + */ +public class CertificateAttributes extends Attributes { + /** + * Reflects the deletion recovery level currently in effect for + * certificates in the current vault. If it contains 'Purgeable', the + * certificate can be permanently deleted by a privileged user; otherwise, + * only the system can purge the certificate, at the end of the retention + * interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', + * 'Recoverable', 'Recoverable+ProtectedSubscription'. + */ + @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) + private DeletionRecoveryLevel recoveryLevel; + + /** + * Get the recoveryLevel value. + * + * @return the recoveryLevel value + */ + public DeletionRecoveryLevel recoveryLevel() { + return this.recoveryLevel; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateBundle.java index 6db6eaf616395..92e6b797ededb 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateBundle.java @@ -1,199 +1,199 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.cryptography.ByteExtensions; -import com.microsoft.rest.Base64Url; - -import java.util.Map; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A certificate bundle consists of a certificate (X509) plus its attributes. - */ -public class CertificateBundle extends com.microsoft.azure.keyvault.models.custom.CertificateBundle { - /** - * The certificate id. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * The key id. - */ - @JsonProperty(value = "kid", access = JsonProperty.Access.WRITE_ONLY) - private String kid; - - /** - * The secret id. - */ - @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) - private String sid; - - /** - * Thumbprint of the certificate. - */ - @JsonProperty(value = "x5t", access = JsonProperty.Access.WRITE_ONLY) - private Base64Url x509Thumbprint; - - /** - * The management policy. - */ - @JsonProperty(value = "policy", access = JsonProperty.Access.WRITE_ONLY) - private CertificatePolicy policy; - - /** - * CER contents of x509 certificate. - */ - @JsonProperty(value = "cer") - private byte[] cer; - - /** - * The content type of the secret. - */ - @JsonProperty(value = "contentType") - private String contentType; - - /** - * The certificate attributes. - */ - @JsonProperty(value = "attributes") - private CertificateAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the kid value. - * - * @return the kid value - */ - public String kid() { - return this.kid; - } - - /** - * Get the sid value. - * - * @return the sid value - */ - public String sid() { - return this.sid; - } - - /** - * Get the x509Thumbprint value. - * - * @return the x509Thumbprint value - */ - public byte[] x509Thumbprint() { - if (this.x509Thumbprint == null) { - return null; - } - return this.x509Thumbprint.decodedBytes(); - } - - /** - * Get the policy value. - * - * @return the policy value - */ - public CertificatePolicy policy() { - return this.policy; - } - - /** - * Get the cer value. - * - * @return A copy of the cer value, or null if it has not been set. - */ - public byte[] cer() { - return ByteExtensions.clone(this.cer); - } - - /** - * Set the cer value. - * - * @param cer the cer value to set - * @return the CertificateBundle object itself. - */ - public CertificateBundle withCer(byte[] cer) { - this.cer = ByteExtensions.clone(cer); - return this; - } - - /** - * Get the contentType value. - * - * @return the contentType value - */ - public String contentType() { - return this.contentType; - } - - /** - * Set the contentType value. - * - * @param contentType the contentType value to set - * @return the CertificateBundle object itself. - */ - public CertificateBundle withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public CertificateAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the CertificateBundle object itself. - */ - public CertificateBundle withAttributes(CertificateAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the CertificateBundle object itself. - */ - public CertificateBundle withTags(Map tags) { - this.tags = tags; - return this; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.cryptography.ByteExtensions; +import com.microsoft.rest.Base64Url; + +import java.util.Map; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A certificate bundle consists of a certificate (X509) plus its attributes. + */ +public class CertificateBundle extends com.microsoft.azure.keyvault.models.custom.CertificateBundle { + /** + * The certificate id. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * The key id. + */ + @JsonProperty(value = "kid", access = JsonProperty.Access.WRITE_ONLY) + private String kid; + + /** + * The secret id. + */ + @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) + private String sid; + + /** + * Thumbprint of the certificate. + */ + @JsonProperty(value = "x5t", access = JsonProperty.Access.WRITE_ONLY) + private Base64Url x509Thumbprint; + + /** + * The management policy. + */ + @JsonProperty(value = "policy", access = JsonProperty.Access.WRITE_ONLY) + private CertificatePolicy policy; + + /** + * CER contents of x509 certificate. + */ + @JsonProperty(value = "cer") + private byte[] cer; + + /** + * The content type of the secret. + */ + @JsonProperty(value = "contentType") + private String contentType; + + /** + * The certificate attributes. + */ + @JsonProperty(value = "attributes") + private CertificateAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the kid value. + * + * @return the kid value + */ + public String kid() { + return this.kid; + } + + /** + * Get the sid value. + * + * @return the sid value + */ + public String sid() { + return this.sid; + } + + /** + * Get the x509Thumbprint value. + * + * @return the x509Thumbprint value + */ + public byte[] x509Thumbprint() { + if (this.x509Thumbprint == null) { + return null; + } + return this.x509Thumbprint.decodedBytes(); + } + + /** + * Get the policy value. + * + * @return the policy value + */ + public CertificatePolicy policy() { + return this.policy; + } + + /** + * Get the cer value. + * + * @return A copy of the cer value, or null if it has not been set. + */ + public byte[] cer() { + return ByteExtensions.clone(this.cer); + } + + /** + * Set the cer value. + * + * @param cer the cer value to set + * @return the CertificateBundle object itself. + */ + public CertificateBundle withCer(byte[] cer) { + this.cer = ByteExtensions.clone(cer); + return this; + } + + /** + * Get the contentType value. + * + * @return the contentType value + */ + public String contentType() { + return this.contentType; + } + + /** + * Set the contentType value. + * + * @param contentType the contentType value to set + * @return the CertificateBundle object itself. + */ + public CertificateBundle withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public CertificateAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the CertificateBundle object itself. + */ + public CertificateBundle withAttributes(CertificateAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the CertificateBundle object itself. + */ + public CertificateBundle withTags(Map tags) { + this.tags = tags; + return this; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateCreateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateCreateParameters.java index 9c2e7178fb9c0..4427416bba7a1 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateCreateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateCreateParameters.java @@ -1,92 +1,92 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate create parameters. - */ -public class CertificateCreateParameters { - /** - * The management policy for the certificate. - */ - @JsonProperty(value = "policy") - private CertificatePolicy certificatePolicy; - - /** - * The attributes of the certificate (optional). - */ - @JsonProperty(value = "attributes") - private CertificateAttributes certificateAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the certificatePolicy value. - * - * @return the certificatePolicy value - */ - public CertificatePolicy certificatePolicy() { - return this.certificatePolicy; - } - - /** - * Set the certificatePolicy value. - * - * @param certificatePolicy the certificatePolicy value to set - * @return the CertificateCreateParameters object itself. - */ - public CertificateCreateParameters withCertificatePolicy(CertificatePolicy certificatePolicy) { - this.certificatePolicy = certificatePolicy; - return this; - } - - /** - * Get the certificateAttributes value. - * - * @return the certificateAttributes value - */ - public CertificateAttributes certificateAttributes() { - return this.certificateAttributes; - } - - /** - * Set the certificateAttributes value. - * - * @param certificateAttributes the certificateAttributes value to set - * @return the CertificateCreateParameters object itself. - */ - public CertificateCreateParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { - this.certificateAttributes = certificateAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the CertificateCreateParameters object itself. - */ - public CertificateCreateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate create parameters. + */ +public class CertificateCreateParameters { + /** + * The management policy for the certificate. + */ + @JsonProperty(value = "policy") + private CertificatePolicy certificatePolicy; + + /** + * The attributes of the certificate (optional). + */ + @JsonProperty(value = "attributes") + private CertificateAttributes certificateAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the certificatePolicy value. + * + * @return the certificatePolicy value + */ + public CertificatePolicy certificatePolicy() { + return this.certificatePolicy; + } + + /** + * Set the certificatePolicy value. + * + * @param certificatePolicy the certificatePolicy value to set + * @return the CertificateCreateParameters object itself. + */ + public CertificateCreateParameters withCertificatePolicy(CertificatePolicy certificatePolicy) { + this.certificatePolicy = certificatePolicy; + return this; + } + + /** + * Get the certificateAttributes value. + * + * @return the certificateAttributes value + */ + public CertificateAttributes certificateAttributes() { + return this.certificateAttributes; + } + + /** + * Set the certificateAttributes value. + * + * @param certificateAttributes the certificateAttributes value to set + * @return the CertificateCreateParameters object itself. + */ + public CertificateCreateParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { + this.certificateAttributes = certificateAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the CertificateCreateParameters object itself. + */ + public CertificateCreateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateImportParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateImportParameters.java index af6620a36a60c..d8977a518a90e 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateImportParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateImportParameters.java @@ -1,146 +1,146 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate import parameters. - */ -public class CertificateImportParameters { - /** - * Base64 encoded representation of the certificate object to import. This - * certificate needs to contain the private key. - */ - @JsonProperty(value = "value", required = true) - private String base64EncodedCertificate; - - /** - * If the private key in base64EncodedCertificate is encrypted, the - * password used for encryption. - */ - @JsonProperty(value = "pwd") - private String password; - - /** - * The management policy for the certificate. - */ - @JsonProperty(value = "policy") - private CertificatePolicy certificatePolicy; - - /** - * The attributes of the certificate (optional). - */ - @JsonProperty(value = "attributes") - private CertificateAttributes certificateAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the base64EncodedCertificate value. - * - * @return the base64EncodedCertificate value - */ - public String base64EncodedCertificate() { - return this.base64EncodedCertificate; - } - - /** - * Set the base64EncodedCertificate value. - * - * @param base64EncodedCertificate the base64EncodedCertificate value to set - * @return the CertificateImportParameters object itself. - */ - public CertificateImportParameters withBase64EncodedCertificate(String base64EncodedCertificate) { - this.base64EncodedCertificate = base64EncodedCertificate; - return this; - } - - /** - * Get the password value. - * - * @return the password value - */ - public String password() { - return this.password; - } - - /** - * Set the password value. - * - * @param password the password value to set - * @return the CertificateImportParameters object itself. - */ - public CertificateImportParameters withPassword(String password) { - this.password = password; - return this; - } - - /** - * Get the certificatePolicy value. - * - * @return the certificatePolicy value - */ - public CertificatePolicy certificatePolicy() { - return this.certificatePolicy; - } - - /** - * Set the certificatePolicy value. - * - * @param certificatePolicy the certificatePolicy value to set - * @return the CertificateImportParameters object itself. - */ - public CertificateImportParameters withCertificatePolicy(CertificatePolicy certificatePolicy) { - this.certificatePolicy = certificatePolicy; - return this; - } - - /** - * Get the certificateAttributes value. - * - * @return the certificateAttributes value - */ - public CertificateAttributes certificateAttributes() { - return this.certificateAttributes; - } - - /** - * Set the certificateAttributes value. - * - * @param certificateAttributes the certificateAttributes value to set - * @return the CertificateImportParameters object itself. - */ - public CertificateImportParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { - this.certificateAttributes = certificateAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the CertificateImportParameters object itself. - */ - public CertificateImportParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate import parameters. + */ +public class CertificateImportParameters { + /** + * Base64 encoded representation of the certificate object to import. This + * certificate needs to contain the private key. + */ + @JsonProperty(value = "value", required = true) + private String base64EncodedCertificate; + + /** + * If the private key in base64EncodedCertificate is encrypted, the + * password used for encryption. + */ + @JsonProperty(value = "pwd") + private String password; + + /** + * The management policy for the certificate. + */ + @JsonProperty(value = "policy") + private CertificatePolicy certificatePolicy; + + /** + * The attributes of the certificate (optional). + */ + @JsonProperty(value = "attributes") + private CertificateAttributes certificateAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the base64EncodedCertificate value. + * + * @return the base64EncodedCertificate value + */ + public String base64EncodedCertificate() { + return this.base64EncodedCertificate; + } + + /** + * Set the base64EncodedCertificate value. + * + * @param base64EncodedCertificate the base64EncodedCertificate value to set + * @return the CertificateImportParameters object itself. + */ + public CertificateImportParameters withBase64EncodedCertificate(String base64EncodedCertificate) { + this.base64EncodedCertificate = base64EncodedCertificate; + return this; + } + + /** + * Get the password value. + * + * @return the password value + */ + public String password() { + return this.password; + } + + /** + * Set the password value. + * + * @param password the password value to set + * @return the CertificateImportParameters object itself. + */ + public CertificateImportParameters withPassword(String password) { + this.password = password; + return this; + } + + /** + * Get the certificatePolicy value. + * + * @return the certificatePolicy value + */ + public CertificatePolicy certificatePolicy() { + return this.certificatePolicy; + } + + /** + * Set the certificatePolicy value. + * + * @param certificatePolicy the certificatePolicy value to set + * @return the CertificateImportParameters object itself. + */ + public CertificateImportParameters withCertificatePolicy(CertificatePolicy certificatePolicy) { + this.certificatePolicy = certificatePolicy; + return this; + } + + /** + * Get the certificateAttributes value. + * + * @return the certificateAttributes value + */ + public CertificateAttributes certificateAttributes() { + return this.certificateAttributes; + } + + /** + * Set the certificateAttributes value. + * + * @param certificateAttributes the certificateAttributes value to set + * @return the CertificateImportParameters object itself. + */ + public CertificateImportParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { + this.certificateAttributes = certificateAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the CertificateImportParameters object itself. + */ + public CertificateImportParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerItem.java index 41f5dcb8155ee..36e73f88bf2be 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerItem.java @@ -1,65 +1,65 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate issuer item containing certificate issuer metadata. - */ -public class CertificateIssuerItem { - /** - * Certificate Identifier. - */ - @JsonProperty(value = "id") - private String id; - - /** - * The issuer provider. - */ - @JsonProperty(value = "provider") - private String provider; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - * @return the CertificateIssuerItem object itself. - */ - public CertificateIssuerItem withId(String id) { - this.id = id; - return this; - } - - /** - * Get the provider value. - * - * @return the provider value - */ - public String provider() { - return this.provider; - } - - /** - * Set the provider value. - * - * @param provider the provider value to set - * @return the CertificateIssuerItem object itself. - */ - public CertificateIssuerItem withProvider(String provider) { - this.provider = provider; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate issuer item containing certificate issuer metadata. + */ +public class CertificateIssuerItem { + /** + * Certificate Identifier. + */ + @JsonProperty(value = "id") + private String id; + + /** + * The issuer provider. + */ + @JsonProperty(value = "provider") + private String provider; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + * @return the CertificateIssuerItem object itself. + */ + public CertificateIssuerItem withId(String id) { + this.id = id; + return this; + } + + /** + * Get the provider value. + * + * @return the provider value + */ + public String provider() { + return this.provider; + } + + /** + * Set the provider value. + * + * @param provider the provider value to set + * @return the CertificateIssuerItem object itself. + */ + public CertificateIssuerItem withProvider(String provider) { + this.provider = provider; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerSetParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerSetParameters.java index 78fe348036299..42ba486e67e71 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerSetParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerSetParameters.java @@ -1,117 +1,117 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate issuer set parameters. - */ -public class CertificateIssuerSetParameters { - /** - * The issuer provider. - */ - @JsonProperty(value = "provider", required = true) - private String provider; - - /** - * The credentials to be used for the issuer. - */ - @JsonProperty(value = "credentials") - private IssuerCredentials credentials; - - /** - * Details of the organization as provided to the issuer. - */ - @JsonProperty(value = "org_details") - private OrganizationDetails organizationDetails; - - /** - * Attributes of the issuer object. - */ - @JsonProperty(value = "attributes") - private IssuerAttributes attributes; - - /** - * Get the provider value. - * - * @return the provider value - */ - public String provider() { - return this.provider; - } - - /** - * Set the provider value. - * - * @param provider the provider value to set - * @return the CertificateIssuerSetParameters object itself. - */ - public CertificateIssuerSetParameters withProvider(String provider) { - this.provider = provider; - return this; - } - - /** - * Get the credentials value. - * - * @return the credentials value - */ - public IssuerCredentials credentials() { - return this.credentials; - } - - /** - * Set the credentials value. - * - * @param credentials the credentials value to set - * @return the CertificateIssuerSetParameters object itself. - */ - public CertificateIssuerSetParameters withCredentials(IssuerCredentials credentials) { - this.credentials = credentials; - return this; - } - - /** - * Get the organizationDetails value. - * - * @return the organizationDetails value - */ - public OrganizationDetails organizationDetails() { - return this.organizationDetails; - } - - /** - * Set the organizationDetails value. - * - * @param organizationDetails the organizationDetails value to set - * @return the CertificateIssuerSetParameters object itself. - */ - public CertificateIssuerSetParameters withOrganizationDetails(OrganizationDetails organizationDetails) { - this.organizationDetails = organizationDetails; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public IssuerAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the CertificateIssuerSetParameters object itself. - */ - public CertificateIssuerSetParameters withAttributes(IssuerAttributes attributes) { - this.attributes = attributes; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate issuer set parameters. + */ +public class CertificateIssuerSetParameters { + /** + * The issuer provider. + */ + @JsonProperty(value = "provider", required = true) + private String provider; + + /** + * The credentials to be used for the issuer. + */ + @JsonProperty(value = "credentials") + private IssuerCredentials credentials; + + /** + * Details of the organization as provided to the issuer. + */ + @JsonProperty(value = "org_details") + private OrganizationDetails organizationDetails; + + /** + * Attributes of the issuer object. + */ + @JsonProperty(value = "attributes") + private IssuerAttributes attributes; + + /** + * Get the provider value. + * + * @return the provider value + */ + public String provider() { + return this.provider; + } + + /** + * Set the provider value. + * + * @param provider the provider value to set + * @return the CertificateIssuerSetParameters object itself. + */ + public CertificateIssuerSetParameters withProvider(String provider) { + this.provider = provider; + return this; + } + + /** + * Get the credentials value. + * + * @return the credentials value + */ + public IssuerCredentials credentials() { + return this.credentials; + } + + /** + * Set the credentials value. + * + * @param credentials the credentials value to set + * @return the CertificateIssuerSetParameters object itself. + */ + public CertificateIssuerSetParameters withCredentials(IssuerCredentials credentials) { + this.credentials = credentials; + return this; + } + + /** + * Get the organizationDetails value. + * + * @return the organizationDetails value + */ + public OrganizationDetails organizationDetails() { + return this.organizationDetails; + } + + /** + * Set the organizationDetails value. + * + * @param organizationDetails the organizationDetails value to set + * @return the CertificateIssuerSetParameters object itself. + */ + public CertificateIssuerSetParameters withOrganizationDetails(OrganizationDetails organizationDetails) { + this.organizationDetails = organizationDetails; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public IssuerAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the CertificateIssuerSetParameters object itself. + */ + public CertificateIssuerSetParameters withAttributes(IssuerAttributes attributes) { + this.attributes = attributes; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerUpdateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerUpdateParameters.java index 0c85ddfcdd160..b3a183b2b7a05 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerUpdateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateIssuerUpdateParameters.java @@ -1,117 +1,117 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate issuer update parameters. - */ -public class CertificateIssuerUpdateParameters { - /** - * The issuer provider. - */ - @JsonProperty(value = "provider") - private String provider; - - /** - * The credentials to be used for the issuer. - */ - @JsonProperty(value = "credentials") - private IssuerCredentials credentials; - - /** - * Details of the organization as provided to the issuer. - */ - @JsonProperty(value = "org_details") - private OrganizationDetails organizationDetails; - - /** - * Attributes of the issuer object. - */ - @JsonProperty(value = "attributes") - private IssuerAttributes attributes; - - /** - * Get the provider value. - * - * @return the provider value - */ - public String provider() { - return this.provider; - } - - /** - * Set the provider value. - * - * @param provider the provider value to set - * @return the CertificateIssuerUpdateParameters object itself. - */ - public CertificateIssuerUpdateParameters withProvider(String provider) { - this.provider = provider; - return this; - } - - /** - * Get the credentials value. - * - * @return the credentials value - */ - public IssuerCredentials credentials() { - return this.credentials; - } - - /** - * Set the credentials value. - * - * @param credentials the credentials value to set - * @return the CertificateIssuerUpdateParameters object itself. - */ - public CertificateIssuerUpdateParameters withCredentials(IssuerCredentials credentials) { - this.credentials = credentials; - return this; - } - - /** - * Get the organizationDetails value. - * - * @return the organizationDetails value - */ - public OrganizationDetails organizationDetails() { - return this.organizationDetails; - } - - /** - * Set the organizationDetails value. - * - * @param organizationDetails the organizationDetails value to set - * @return the CertificateIssuerUpdateParameters object itself. - */ - public CertificateIssuerUpdateParameters withOrganizationDetails(OrganizationDetails organizationDetails) { - this.organizationDetails = organizationDetails; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public IssuerAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the CertificateIssuerUpdateParameters object itself. - */ - public CertificateIssuerUpdateParameters withAttributes(IssuerAttributes attributes) { - this.attributes = attributes; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate issuer update parameters. + */ +public class CertificateIssuerUpdateParameters { + /** + * The issuer provider. + */ + @JsonProperty(value = "provider") + private String provider; + + /** + * The credentials to be used for the issuer. + */ + @JsonProperty(value = "credentials") + private IssuerCredentials credentials; + + /** + * Details of the organization as provided to the issuer. + */ + @JsonProperty(value = "org_details") + private OrganizationDetails organizationDetails; + + /** + * Attributes of the issuer object. + */ + @JsonProperty(value = "attributes") + private IssuerAttributes attributes; + + /** + * Get the provider value. + * + * @return the provider value + */ + public String provider() { + return this.provider; + } + + /** + * Set the provider value. + * + * @param provider the provider value to set + * @return the CertificateIssuerUpdateParameters object itself. + */ + public CertificateIssuerUpdateParameters withProvider(String provider) { + this.provider = provider; + return this; + } + + /** + * Get the credentials value. + * + * @return the credentials value + */ + public IssuerCredentials credentials() { + return this.credentials; + } + + /** + * Set the credentials value. + * + * @param credentials the credentials value to set + * @return the CertificateIssuerUpdateParameters object itself. + */ + public CertificateIssuerUpdateParameters withCredentials(IssuerCredentials credentials) { + this.credentials = credentials; + return this; + } + + /** + * Get the organizationDetails value. + * + * @return the organizationDetails value + */ + public OrganizationDetails organizationDetails() { + return this.organizationDetails; + } + + /** + * Set the organizationDetails value. + * + * @param organizationDetails the organizationDetails value to set + * @return the CertificateIssuerUpdateParameters object itself. + */ + public CertificateIssuerUpdateParameters withOrganizationDetails(OrganizationDetails organizationDetails) { + this.organizationDetails = organizationDetails; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public IssuerAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the CertificateIssuerUpdateParameters object itself. + */ + public CertificateIssuerUpdateParameters withAttributes(IssuerAttributes attributes) { + this.attributes = attributes; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateItem.java index f2675602ed660..ea716568b7869 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateItem.java @@ -1,126 +1,126 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate item containing certificate metadata. - */ -public class CertificateItem { - /** - * Certificate identifier. - */ - @JsonProperty(value = "id") - private String id; - - /** - * The certificate management attributes. - */ - @JsonProperty(value = "attributes") - private CertificateAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Thumbprint of the certificate. - */ - @JsonProperty(value = "x5t") - private Base64Url x509Thumbprint; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - * @return the CertificateItem object itself. - */ - public CertificateItem withId(String id) { - this.id = id; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public CertificateAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the CertificateItem object itself. - */ - public CertificateItem withAttributes(CertificateAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the CertificateItem object itself. - */ - public CertificateItem withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the x509Thumbprint value. - * - * @return the x509Thumbprint value - */ - public byte[] x509Thumbprint() { - if (this.x509Thumbprint == null) { - return null; - } - return this.x509Thumbprint.decodedBytes(); - } - - /** - * Set the x509Thumbprint value. - * - * @param x509Thumbprint the x509Thumbprint value to set - * @return the CertificateItem object itself. - */ - public CertificateItem withX509Thumbprint(byte[] x509Thumbprint) { - if (x509Thumbprint == null) { - this.x509Thumbprint = null; - } else { - this.x509Thumbprint = Base64Url.encode(x509Thumbprint); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate item containing certificate metadata. + */ +public class CertificateItem { + /** + * Certificate identifier. + */ + @JsonProperty(value = "id") + private String id; + + /** + * The certificate management attributes. + */ + @JsonProperty(value = "attributes") + private CertificateAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Thumbprint of the certificate. + */ + @JsonProperty(value = "x5t") + private Base64Url x509Thumbprint; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + * @return the CertificateItem object itself. + */ + public CertificateItem withId(String id) { + this.id = id; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public CertificateAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the CertificateItem object itself. + */ + public CertificateItem withAttributes(CertificateAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the CertificateItem object itself. + */ + public CertificateItem withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the x509Thumbprint value. + * + * @return the x509Thumbprint value + */ + public byte[] x509Thumbprint() { + if (this.x509Thumbprint == null) { + return null; + } + return this.x509Thumbprint.decodedBytes(); + } + + /** + * Set the x509Thumbprint value. + * + * @param x509Thumbprint the x509Thumbprint value to set + * @return the CertificateItem object itself. + */ + public CertificateItem withX509Thumbprint(byte[] x509Thumbprint) { + if (x509Thumbprint == null) { + this.x509Thumbprint = null; + } else { + this.x509Thumbprint = Base64Url.encode(x509Thumbprint); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateMergeParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateMergeParameters.java index 2d94964846e4e..9933d456592fd 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateMergeParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateMergeParameters.java @@ -1,93 +1,93 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.List; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate merge parameters. - */ -public class CertificateMergeParameters { - /** - * The certificate or the certificate chain to merge. - */ - @JsonProperty(value = "x5c", required = true) - private List x509Certificates; - - /** - * The attributes of the certificate (optional). - */ - @JsonProperty(value = "attributes") - private CertificateAttributes certificateAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the x509Certificates value. - * - * @return the x509Certificates value - */ - public List x509Certificates() { - return this.x509Certificates; - } - - /** - * Set the x509Certificates value. - * - * @param x509Certificates the x509Certificates value to set - * @return the CertificateMergeParameters object itself. - */ - public CertificateMergeParameters withX509Certificates(List x509Certificates) { - this.x509Certificates = x509Certificates; - return this; - } - - /** - * Get the certificateAttributes value. - * - * @return the certificateAttributes value - */ - public CertificateAttributes certificateAttributes() { - return this.certificateAttributes; - } - - /** - * Set the certificateAttributes value. - * - * @param certificateAttributes the certificateAttributes value to set - * @return the CertificateMergeParameters object itself. - */ - public CertificateMergeParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { - this.certificateAttributes = certificateAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the CertificateMergeParameters object itself. - */ - public CertificateMergeParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.List; +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate merge parameters. + */ +public class CertificateMergeParameters { + /** + * The certificate or the certificate chain to merge. + */ + @JsonProperty(value = "x5c", required = true) + private List x509Certificates; + + /** + * The attributes of the certificate (optional). + */ + @JsonProperty(value = "attributes") + private CertificateAttributes certificateAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the x509Certificates value. + * + * @return the x509Certificates value + */ + public List x509Certificates() { + return this.x509Certificates; + } + + /** + * Set the x509Certificates value. + * + * @param x509Certificates the x509Certificates value to set + * @return the CertificateMergeParameters object itself. + */ + public CertificateMergeParameters withX509Certificates(List x509Certificates) { + this.x509Certificates = x509Certificates; + return this; + } + + /** + * Get the certificateAttributes value. + * + * @return the certificateAttributes value + */ + public CertificateAttributes certificateAttributes() { + return this.certificateAttributes; + } + + /** + * Set the certificateAttributes value. + * + * @param certificateAttributes the certificateAttributes value to set + * @return the CertificateMergeParameters object itself. + */ + public CertificateMergeParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { + this.certificateAttributes = certificateAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the CertificateMergeParameters object itself. + */ + public CertificateMergeParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperation.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperation.java index f1d981ff567bb..b0ca4f78446db 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperation.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperation.java @@ -1,237 +1,237 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.microsoft.azure.keyvault.cryptography.ByteExtensions; - -/** - * A certificate operation is returned in case of asynchronous requests. - */ -public class CertificateOperation extends com.microsoft.azure.keyvault.models.custom.CertificateOperation { - /** - * The certificate id. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Parameters for the issuer of the X509 component of a certificate. - */ - @JsonProperty(value = "issuer") - private IssuerParameters issuerParameters; - - /** - * The certificate signing request (CSR) that is being used in the - * certificate operation. - */ - @JsonProperty(value = "csr") - private byte[] csr; - - /** - * Indicates if cancellation was requested on the certificate operation. - */ - @JsonProperty(value = "cancellation_requested") - private Boolean cancellationRequested; - - /** - * Status of the certificate operation. - */ - @JsonProperty(value = "status") - private String status; - - /** - * The status details of the certificate operation. - */ - @JsonProperty(value = "status_details") - private String statusDetails; - - /** - * Error encountered, if any, during the certificate operation. - */ - @JsonProperty(value = "error") - private Error error; - - /** - * Location which contains the result of the certificate operation. - */ - @JsonProperty(value = "target") - private String target; - - /** - * Identifier for the certificate operation. - */ - @JsonProperty(value = "request_id") - private String requestId; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the issuerParameters value. - * - * @return the issuerParameters value - */ - public IssuerParameters issuerParameters() { - return this.issuerParameters; - } - - /** - * Set the issuerParameters value. - * - * @param issuerParameters the issuerParameters value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withIssuerParameters(IssuerParameters issuerParameters) { - this.issuerParameters = issuerParameters; - return this; - } - - /** - * Get the csr value. - * - * @return the csr value - */ - public byte[] csr() { - return ByteExtensions.clone(this.csr); - } - - /** - * Set the csr value. - * - * @param csr the csr value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withCsr(byte[] csr) { - this.csr = ByteExtensions.clone(csr); - return this; - } - - /** - * Get the cancellationRequested value. - * - * @return the cancellationRequested value - */ - public Boolean cancellationRequested() { - return this.cancellationRequested; - } - - /** - * Set the cancellationRequested value. - * - * @param cancellationRequested the cancellationRequested value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withCancellationRequested(Boolean cancellationRequested) { - this.cancellationRequested = cancellationRequested; - return this; - } - - /** - * Get the status value. - * - * @return the status value - */ - public String status() { - return this.status; - } - - /** - * Set the status value. - * - * @param status the status value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withStatus(String status) { - this.status = status; - return this; - } - - /** - * Get the statusDetails value. - * - * @return the statusDetails value - */ - public String statusDetails() { - return this.statusDetails; - } - - /** - * Set the statusDetails value. - * - * @param statusDetails the statusDetails value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withStatusDetails(String statusDetails) { - this.statusDetails = statusDetails; - return this; - } - - /** - * Get the error value. - * - * @return the error value - */ - public Error error() { - return this.error; - } - - /** - * Set the error value. - * - * @param error the error value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withError(Error error) { - this.error = error; - return this; - } - - /** - * Get the target value. - * - * @return the target value - */ - public String target() { - return this.target; - } - - /** - * Set the target value. - * - * @param target the target value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withTarget(String target) { - this.target = target; - return this; - } - - /** - * Get the requestId value. - * - * @return the requestId value - */ - public String requestId() { - return this.requestId; - } - - /** - * Set the requestId value. - * - * @param requestId the requestId value to set - * @return the CertificateOperation object itself. - */ - public CertificateOperation withRequestId(String requestId) { - this.requestId = requestId; - return this; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.keyvault.cryptography.ByteExtensions; + +/** + * A certificate operation is returned in case of asynchronous requests. + */ +public class CertificateOperation extends com.microsoft.azure.keyvault.models.custom.CertificateOperation { + /** + * The certificate id. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * Parameters for the issuer of the X509 component of a certificate. + */ + @JsonProperty(value = "issuer") + private IssuerParameters issuerParameters; + + /** + * The certificate signing request (CSR) that is being used in the + * certificate operation. + */ + @JsonProperty(value = "csr") + private byte[] csr; + + /** + * Indicates if cancellation was requested on the certificate operation. + */ + @JsonProperty(value = "cancellation_requested") + private Boolean cancellationRequested; + + /** + * Status of the certificate operation. + */ + @JsonProperty(value = "status") + private String status; + + /** + * The status details of the certificate operation. + */ + @JsonProperty(value = "status_details") + private String statusDetails; + + /** + * Error encountered, if any, during the certificate operation. + */ + @JsonProperty(value = "error") + private Error error; + + /** + * Location which contains the result of the certificate operation. + */ + @JsonProperty(value = "target") + private String target; + + /** + * Identifier for the certificate operation. + */ + @JsonProperty(value = "request_id") + private String requestId; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the issuerParameters value. + * + * @return the issuerParameters value + */ + public IssuerParameters issuerParameters() { + return this.issuerParameters; + } + + /** + * Set the issuerParameters value. + * + * @param issuerParameters the issuerParameters value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withIssuerParameters(IssuerParameters issuerParameters) { + this.issuerParameters = issuerParameters; + return this; + } + + /** + * Get the csr value. + * + * @return the csr value + */ + public byte[] csr() { + return ByteExtensions.clone(this.csr); + } + + /** + * Set the csr value. + * + * @param csr the csr value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withCsr(byte[] csr) { + this.csr = ByteExtensions.clone(csr); + return this; + } + + /** + * Get the cancellationRequested value. + * + * @return the cancellationRequested value + */ + public Boolean cancellationRequested() { + return this.cancellationRequested; + } + + /** + * Set the cancellationRequested value. + * + * @param cancellationRequested the cancellationRequested value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withCancellationRequested(Boolean cancellationRequested) { + this.cancellationRequested = cancellationRequested; + return this; + } + + /** + * Get the status value. + * + * @return the status value + */ + public String status() { + return this.status; + } + + /** + * Set the status value. + * + * @param status the status value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withStatus(String status) { + this.status = status; + return this; + } + + /** + * Get the statusDetails value. + * + * @return the statusDetails value + */ + public String statusDetails() { + return this.statusDetails; + } + + /** + * Set the statusDetails value. + * + * @param statusDetails the statusDetails value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withStatusDetails(String statusDetails) { + this.statusDetails = statusDetails; + return this; + } + + /** + * Get the error value. + * + * @return the error value + */ + public Error error() { + return this.error; + } + + /** + * Set the error value. + * + * @param error the error value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withError(Error error) { + this.error = error; + return this; + } + + /** + * Get the target value. + * + * @return the target value + */ + public String target() { + return this.target; + } + + /** + * Set the target value. + * + * @param target the target value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withTarget(String target) { + this.target = target; + return this; + } + + /** + * Get the requestId value. + * + * @return the requestId value + */ + public String requestId() { + return this.requestId; + } + + /** + * Set the requestId value. + * + * @param requestId the requestId value to set + * @return the CertificateOperation object itself. + */ + public CertificateOperation withRequestId(String requestId) { + this.requestId = requestId; + return this; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperationUpdateParameter.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperationUpdateParameter.java index 0d9a1460f0f58..b3506a1ad52d8 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperationUpdateParameter.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateOperationUpdateParameter.java @@ -1,39 +1,39 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate operation update parameters. - */ -public class CertificateOperationUpdateParameter { - /** - * Indicates if cancellation was requested on the certificate operation. - */ - @JsonProperty(value = "cancellation_requested", required = true) - private boolean cancellationRequested; - - /** - * Get the cancellationRequested value. - * - * @return the cancellationRequested value - */ - public boolean cancellationRequested() { - return this.cancellationRequested; - } - - /** - * Set the cancellationRequested value. - * - * @param cancellationRequested the cancellationRequested value to set - * @return the CertificateOperationUpdateParameter object itself. - */ - public CertificateOperationUpdateParameter withCancellationRequested(boolean cancellationRequested) { - this.cancellationRequested = cancellationRequested; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate operation update parameters. + */ +public class CertificateOperationUpdateParameter { + /** + * Indicates if cancellation was requested on the certificate operation. + */ + @JsonProperty(value = "cancellation_requested", required = true) + private boolean cancellationRequested; + + /** + * Get the cancellationRequested value. + * + * @return the cancellationRequested value + */ + public boolean cancellationRequested() { + return this.cancellationRequested; + } + + /** + * Set the cancellationRequested value. + * + * @param cancellationRequested the cancellationRequested value to set + * @return the CertificateOperationUpdateParameter object itself. + */ + public CertificateOperationUpdateParameter withCancellationRequested(boolean cancellationRequested) { + this.cancellationRequested = cancellationRequested; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificatePolicy.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificatePolicy.java index 6a989413ba477..fd60a44d19376 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificatePolicy.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificatePolicy.java @@ -1,186 +1,186 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.List; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Management policy for a certificate. - */ -public class CertificatePolicy { - /** - * The certificate id. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Properties of the key backing a certificate. - */ - @JsonProperty(value = "key_props") - private KeyProperties keyProperties; - - /** - * Properties of the secret backing a certificate. - */ - @JsonProperty(value = "secret_props") - private SecretProperties secretProperties; - - /** - * Properties of the X509 component of a certificate. - */ - @JsonProperty(value = "x509_props") - private X509CertificateProperties x509CertificateProperties; - - /** - * Actions that will be performed by Key Vault over the lifetime of a - * certificate. - */ - @JsonProperty(value = "lifetime_actions") - private List lifetimeActions; - - /** - * Parameters for the issuer of the X509 component of a certificate. - */ - @JsonProperty(value = "issuer") - private IssuerParameters issuerParameters; - - /** - * The certificate attributes. - */ - @JsonProperty(value = "attributes") - private CertificateAttributes attributes; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the keyProperties value. - * - * @return the keyProperties value - */ - public KeyProperties keyProperties() { - return this.keyProperties; - } - - /** - * Set the keyProperties value. - * - * @param keyProperties the keyProperties value to set - * @return the CertificatePolicy object itself. - */ - public CertificatePolicy withKeyProperties(KeyProperties keyProperties) { - this.keyProperties = keyProperties; - return this; - } - - /** - * Get the secretProperties value. - * - * @return the secretProperties value - */ - public SecretProperties secretProperties() { - return this.secretProperties; - } - - /** - * Set the secretProperties value. - * - * @param secretProperties the secretProperties value to set - * @return the CertificatePolicy object itself. - */ - public CertificatePolicy withSecretProperties(SecretProperties secretProperties) { - this.secretProperties = secretProperties; - return this; - } - - /** - * Get the x509CertificateProperties value. - * - * @return the x509CertificateProperties value - */ - public X509CertificateProperties x509CertificateProperties() { - return this.x509CertificateProperties; - } - - /** - * Set the x509CertificateProperties value. - * - * @param x509CertificateProperties the x509CertificateProperties value to set - * @return the CertificatePolicy object itself. - */ - public CertificatePolicy withX509CertificateProperties(X509CertificateProperties x509CertificateProperties) { - this.x509CertificateProperties = x509CertificateProperties; - return this; - } - - /** - * Get the lifetimeActions value. - * - * @return the lifetimeActions value - */ - public List lifetimeActions() { - return this.lifetimeActions; - } - - /** - * Set the lifetimeActions value. - * - * @param lifetimeActions the lifetimeActions value to set - * @return the CertificatePolicy object itself. - */ - public CertificatePolicy withLifetimeActions(List lifetimeActions) { - this.lifetimeActions = lifetimeActions; - return this; - } - - /** - * Get the issuerParameters value. - * - * @return the issuerParameters value - */ - public IssuerParameters issuerParameters() { - return this.issuerParameters; - } - - /** - * Set the issuerParameters value. - * - * @param issuerParameters the issuerParameters value to set - * @return the CertificatePolicy object itself. - */ - public CertificatePolicy withIssuerParameters(IssuerParameters issuerParameters) { - this.issuerParameters = issuerParameters; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public CertificateAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the CertificatePolicy object itself. - */ - public CertificatePolicy withAttributes(CertificateAttributes attributes) { - this.attributes = attributes; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Management policy for a certificate. + */ +public class CertificatePolicy { + /** + * The certificate id. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * Properties of the key backing a certificate. + */ + @JsonProperty(value = "key_props") + private KeyProperties keyProperties; + + /** + * Properties of the secret backing a certificate. + */ + @JsonProperty(value = "secret_props") + private SecretProperties secretProperties; + + /** + * Properties of the X509 component of a certificate. + */ + @JsonProperty(value = "x509_props") + private X509CertificateProperties x509CertificateProperties; + + /** + * Actions that will be performed by Key Vault over the lifetime of a + * certificate. + */ + @JsonProperty(value = "lifetime_actions") + private List lifetimeActions; + + /** + * Parameters for the issuer of the X509 component of a certificate. + */ + @JsonProperty(value = "issuer") + private IssuerParameters issuerParameters; + + /** + * The certificate attributes. + */ + @JsonProperty(value = "attributes") + private CertificateAttributes attributes; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the keyProperties value. + * + * @return the keyProperties value + */ + public KeyProperties keyProperties() { + return this.keyProperties; + } + + /** + * Set the keyProperties value. + * + * @param keyProperties the keyProperties value to set + * @return the CertificatePolicy object itself. + */ + public CertificatePolicy withKeyProperties(KeyProperties keyProperties) { + this.keyProperties = keyProperties; + return this; + } + + /** + * Get the secretProperties value. + * + * @return the secretProperties value + */ + public SecretProperties secretProperties() { + return this.secretProperties; + } + + /** + * Set the secretProperties value. + * + * @param secretProperties the secretProperties value to set + * @return the CertificatePolicy object itself. + */ + public CertificatePolicy withSecretProperties(SecretProperties secretProperties) { + this.secretProperties = secretProperties; + return this; + } + + /** + * Get the x509CertificateProperties value. + * + * @return the x509CertificateProperties value + */ + public X509CertificateProperties x509CertificateProperties() { + return this.x509CertificateProperties; + } + + /** + * Set the x509CertificateProperties value. + * + * @param x509CertificateProperties the x509CertificateProperties value to set + * @return the CertificatePolicy object itself. + */ + public CertificatePolicy withX509CertificateProperties(X509CertificateProperties x509CertificateProperties) { + this.x509CertificateProperties = x509CertificateProperties; + return this; + } + + /** + * Get the lifetimeActions value. + * + * @return the lifetimeActions value + */ + public List lifetimeActions() { + return this.lifetimeActions; + } + + /** + * Set the lifetimeActions value. + * + * @param lifetimeActions the lifetimeActions value to set + * @return the CertificatePolicy object itself. + */ + public CertificatePolicy withLifetimeActions(List lifetimeActions) { + this.lifetimeActions = lifetimeActions; + return this; + } + + /** + * Get the issuerParameters value. + * + * @return the issuerParameters value + */ + public IssuerParameters issuerParameters() { + return this.issuerParameters; + } + + /** + * Set the issuerParameters value. + * + * @param issuerParameters the issuerParameters value to set + * @return the CertificatePolicy object itself. + */ + public CertificatePolicy withIssuerParameters(IssuerParameters issuerParameters) { + this.issuerParameters = issuerParameters; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public CertificateAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the CertificatePolicy object itself. + */ + public CertificatePolicy withAttributes(CertificateAttributes attributes) { + this.attributes = attributes; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateRestoreParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateRestoreParameters.java index ee01edddafbec..804abb3b97db8 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateRestoreParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateRestoreParameters.java @@ -1,47 +1,47 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate restore parameters. - */ -public class CertificateRestoreParameters { - /** - * The backup blob associated with a certificate bundle. - */ - @JsonProperty(value = "value", required = true) - private Base64Url certificateBundleBackup; - - /** - * Get the certificateBundleBackup value. - * - * @return the certificateBundleBackup value - */ - public byte[] certificateBundleBackup() { - if (this.certificateBundleBackup == null) { - return null; - } - return this.certificateBundleBackup.decodedBytes(); - } - - /** - * Set the certificateBundleBackup value. - * - * @param certificateBundleBackup the certificateBundleBackup value to set - * @return the CertificateRestoreParameters object itself. - */ - public CertificateRestoreParameters withCertificateBundleBackup(byte[] certificateBundleBackup) { - if (certificateBundleBackup == null) { - this.certificateBundleBackup = null; - } else { - this.certificateBundleBackup = Base64Url.encode(certificateBundleBackup); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate restore parameters. + */ +public class CertificateRestoreParameters { + /** + * The backup blob associated with a certificate bundle. + */ + @JsonProperty(value = "value", required = true) + private Base64Url certificateBundleBackup; + + /** + * Get the certificateBundleBackup value. + * + * @return the certificateBundleBackup value + */ + public byte[] certificateBundleBackup() { + if (this.certificateBundleBackup == null) { + return null; + } + return this.certificateBundleBackup.decodedBytes(); + } + + /** + * Set the certificateBundleBackup value. + * + * @param certificateBundleBackup the certificateBundleBackup value to set + * @return the CertificateRestoreParameters object itself. + */ + public CertificateRestoreParameters withCertificateBundleBackup(byte[] certificateBundleBackup) { + if (certificateBundleBackup == null) { + this.certificateBundleBackup = null; + } else { + this.certificateBundleBackup = Base64Url.encode(certificateBundleBackup); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateUpdateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateUpdateParameters.java index fdfabc12e5c24..d69ba2eedc3b8 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateUpdateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/CertificateUpdateParameters.java @@ -1,92 +1,92 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The certificate update parameters. - */ -public class CertificateUpdateParameters { - /** - * The management policy for the certificate. - */ - @JsonProperty(value = "policy") - private CertificatePolicy certificatePolicy; - - /** - * The attributes of the certificate (optional). - */ - @JsonProperty(value = "attributes") - private CertificateAttributes certificateAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the certificatePolicy value. - * - * @return the certificatePolicy value - */ - public CertificatePolicy certificatePolicy() { - return this.certificatePolicy; - } - - /** - * Set the certificatePolicy value. - * - * @param certificatePolicy the certificatePolicy value to set - * @return the CertificateUpdateParameters object itself. - */ - public CertificateUpdateParameters withCertificatePolicy(CertificatePolicy certificatePolicy) { - this.certificatePolicy = certificatePolicy; - return this; - } - - /** - * Get the certificateAttributes value. - * - * @return the certificateAttributes value - */ - public CertificateAttributes certificateAttributes() { - return this.certificateAttributes; - } - - /** - * Set the certificateAttributes value. - * - * @param certificateAttributes the certificateAttributes value to set - * @return the CertificateUpdateParameters object itself. - */ - public CertificateUpdateParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { - this.certificateAttributes = certificateAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the CertificateUpdateParameters object itself. - */ - public CertificateUpdateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The certificate update parameters. + */ +public class CertificateUpdateParameters { + /** + * The management policy for the certificate. + */ + @JsonProperty(value = "policy") + private CertificatePolicy certificatePolicy; + + /** + * The attributes of the certificate (optional). + */ + @JsonProperty(value = "attributes") + private CertificateAttributes certificateAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the certificatePolicy value. + * + * @return the certificatePolicy value + */ + public CertificatePolicy certificatePolicy() { + return this.certificatePolicy; + } + + /** + * Set the certificatePolicy value. + * + * @param certificatePolicy the certificatePolicy value to set + * @return the CertificateUpdateParameters object itself. + */ + public CertificateUpdateParameters withCertificatePolicy(CertificatePolicy certificatePolicy) { + this.certificatePolicy = certificatePolicy; + return this; + } + + /** + * Get the certificateAttributes value. + * + * @return the certificateAttributes value + */ + public CertificateAttributes certificateAttributes() { + return this.certificateAttributes; + } + + /** + * Set the certificateAttributes value. + * + * @param certificateAttributes the certificateAttributes value to set + * @return the CertificateUpdateParameters object itself. + */ + public CertificateUpdateParameters withCertificateAttributes(CertificateAttributes certificateAttributes) { + this.certificateAttributes = certificateAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the CertificateUpdateParameters object itself. + */ + public CertificateUpdateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contact.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contact.java index 7f6a0c1df5de4..c07047fe13b6f 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contact.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contact.java @@ -1,91 +1,91 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The contact information for the vault certificates. - */ -public class Contact { - /** - * Email addresss. - */ - @JsonProperty(value = "email") - private String emailAddress; - - /** - * Name. - */ - @JsonProperty(value = "name") - private String name; - - /** - * Phone number. - */ - @JsonProperty(value = "phone") - private String phone; - - /** - * Get the emailAddress value. - * - * @return the emailAddress value - */ - public String emailAddress() { - return this.emailAddress; - } - - /** - * Set the emailAddress value. - * - * @param emailAddress the emailAddress value to set - * @return the Contact object itself. - */ - public Contact withEmailAddress(String emailAddress) { - this.emailAddress = emailAddress; - return this; - } - - /** - * Get the name value. - * - * @return the name value - */ - public String name() { - return this.name; - } - - /** - * Set the name value. - * - * @param name the name value to set - * @return the Contact object itself. - */ - public Contact withName(String name) { - this.name = name; - return this; - } - - /** - * Get the phone value. - * - * @return the phone value - */ - public String phone() { - return this.phone; - } - - /** - * Set the phone value. - * - * @param phone the phone value to set - * @return the Contact object itself. - */ - public Contact withPhone(String phone) { - this.phone = phone; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The contact information for the vault certificates. + */ +public class Contact { + /** + * Email addresss. + */ + @JsonProperty(value = "email") + private String emailAddress; + + /** + * Name. + */ + @JsonProperty(value = "name") + private String name; + + /** + * Phone number. + */ + @JsonProperty(value = "phone") + private String phone; + + /** + * Get the emailAddress value. + * + * @return the emailAddress value + */ + public String emailAddress() { + return this.emailAddress; + } + + /** + * Set the emailAddress value. + * + * @param emailAddress the emailAddress value to set + * @return the Contact object itself. + */ + public Contact withEmailAddress(String emailAddress) { + this.emailAddress = emailAddress; + return this; + } + + /** + * Get the name value. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + * @return the Contact object itself. + */ + public Contact withName(String name) { + this.name = name; + return this; + } + + /** + * Get the phone value. + * + * @return the phone value + */ + public String phone() { + return this.phone; + } + + /** + * Set the phone value. + * + * @param phone the phone value to set + * @return the Contact object itself. + */ + public Contact withPhone(String phone) { + this.phone = phone; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contacts.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contacts.java index c2af79b1f2203..555af33bd2e9a 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contacts.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Contacts.java @@ -1,55 +1,55 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.List; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The contacts for the vault certificates. - */ -public class Contacts { - /** - * Identifier for the contacts collection. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * The contact list for the vault certificates. - */ - @JsonProperty(value = "contacts") - private List contactList; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the contactList value. - * - * @return the contactList value - */ - public List contactList() { - return this.contactList; - } - - /** - * Set the contactList value. - * - * @param contactList the contactList value to set - * @return the Contacts object itself. - */ - public Contacts withContactList(List contactList) { - this.contactList = contactList; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The contacts for the vault certificates. + */ +public class Contacts { + /** + * Identifier for the contacts collection. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * The contact list for the vault certificates. + */ + @JsonProperty(value = "contacts") + private List contactList; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the contactList value. + * + * @return the contactList value + */ + public List contactList() { + return this.contactList; + } + + /** + * Set the contactList value. + * + * @param contactList the contactList value to set + * @return the Contacts object itself. + */ + public Contacts withContactList(List contactList) { + this.contactList = contactList; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateBundle.java index b534c42193faf..84b82bf276937 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateBundle.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A Deleted Certificate consisting of its previous id, attributes and its - * tags, as well as information on when it will be purged. - */ -public class DeletedCertificateBundle extends CertificateBundle { - /** - * The url of the recovery object, used to identify and recover the deleted - * certificate. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the certificate is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the certificate was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedCertificateBundle object itself. - */ - public DeletedCertificateBundle withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A Deleted Certificate consisting of its previous id, attributes and its + * tags, as well as information on when it will be purged. + */ +public class DeletedCertificateBundle extends CertificateBundle { + /** + * The url of the recovery object, used to identify and recover the deleted + * certificate. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the certificate is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the certificate was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedCertificateBundle object itself. + */ + public DeletedCertificateBundle withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateItem.java index 1f075ea04567b..0f5c8808bec4e 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedCertificateItem.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The deleted certificate item containing metadata about the deleted - * certificate. - */ -public class DeletedCertificateItem extends CertificateItem { - /** - * The url of the recovery object, used to identify and recover the deleted - * certificate. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the certificate is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the certificate was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedCertificateItem object itself. - */ - public DeletedCertificateItem withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The deleted certificate item containing metadata about the deleted + * certificate. + */ +public class DeletedCertificateItem extends CertificateItem { + /** + * The url of the recovery object, used to identify and recover the deleted + * certificate. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the certificate is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the certificate was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedCertificateItem object itself. + */ + public DeletedCertificateItem withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyBundle.java index 332b9f839976c..811fc9409a5f9 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyBundle.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A DeletedKeyBundle consisting of a WebKey plus its Attributes and deletion - * info. - */ -public class DeletedKeyBundle extends KeyBundle { - /** - * The url of the recovery object, used to identify and recover the deleted - * key. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the key is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the key was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedKeyBundle object itself. - */ - public DeletedKeyBundle withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A DeletedKeyBundle consisting of a WebKey plus its Attributes and deletion + * info. + */ +public class DeletedKeyBundle extends KeyBundle { + /** + * The url of the recovery object, used to identify and recover the deleted + * key. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the key is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the key was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedKeyBundle object itself. + */ + public DeletedKeyBundle withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyItem.java index 3cea86dd5b8d5..0c19b7294df57 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedKeyItem.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The deleted key item containing the deleted key metadata and information - * about deletion. - */ -public class DeletedKeyItem extends KeyItem { - /** - * The url of the recovery object, used to identify and recover the deleted - * key. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the key is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the key was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedKeyItem object itself. - */ - public DeletedKeyItem withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The deleted key item containing the deleted key metadata and information + * about deletion. + */ +public class DeletedKeyItem extends KeyItem { + /** + * The url of the recovery object, used to identify and recover the deleted + * key. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the key is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the key was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedKeyItem object itself. + */ + public DeletedKeyItem withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionBundle.java index a56d6edb1a952..04d97f4cebc99 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionBundle.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A deleted SAS definition bundle consisting of its previous id, attributes - * and its tags, as well as information on when it will be purged. - */ -public class DeletedSasDefinitionBundle extends SasDefinitionBundle { - /** - * The url of the recovery object, used to identify and recover the deleted - * SAS definition. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the SAS definition is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the SAS definition was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedSasDefinitionBundle object itself. - */ - public DeletedSasDefinitionBundle withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A deleted SAS definition bundle consisting of its previous id, attributes + * and its tags, as well as information on when it will be purged. + */ +public class DeletedSasDefinitionBundle extends SasDefinitionBundle { + /** + * The url of the recovery object, used to identify and recover the deleted + * SAS definition. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the SAS definition is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the SAS definition was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedSasDefinitionBundle object itself. + */ + public DeletedSasDefinitionBundle withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionItem.java index c1d1c8948b032..7e96e4c343994 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSasDefinitionItem.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The deleted SAS definition item containing metadata about the deleted SAS - * definition. - */ -public class DeletedSasDefinitionItem extends SasDefinitionItem { - /** - * The url of the recovery object, used to identify and recover the deleted - * SAS definition. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the SAS definition is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the SAS definition was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedSasDefinitionItem object itself. - */ - public DeletedSasDefinitionItem withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The deleted SAS definition item containing metadata about the deleted SAS + * definition. + */ +public class DeletedSasDefinitionItem extends SasDefinitionItem { + /** + * The url of the recovery object, used to identify and recover the deleted + * SAS definition. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the SAS definition is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the SAS definition was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedSasDefinitionItem object itself. + */ + public DeletedSasDefinitionItem withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretBundle.java index d4abda18f5153..d886554a1e61a 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretBundle.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A Deleted Secret consisting of its previous id, attributes and its tags, as - * well as information on when it will be purged. - */ -public class DeletedSecretBundle extends SecretBundle { - /** - * The url of the recovery object, used to identify and recover the deleted - * secret. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the secret is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the secret was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedSecretBundle object itself. - */ - public DeletedSecretBundle withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A Deleted Secret consisting of its previous id, attributes and its tags, as + * well as information on when it will be purged. + */ +public class DeletedSecretBundle extends SecretBundle { + /** + * The url of the recovery object, used to identify and recover the deleted + * secret. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the secret is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the secret was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedSecretBundle object itself. + */ + public DeletedSecretBundle withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretItem.java index 2042f6ee7e8f3..1f8863301336f 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedSecretItem.java @@ -1,78 +1,78 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The deleted secret item containing metadata about the deleted secret. - */ -public class DeletedSecretItem extends SecretItem { - /** - * The url of the recovery object, used to identify and recover the deleted - * secret. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the secret is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the secret was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedSecretItem object itself. - */ - public DeletedSecretItem withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The deleted secret item containing metadata about the deleted secret. + */ +public class DeletedSecretItem extends SecretItem { + /** + * The url of the recovery object, used to identify and recover the deleted + * secret. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the secret is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the secret was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedSecretItem object itself. + */ + public DeletedSecretItem withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageAccountItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageAccountItem.java index 925e875d5db2b..b1d415c0ada77 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageAccountItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageAccountItem.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The deleted storage account item containing metadata about the deleted - * storage account. - */ -public class DeletedStorageAccountItem extends StorageAccountItem { - /** - * The url of the recovery object, used to identify and recover the deleted - * storage account. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the storage account is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the storage account was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedStorageAccountItem object itself. - */ - public DeletedStorageAccountItem withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The deleted storage account item containing metadata about the deleted + * storage account. + */ +public class DeletedStorageAccountItem extends StorageAccountItem { + /** + * The url of the recovery object, used to identify and recover the deleted + * storage account. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the storage account is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the storage account was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedStorageAccountItem object itself. + */ + public DeletedStorageAccountItem withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageBundle.java index 459c0b5e26601..cab234b7eda68 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletedStorageBundle.java @@ -1,79 +1,79 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A deleted storage account bundle consisting of its previous id, attributes - * and its tags, as well as information on when it will be purged. - */ -public class DeletedStorageBundle extends StorageBundle { - /** - * The url of the recovery object, used to identify and recover the deleted - * storage account. - */ - @JsonProperty(value = "recoveryId") - private String recoveryId; - - /** - * The time when the storage account is scheduled to be purged, in UTC. - */ - @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) - private Long scheduledPurgeDate; - - /** - * The time when the storage account was deleted, in UTC. - */ - @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) - private Long deletedDate; - - /** - * Get the recoveryId value. - * - * @return the recoveryId value - */ - public String recoveryId() { - return this.recoveryId; - } - - /** - * Set the recoveryId value. - * - * @param recoveryId the recoveryId value to set - * @return the DeletedStorageBundle object itself. - */ - public DeletedStorageBundle withRecoveryId(String recoveryId) { - this.recoveryId = recoveryId; - return this; - } - - /** - * Get the scheduledPurgeDate value. - * - * @return the scheduledPurgeDate value - */ - public DateTime scheduledPurgeDate() { - if (this.scheduledPurgeDate == null) { - return null; - } - return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); - } - - /** - * Get the deletedDate value. - * - * @return the deletedDate value - */ - public DateTime deletedDate() { - if (this.deletedDate == null) { - return null; - } - return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A deleted storage account bundle consisting of its previous id, attributes + * and its tags, as well as information on when it will be purged. + */ +public class DeletedStorageBundle extends StorageBundle { + /** + * The url of the recovery object, used to identify and recover the deleted + * storage account. + */ + @JsonProperty(value = "recoveryId") + private String recoveryId; + + /** + * The time when the storage account is scheduled to be purged, in UTC. + */ + @JsonProperty(value = "scheduledPurgeDate", access = JsonProperty.Access.WRITE_ONLY) + private Long scheduledPurgeDate; + + /** + * The time when the storage account was deleted, in UTC. + */ + @JsonProperty(value = "deletedDate", access = JsonProperty.Access.WRITE_ONLY) + private Long deletedDate; + + /** + * Get the recoveryId value. + * + * @return the recoveryId value + */ + public String recoveryId() { + return this.recoveryId; + } + + /** + * Set the recoveryId value. + * + * @param recoveryId the recoveryId value to set + * @return the DeletedStorageBundle object itself. + */ + public DeletedStorageBundle withRecoveryId(String recoveryId) { + this.recoveryId = recoveryId; + return this; + } + + /** + * Get the scheduledPurgeDate value. + * + * @return the scheduledPurgeDate value + */ + public DateTime scheduledPurgeDate() { + if (this.scheduledPurgeDate == null) { + return null; + } + return new DateTime(this.scheduledPurgeDate * 1000L, DateTimeZone.UTC); + } + + /** + * Get the deletedDate value. + * + * @return the deletedDate value + */ + public DateTime deletedDate() { + if (this.deletedDate == null) { + return null; + } + return new DateTime(this.deletedDate * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletionRecoveryLevel.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletionRecoveryLevel.java index 62efc61ecdefc..b8ffa4598f532 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletionRecoveryLevel.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/DeletionRecoveryLevel.java @@ -1,61 +1,61 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Defines values for DeletionRecoveryLevel. - */ -public final class DeletionRecoveryLevel { - /** Static value Purgeable for DeletionRecoveryLevel. */ - public static final DeletionRecoveryLevel PURGEABLE = new DeletionRecoveryLevel("Purgeable"); - - /** Static value Recoverable+Purgeable for DeletionRecoveryLevel. */ - public static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE = new DeletionRecoveryLevel("Recoverable+Purgeable"); - - /** Static value Recoverable for DeletionRecoveryLevel. */ - public static final DeletionRecoveryLevel RECOVERABLE = new DeletionRecoveryLevel("Recoverable"); - - /** Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel. */ - public static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION = new DeletionRecoveryLevel("Recoverable+ProtectedSubscription"); - - private String value; - - /** - * Creates a custom value for DeletionRecoveryLevel. - * @param value the custom value - */ - public DeletionRecoveryLevel(String value) { - this.value = value; - } - - @JsonValue - @Override - public String toString() { - return value; - } - - @Override - public int hashCode() { - return value.hashCode(); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof DeletionRecoveryLevel)) { - return false; - } - if (obj == this) { - return true; - } - DeletionRecoveryLevel rhs = (DeletionRecoveryLevel) obj; - if (value == null) { - return rhs.value == null; - } else { - return value.equals(rhs.value); - } - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for DeletionRecoveryLevel. + */ +public final class DeletionRecoveryLevel { + /** Static value Purgeable for DeletionRecoveryLevel. */ + public static final DeletionRecoveryLevel PURGEABLE = new DeletionRecoveryLevel("Purgeable"); + + /** Static value Recoverable+Purgeable for DeletionRecoveryLevel. */ + public static final DeletionRecoveryLevel RECOVERABLE_PURGEABLE = new DeletionRecoveryLevel("Recoverable+Purgeable"); + + /** Static value Recoverable for DeletionRecoveryLevel. */ + public static final DeletionRecoveryLevel RECOVERABLE = new DeletionRecoveryLevel("Recoverable"); + + /** Static value Recoverable+ProtectedSubscription for DeletionRecoveryLevel. */ + public static final DeletionRecoveryLevel RECOVERABLE_PROTECTED_SUBSCRIPTION = new DeletionRecoveryLevel("Recoverable+ProtectedSubscription"); + + private String value; + + /** + * Creates a custom value for DeletionRecoveryLevel. + * @param value the custom value + */ + public DeletionRecoveryLevel(String value) { + this.value = value; + } + + @JsonValue + @Override + public String toString() { + return value; + } + + @Override + public int hashCode() { + return value.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof DeletionRecoveryLevel)) { + return false; + } + if (obj == this) { + return true; + } + DeletionRecoveryLevel rhs = (DeletionRecoveryLevel) obj; + if (value == null) { + return rhs.value == null; + } else { + return value.equals(rhs.value); + } + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Error.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Error.java index a0033d11ca96d..17da47f8096dc 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Error.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Error.java @@ -1,58 +1,58 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key vault server error. - */ -public class Error { - /** - * The error code. - */ - @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) - private String code; - - /** - * The error message. - */ - @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) - private String message; - - /** - * The innerError property. - */ - @JsonProperty(value = "innererror", access = JsonProperty.Access.WRITE_ONLY) - private Error innerError; - - /** - * Get the code value. - * - * @return the code value - */ - public String code() { - return this.code; - } - - /** - * Get the message value. - * - * @return the message value - */ - public String message() { - return this.message; - } - - /** - * Get the innerError value. - * - * @return the innerError value - */ - public Error innerError() { - return this.innerError; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key vault server error. + */ +public class Error { + /** + * The error code. + */ + @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) + private String code; + + /** + * The error message. + */ + @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) + private String message; + + /** + * The innerError property. + */ + @JsonProperty(value = "innererror", access = JsonProperty.Access.WRITE_ONLY) + private Error innerError; + + /** + * Get the code value. + * + * @return the code value + */ + public String code() { + return this.code; + } + + /** + * Get the message value. + * + * @return the message value + */ + public String message() { + return this.message; + } + + /** + * Get the innerError value. + * + * @return the innerError value + */ + public Error innerError() { + return this.innerError; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerAttributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerAttributes.java index 99e30bf48dcfa..d6823168a20d1 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerAttributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerAttributes.java @@ -1,77 +1,77 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The attributes of an issuer managed by the Key Vault service. - */ -public class IssuerAttributes { - /** - * Determines whether the issuer is enabled. - */ - @JsonProperty(value = "enabled") - private Boolean enabled; - - /** - * Creation time in UTC. - */ - @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) - private Long created; - - /** - * Last updated time in UTC. - */ - @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) - private Long updated; - - /** - * Get the enabled value. - * - * @return the enabled value - */ - public Boolean enabled() { - return this.enabled; - } - - /** - * Set the enabled value. - * - * @param enabled the enabled value to set - * @return the IssuerAttributes object itself. - */ - public IssuerAttributes withEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get the created value. - * - * @return the created value - */ - public DateTime created() { - if (this.created == null) { - return null; - } - return new DateTime(this.created * 1000L, DateTimeZone.UTC); - } - - /** - * Get the updated value. - * - * @return the updated value - */ - public DateTime updated() { - if (this.updated == null) { - return null; - } - return new DateTime(this.updated * 1000L, DateTimeZone.UTC); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The attributes of an issuer managed by the Key Vault service. + */ +public class IssuerAttributes { + /** + * Determines whether the issuer is enabled. + */ + @JsonProperty(value = "enabled") + private Boolean enabled; + + /** + * Creation time in UTC. + */ + @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) + private Long created; + + /** + * Last updated time in UTC. + */ + @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) + private Long updated; + + /** + * Get the enabled value. + * + * @return the enabled value + */ + public Boolean enabled() { + return this.enabled; + } + + /** + * Set the enabled value. + * + * @param enabled the enabled value to set + * @return the IssuerAttributes object itself. + */ + public IssuerAttributes withEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the created value. + * + * @return the created value + */ + public DateTime created() { + if (this.created == null) { + return null; + } + return new DateTime(this.created * 1000L, DateTimeZone.UTC); + } + + /** + * Get the updated value. + * + * @return the updated value + */ + public DateTime updated() { + if (this.updated == null) { + return null; + } + return new DateTime(this.updated * 1000L, DateTimeZone.UTC); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerBundle.java index 993245bcde8a4..a9799bfec32ca 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerBundle.java @@ -1,132 +1,132 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The issuer for Key Vault certificate. - */ -public class IssuerBundle extends com.microsoft.azure.keyvault.models.custom.IssuerBundle { - /** - * Identifier for the issuer object. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * The issuer provider. - */ - @JsonProperty(value = "provider") - private String provider; - - /** - * The credentials to be used for the issuer. - */ - @JsonProperty(value = "credentials") - private IssuerCredentials credentials; - - /** - * Details of the organization as provided to the issuer. - */ - @JsonProperty(value = "org_details") - private OrganizationDetails organizationDetails; - - /** - * Attributes of the issuer object. - */ - @JsonProperty(value = "attributes") - private IssuerAttributes attributes; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the provider value. - * - * @return the provider value - */ - public String provider() { - return this.provider; - } - - /** - * Set the provider value. - * - * @param provider the provider value to set - * @return the IssuerBundle object itself. - */ - public IssuerBundle withProvider(String provider) { - this.provider = provider; - return this; - } - - /** - * Get the credentials value. - * - * @return the credentials value - */ - public IssuerCredentials credentials() { - return this.credentials; - } - - /** - * Set the credentials value. - * - * @param credentials the credentials value to set - * @return the IssuerBundle object itself. - */ - public IssuerBundle withCredentials(IssuerCredentials credentials) { - this.credentials = credentials; - return this; - } - - /** - * Get the organizationDetails value. - * - * @return the organizationDetails value - */ - public OrganizationDetails organizationDetails() { - return this.organizationDetails; - } - - /** - * Set the organizationDetails value. - * - * @param organizationDetails the organizationDetails value to set - * @return the IssuerBundle object itself. - */ - public IssuerBundle withOrganizationDetails(OrganizationDetails organizationDetails) { - this.organizationDetails = organizationDetails; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public IssuerAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the IssuerBundle object itself. - */ - public IssuerBundle withAttributes(IssuerAttributes attributes) { - this.attributes = attributes; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The issuer for Key Vault certificate. + */ +public class IssuerBundle extends com.microsoft.azure.keyvault.models.custom.IssuerBundle { + /** + * Identifier for the issuer object. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * The issuer provider. + */ + @JsonProperty(value = "provider") + private String provider; + + /** + * The credentials to be used for the issuer. + */ + @JsonProperty(value = "credentials") + private IssuerCredentials credentials; + + /** + * Details of the organization as provided to the issuer. + */ + @JsonProperty(value = "org_details") + private OrganizationDetails organizationDetails; + + /** + * Attributes of the issuer object. + */ + @JsonProperty(value = "attributes") + private IssuerAttributes attributes; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the provider value. + * + * @return the provider value + */ + public String provider() { + return this.provider; + } + + /** + * Set the provider value. + * + * @param provider the provider value to set + * @return the IssuerBundle object itself. + */ + public IssuerBundle withProvider(String provider) { + this.provider = provider; + return this; + } + + /** + * Get the credentials value. + * + * @return the credentials value + */ + public IssuerCredentials credentials() { + return this.credentials; + } + + /** + * Set the credentials value. + * + * @param credentials the credentials value to set + * @return the IssuerBundle object itself. + */ + public IssuerBundle withCredentials(IssuerCredentials credentials) { + this.credentials = credentials; + return this; + } + + /** + * Get the organizationDetails value. + * + * @return the organizationDetails value + */ + public OrganizationDetails organizationDetails() { + return this.organizationDetails; + } + + /** + * Set the organizationDetails value. + * + * @param organizationDetails the organizationDetails value to set + * @return the IssuerBundle object itself. + */ + public IssuerBundle withOrganizationDetails(OrganizationDetails organizationDetails) { + this.organizationDetails = organizationDetails; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public IssuerAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the IssuerBundle object itself. + */ + public IssuerBundle withAttributes(IssuerAttributes attributes) { + this.attributes = attributes; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerCredentials.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerCredentials.java index f2b753720e07f..cc70b516accf1 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerCredentials.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerCredentials.java @@ -1,65 +1,65 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The credentials to be used for the certificate issuer. - */ -public class IssuerCredentials { - /** - * The user name/account name/account id. - */ - @JsonProperty(value = "account_id") - private String accountId; - - /** - * The password/secret/account key. - */ - @JsonProperty(value = "pwd") - private String password; - - /** - * Get the accountId value. - * - * @return the accountId value - */ - public String accountId() { - return this.accountId; - } - - /** - * Set the accountId value. - * - * @param accountId the accountId value to set - * @return the IssuerCredentials object itself. - */ - public IssuerCredentials withAccountId(String accountId) { - this.accountId = accountId; - return this; - } - - /** - * Get the password value. - * - * @return the password value - */ - public String password() { - return this.password; - } - - /** - * Set the password value. - * - * @param password the password value to set - * @return the IssuerCredentials object itself. - */ - public IssuerCredentials withPassword(String password) { - this.password = password; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The credentials to be used for the certificate issuer. + */ +public class IssuerCredentials { + /** + * The user name/account name/account id. + */ + @JsonProperty(value = "account_id") + private String accountId; + + /** + * The password/secret/account key. + */ + @JsonProperty(value = "pwd") + private String password; + + /** + * Get the accountId value. + * + * @return the accountId value + */ + public String accountId() { + return this.accountId; + } + + /** + * Set the accountId value. + * + * @param accountId the accountId value to set + * @return the IssuerCredentials object itself. + */ + public IssuerCredentials withAccountId(String accountId) { + this.accountId = accountId; + return this; + } + + /** + * Get the password value. + * + * @return the password value + */ + public String password() { + return this.password; + } + + /** + * Set the password value. + * + * @param password the password value to set + * @return the IssuerCredentials object itself. + */ + public IssuerCredentials withPassword(String password) { + this.password = password; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerParameters.java index 2fe30e974ec12..138d7b86b1011 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/IssuerParameters.java @@ -1,93 +1,93 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Parameters for the issuer of the X509 component of a certificate. - */ -public class IssuerParameters { - /** - * Name of the referenced issuer object or reserved names; for example, - * 'Self' or 'Unknown'. - */ - @JsonProperty(value = "name") - private String name; - - /** - * Type of certificate to be requested from the issuer provider. - */ - @JsonProperty(value = "cty") - private String certificateType; - - /** - * Indicates if the certificates generated under this policy should be - * published to certificate transparency logs. - */ - @JsonProperty(value = "cert_transparency") - private Boolean certificateTransparency; - - /** - * Get the name value. - * - * @return the name value - */ - public String name() { - return this.name; - } - - /** - * Set the name value. - * - * @param name the name value to set - * @return the IssuerParameters object itself. - */ - public IssuerParameters withName(String name) { - this.name = name; - return this; - } - - /** - * Get the certificateType value. - * - * @return the certificateType value - */ - public String certificateType() { - return this.certificateType; - } - - /** - * Set the certificateType value. - * - * @param certificateType the certificateType value to set - * @return the IssuerParameters object itself. - */ - public IssuerParameters withCertificateType(String certificateType) { - this.certificateType = certificateType; - return this; - } - - /** - * Get the certificateTransparency value. - * - * @return the certificateTransparency value - */ - public Boolean certificateTransparency() { - return this.certificateTransparency; - } - - /** - * Set the certificateTransparency value. - * - * @param certificateTransparency the certificateTransparency value to set - * @return the IssuerParameters object itself. - */ - public IssuerParameters withCertificateTransparency(Boolean certificateTransparency) { - this.certificateTransparency = certificateTransparency; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Parameters for the issuer of the X509 component of a certificate. + */ +public class IssuerParameters { + /** + * Name of the referenced issuer object or reserved names; for example, + * 'Self' or 'Unknown'. + */ + @JsonProperty(value = "name") + private String name; + + /** + * Type of certificate to be requested from the issuer provider. + */ + @JsonProperty(value = "cty") + private String certificateType; + + /** + * Indicates if the certificates generated under this policy should be + * published to certificate transparency logs. + */ + @JsonProperty(value = "cert_transparency") + private Boolean certificateTransparency; + + /** + * Get the name value. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + * @return the IssuerParameters object itself. + */ + public IssuerParameters withName(String name) { + this.name = name; + return this; + } + + /** + * Get the certificateType value. + * + * @return the certificateType value + */ + public String certificateType() { + return this.certificateType; + } + + /** + * Set the certificateType value. + * + * @param certificateType the certificateType value to set + * @return the IssuerParameters object itself. + */ + public IssuerParameters withCertificateType(String certificateType) { + this.certificateType = certificateType; + return this; + } + + /** + * Get the certificateTransparency value. + * + * @return the certificateTransparency value + */ + public Boolean certificateTransparency() { + return this.certificateTransparency; + } + + /** + * Set the certificateTransparency value. + * + * @param certificateTransparency the certificateTransparency value to set + * @return the IssuerParameters object itself. + */ + public IssuerParameters withCertificateTransparency(Boolean certificateTransparency) { + this.certificateTransparency = certificateTransparency; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/JsonWebKeyCurveName.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/JsonWebKeyCurveName.java index 809d1d35c97fc..5eb7264fa0043 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/JsonWebKeyCurveName.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/JsonWebKeyCurveName.java @@ -1,61 +1,61 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Defines values for JsonWebKeyCurveName. - */ -public final class JsonWebKeyCurveName { - /** Static value P-256 for JsonWebKeyCurveName. */ - public static final JsonWebKeyCurveName P_256 = new JsonWebKeyCurveName("P-256"); - - /** Static value P-384 for JsonWebKeyCurveName. */ - public static final JsonWebKeyCurveName P_384 = new JsonWebKeyCurveName("P-384"); - - /** Static value P-521 for JsonWebKeyCurveName. */ - public static final JsonWebKeyCurveName P_521 = new JsonWebKeyCurveName("P-521"); - - /** Static value P-256K for JsonWebKeyCurveName. */ - public static final JsonWebKeyCurveName P_256K = new JsonWebKeyCurveName("P-256K"); - - private String value; - - /** - * Creates a custom value for JsonWebKeyCurveName. - * @param value the custom value - */ - public JsonWebKeyCurveName(String value) { - this.value = value; - } - - @JsonValue - @Override - public String toString() { - return value; - } - - @Override - public int hashCode() { - return value.hashCode(); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof JsonWebKeyCurveName)) { - return false; - } - if (obj == this) { - return true; - } - JsonWebKeyCurveName rhs = (JsonWebKeyCurveName) obj; - if (value == null) { - return rhs.value == null; - } else { - return value.equals(rhs.value); - } - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for JsonWebKeyCurveName. + */ +public final class JsonWebKeyCurveName { + /** Static value P-256 for JsonWebKeyCurveName. */ + public static final JsonWebKeyCurveName P_256 = new JsonWebKeyCurveName("P-256"); + + /** Static value P-384 for JsonWebKeyCurveName. */ + public static final JsonWebKeyCurveName P_384 = new JsonWebKeyCurveName("P-384"); + + /** Static value P-521 for JsonWebKeyCurveName. */ + public static final JsonWebKeyCurveName P_521 = new JsonWebKeyCurveName("P-521"); + + /** Static value P-256K for JsonWebKeyCurveName. */ + public static final JsonWebKeyCurveName P_256K = new JsonWebKeyCurveName("P-256K"); + + private String value; + + /** + * Creates a custom value for JsonWebKeyCurveName. + * @param value the custom value + */ + public JsonWebKeyCurveName(String value) { + this.value = value; + } + + @JsonValue + @Override + public String toString() { + return value; + } + + @Override + public int hashCode() { + return value.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof JsonWebKeyCurveName)) { + return false; + } + if (obj == this) { + return true; + } + JsonWebKeyCurveName rhs = (JsonWebKeyCurveName) obj; + if (value == null) { + return rhs.value == null; + } else { + return value.equals(rhs.value); + } + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyAttributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyAttributes.java index 4ca155b403296..999d4bbed0237 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyAttributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyAttributes.java @@ -1,33 +1,33 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The attributes of a key managed by the key vault service. - */ -public class KeyAttributes extends Attributes { - /** - * Reflects the deletion recovery level currently in effect for keys in the - * current vault. If it contains 'Purgeable' the key can be permanently - * deleted by a privileged user; otherwise, only the system can purge the - * key, at the end of the retention interval. Possible values include: - * 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', - * 'Recoverable+ProtectedSubscription'. - */ - @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) - private DeletionRecoveryLevel recoveryLevel; - - /** - * Get the recoveryLevel value. - * - * @return the recoveryLevel value - */ - public DeletionRecoveryLevel recoveryLevel() { - return this.recoveryLevel; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The attributes of a key managed by the key vault service. + */ +public class KeyAttributes extends Attributes { + /** + * Reflects the deletion recovery level currently in effect for keys in the + * current vault. If it contains 'Purgeable' the key can be permanently + * deleted by a privileged user; otherwise, only the system can purge the + * key, at the end of the retention interval. Possible values include: + * 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', + * 'Recoverable+ProtectedSubscription'. + */ + @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) + private DeletionRecoveryLevel recoveryLevel; + + /** + * Get the recoveryLevel value. + * + * @return the recoveryLevel value + */ + public DeletionRecoveryLevel recoveryLevel() { + return this.recoveryLevel; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyBundle.java index e76c9119f59e1..834cf898dabbe 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyBundle.java @@ -1,109 +1,109 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A KeyBundle consisting of a WebKey plus its attributes. - */ -public class KeyBundle extends com.microsoft.azure.keyvault.models.custom.KeyBundle { - /** - * The Json web key. - */ - @JsonProperty(value = "key") - private JsonWebKey key; - - /** - * The key management attributes. - */ - @JsonProperty(value = "attributes") - private KeyAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * True if the key's lifetime is managed by key vault. If this is a key - * backing a certificate, then managed will be true. - */ - @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) - private Boolean managed; - - /** - * Get the key value. - * - * @return the key value - */ - public JsonWebKey key() { - return this.key; - } - - /** - * Set the key value. - * - * @param key the key value to set - * @return the KeyBundle object itself. - */ - public KeyBundle withKey(JsonWebKey key) { - this.key = key; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public KeyAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the KeyBundle object itself. - */ - public KeyBundle withAttributes(KeyAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the KeyBundle object itself. - */ - public KeyBundle withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the managed value. - * - * @return the managed value - */ - public Boolean managed() { - return this.managed; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A KeyBundle consisting of a WebKey plus its attributes. + */ +public class KeyBundle extends com.microsoft.azure.keyvault.models.custom.KeyBundle { + /** + * The Json web key. + */ + @JsonProperty(value = "key") + private JsonWebKey key; + + /** + * The key management attributes. + */ + @JsonProperty(value = "attributes") + private KeyAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * True if the key's lifetime is managed by key vault. If this is a key + * backing a certificate, then managed will be true. + */ + @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) + private Boolean managed; + + /** + * Get the key value. + * + * @return the key value + */ + public JsonWebKey key() { + return this.key; + } + + /** + * Set the key value. + * + * @param key the key value to set + * @return the KeyBundle object itself. + */ + public KeyBundle withKey(JsonWebKey key) { + this.key = key; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public KeyAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the KeyBundle object itself. + */ + public KeyBundle withAttributes(KeyAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the KeyBundle object itself. + */ + public KeyBundle withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the managed value. + * + * @return the managed value + */ + public Boolean managed() { + return this.managed; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyCreateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyCreateParameters.java index 49b83775d06c9..ee84323f99ebf 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyCreateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyCreateParameters.java @@ -1,175 +1,175 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import java.util.List; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key create parameters. - */ -public class KeyCreateParameters { - /** - * The type of key to create. For valid values, see JsonWebKeyType. - * Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'. - */ - @JsonProperty(value = "kty", required = true) - private JsonWebKeyType kty; - - /** - * The key size in bits. For example: 2048, 3072, or 4096 for RSA. - */ - @JsonProperty(value = "key_size") - private Integer keySize; - - /** - * The keyOps property. - */ - @JsonProperty(value = "key_ops") - private List keyOps; - - /** - * The keyAttributes property. - */ - @JsonProperty(value = "attributes") - private KeyAttributes keyAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible - * values include: 'P-256', 'P-384', 'P-521', 'P-256K'. - */ - @JsonProperty(value = "crv") - private JsonWebKeyCurveName curve; - - /** - * Get the kty value. - * - * @return the kty value - */ - public JsonWebKeyType kty() { - return this.kty; - } - - /** - * Set the kty value. - * - * @param kty the kty value to set - * @return the KeyCreateParameters object itself. - */ - public KeyCreateParameters withKty(JsonWebKeyType kty) { - this.kty = kty; - return this; - } - - /** - * Get the keySize value. - * - * @return the keySize value - */ - public Integer keySize() { - return this.keySize; - } - - /** - * Set the keySize value. - * - * @param keySize the keySize value to set - * @return the KeyCreateParameters object itself. - */ - public KeyCreateParameters withKeySize(Integer keySize) { - this.keySize = keySize; - return this; - } - - /** - * Get the keyOps value. - * - * @return the keyOps value - */ - public List keyOps() { - return this.keyOps; - } - - /** - * Set the keyOps value. - * - * @param keyOps the keyOps value to set - * @return the KeyCreateParameters object itself. - */ - public KeyCreateParameters withKeyOps(List keyOps) { - this.keyOps = keyOps; - return this; - } - - /** - * Get the keyAttributes value. - * - * @return the keyAttributes value - */ - public KeyAttributes keyAttributes() { - return this.keyAttributes; - } - - /** - * Set the keyAttributes value. - * - * @param keyAttributes the keyAttributes value to set - * @return the KeyCreateParameters object itself. - */ - public KeyCreateParameters withKeyAttributes(KeyAttributes keyAttributes) { - this.keyAttributes = keyAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the KeyCreateParameters object itself. - */ - public KeyCreateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the curve value. - * - * @return the curve value - */ - public JsonWebKeyCurveName curve() { - return this.curve; - } - - /** - * Set the curve value. - * - * @param curve the curve value to set - * @return the KeyCreateParameters object itself. - */ - public KeyCreateParameters withCurve(JsonWebKeyCurveName curve) { - this.curve = curve; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import java.util.List; +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key create parameters. + */ +public class KeyCreateParameters { + /** + * The type of key to create. For valid values, see JsonWebKeyType. + * Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'. + */ + @JsonProperty(value = "kty", required = true) + private JsonWebKeyType kty; + + /** + * The key size in bits. For example: 2048, 3072, or 4096 for RSA. + */ + @JsonProperty(value = "key_size") + private Integer keySize; + + /** + * The keyOps property. + */ + @JsonProperty(value = "key_ops") + private List keyOps; + + /** + * The keyAttributes property. + */ + @JsonProperty(value = "attributes") + private KeyAttributes keyAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible + * values include: 'P-256', 'P-384', 'P-521', 'P-256K'. + */ + @JsonProperty(value = "crv") + private JsonWebKeyCurveName curve; + + /** + * Get the kty value. + * + * @return the kty value + */ + public JsonWebKeyType kty() { + return this.kty; + } + + /** + * Set the kty value. + * + * @param kty the kty value to set + * @return the KeyCreateParameters object itself. + */ + public KeyCreateParameters withKty(JsonWebKeyType kty) { + this.kty = kty; + return this; + } + + /** + * Get the keySize value. + * + * @return the keySize value + */ + public Integer keySize() { + return this.keySize; + } + + /** + * Set the keySize value. + * + * @param keySize the keySize value to set + * @return the KeyCreateParameters object itself. + */ + public KeyCreateParameters withKeySize(Integer keySize) { + this.keySize = keySize; + return this; + } + + /** + * Get the keyOps value. + * + * @return the keyOps value + */ + public List keyOps() { + return this.keyOps; + } + + /** + * Set the keyOps value. + * + * @param keyOps the keyOps value to set + * @return the KeyCreateParameters object itself. + */ + public KeyCreateParameters withKeyOps(List keyOps) { + this.keyOps = keyOps; + return this; + } + + /** + * Get the keyAttributes value. + * + * @return the keyAttributes value + */ + public KeyAttributes keyAttributes() { + return this.keyAttributes; + } + + /** + * Set the keyAttributes value. + * + * @param keyAttributes the keyAttributes value to set + * @return the KeyCreateParameters object itself. + */ + public KeyCreateParameters withKeyAttributes(KeyAttributes keyAttributes) { + this.keyAttributes = keyAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the KeyCreateParameters object itself. + */ + public KeyCreateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the curve value. + * + * @return the curve value + */ + public JsonWebKeyCurveName curve() { + return this.curve; + } + + /** + * Set the curve value. + * + * @param curve the curve value to set + * @return the KeyCreateParameters object itself. + */ + public KeyCreateParameters withCurve(JsonWebKeyCurveName curve) { + this.curve = curve; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyImportParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyImportParameters.java index bfaa26ca27e21..947b559f484c4 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyImportParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyImportParameters.java @@ -1,119 +1,119 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key import parameters. - */ -public class KeyImportParameters { - /** - * Whether to import as a hardware key (HSM) or software key. - */ - @JsonProperty(value = "Hsm") - private Boolean hsm; - - /** - * The Json web key. - */ - @JsonProperty(value = "key", required = true) - private JsonWebKey key; - - /** - * The key management attributes. - */ - @JsonProperty(value = "attributes") - private KeyAttributes keyAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the hsm value. - * - * @return the hsm value - */ - public Boolean hsm() { - return this.hsm; - } - - /** - * Set the hsm value. - * - * @param hsm the hsm value to set - * @return the KeyImportParameters object itself. - */ - public KeyImportParameters withHsm(Boolean hsm) { - this.hsm = hsm; - return this; - } - - /** - * Get the key value. - * - * @return the key value - */ - public JsonWebKey key() { - return this.key; - } - - /** - * Set the key value. - * - * @param key the key value to set - * @return the KeyImportParameters object itself. - */ - public KeyImportParameters withKey(JsonWebKey key) { - this.key = key; - return this; - } - - /** - * Get the keyAttributes value. - * - * @return the keyAttributes value - */ - public KeyAttributes keyAttributes() { - return this.keyAttributes; - } - - /** - * Set the keyAttributes value. - * - * @param keyAttributes the keyAttributes value to set - * @return the KeyImportParameters object itself. - */ - public KeyImportParameters withKeyAttributes(KeyAttributes keyAttributes) { - this.keyAttributes = keyAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the KeyImportParameters object itself. - */ - public KeyImportParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key import parameters. + */ +public class KeyImportParameters { + /** + * Whether to import as a hardware key (HSM) or software key. + */ + @JsonProperty(value = "Hsm") + private Boolean hsm; + + /** + * The Json web key. + */ + @JsonProperty(value = "key", required = true) + private JsonWebKey key; + + /** + * The key management attributes. + */ + @JsonProperty(value = "attributes") + private KeyAttributes keyAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the hsm value. + * + * @return the hsm value + */ + public Boolean hsm() { + return this.hsm; + } + + /** + * Set the hsm value. + * + * @param hsm the hsm value to set + * @return the KeyImportParameters object itself. + */ + public KeyImportParameters withHsm(Boolean hsm) { + this.hsm = hsm; + return this; + } + + /** + * Get the key value. + * + * @return the key value + */ + public JsonWebKey key() { + return this.key; + } + + /** + * Set the key value. + * + * @param key the key value to set + * @return the KeyImportParameters object itself. + */ + public KeyImportParameters withKey(JsonWebKey key) { + this.key = key; + return this; + } + + /** + * Get the keyAttributes value. + * + * @return the keyAttributes value + */ + public KeyAttributes keyAttributes() { + return this.keyAttributes; + } + + /** + * Set the keyAttributes value. + * + * @param keyAttributes the keyAttributes value to set + * @return the KeyImportParameters object itself. + */ + public KeyImportParameters withKeyAttributes(KeyAttributes keyAttributes) { + this.keyAttributes = keyAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the KeyImportParameters object itself. + */ + public KeyImportParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyItem.java index da0dd54dc749c..635fb7af00a2b 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyItem.java @@ -1,108 +1,108 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key item containing key metadata. - */ -public class KeyItem { - /** - * Key identifier. - */ - @JsonProperty(value = "kid") - private String kid; - - /** - * The key management attributes. - */ - @JsonProperty(value = "attributes") - private KeyAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * True if the key's lifetime is managed by key vault. If this is a key - * backing a certificate, then managed will be true. - */ - @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) - private Boolean managed; - - /** - * Get the kid value. - * - * @return the kid value - */ - public String kid() { - return this.kid; - } - - /** - * Set the kid value. - * - * @param kid the kid value to set - * @return the KeyItem object itself. - */ - public KeyItem withKid(String kid) { - this.kid = kid; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public KeyAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the KeyItem object itself. - */ - public KeyItem withAttributes(KeyAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the KeyItem object itself. - */ - public KeyItem withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the managed value. - * - * @return the managed value - */ - public Boolean managed() { - return this.managed; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key item containing key metadata. + */ +public class KeyItem { + /** + * Key identifier. + */ + @JsonProperty(value = "kid") + private String kid; + + /** + * The key management attributes. + */ + @JsonProperty(value = "attributes") + private KeyAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * True if the key's lifetime is managed by key vault. If this is a key + * backing a certificate, then managed will be true. + */ + @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) + private Boolean managed; + + /** + * Get the kid value. + * + * @return the kid value + */ + public String kid() { + return this.kid; + } + + /** + * Set the kid value. + * + * @param kid the kid value to set + * @return the KeyItem object itself. + */ + public KeyItem withKid(String kid) { + this.kid = kid; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public KeyAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the KeyItem object itself. + */ + public KeyItem withAttributes(KeyAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the KeyItem object itself. + */ + public KeyItem withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the managed value. + * + * @return the managed value + */ + public Boolean managed() { + return this.managed; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationResult.java index 3a8a7c61e42b5..73adf264df5d3 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationResult.java @@ -1,47 +1,47 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key operation result. - */ -public class KeyOperationResult { - /** - * Key identifier. - */ - @JsonProperty(value = "kid", access = JsonProperty.Access.WRITE_ONLY) - private String kid; - - /** - * The result property. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private Base64Url result; - - /** - * Get the kid value. - * - * @return the kid value - */ - public String kid() { - return this.kid; - } - - /** - * Get the result value. - * - * @return the result value - */ - public byte[] result() { - if (this.result == null) { - return null; - } - return this.result.decodedBytes(); - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key operation result. + */ +public class KeyOperationResult { + /** + * Key identifier. + */ + @JsonProperty(value = "kid", access = JsonProperty.Access.WRITE_ONLY) + private String kid; + + /** + * The result property. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private Base64Url result; + + /** + * Get the kid value. + * + * @return the kid value + */ + public String kid() { + return this.kid; + } + + /** + * Get the result value. + * + * @return the result value + */ + public byte[] result() { + if (this.result == null) { + return null; + } + return this.result.decodedBytes(); + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationsParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationsParameters.java index a8181300b1563..46c81d398f5ee 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationsParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyOperationsParameters.java @@ -1,75 +1,75 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key operations parameters. - */ -public class KeyOperationsParameters { - /** - * algorithm identifier. Possible values include: 'RSA-OAEP', - * 'RSA-OAEP-256', 'RSA1_5'. - */ - @JsonProperty(value = "alg", required = true) - private JsonWebKeyEncryptionAlgorithm algorithm; - - /** - * The value property. - */ - @JsonProperty(value = "value", required = true) - private Base64Url value; - - /** - * Get the algorithm value. - * - * @return the algorithm value - */ - public JsonWebKeyEncryptionAlgorithm algorithm() { - return this.algorithm; - } - - /** - * Set the algorithm value. - * - * @param algorithm the algorithm value to set - * @return the KeyOperationsParameters object itself. - */ - public KeyOperationsParameters withAlgorithm(JsonWebKeyEncryptionAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the value value. - * - * @return the value value - */ - public byte[] value() { - if (this.value == null) { - return null; - } - return this.value.decodedBytes(); - } - - /** - * Set the value value. - * - * @param value the value value to set - * @return the KeyOperationsParameters object itself. - */ - public KeyOperationsParameters withValue(byte[] value) { - if (value == null) { - this.value = null; - } else { - this.value = Base64Url.encode(value); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm; +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key operations parameters. + */ +public class KeyOperationsParameters { + /** + * algorithm identifier. Possible values include: 'RSA-OAEP', + * 'RSA-OAEP-256', 'RSA1_5'. + */ + @JsonProperty(value = "alg", required = true) + private JsonWebKeyEncryptionAlgorithm algorithm; + + /** + * The value property. + */ + @JsonProperty(value = "value", required = true) + private Base64Url value; + + /** + * Get the algorithm value. + * + * @return the algorithm value + */ + public JsonWebKeyEncryptionAlgorithm algorithm() { + return this.algorithm; + } + + /** + * Set the algorithm value. + * + * @param algorithm the algorithm value to set + * @return the KeyOperationsParameters object itself. + */ + public KeyOperationsParameters withAlgorithm(JsonWebKeyEncryptionAlgorithm algorithm) { + this.algorithm = algorithm; + return this; + } + + /** + * Get the value value. + * + * @return the value value + */ + public byte[] value() { + if (this.value == null) { + return null; + } + return this.value.decodedBytes(); + } + + /** + * Set the value value. + * + * @param value the value value to set + * @return the KeyOperationsParameters object itself. + */ + public KeyOperationsParameters withValue(byte[] value) { + if (value == null) { + this.value = null; + } else { + this.value = Base64Url.encode(value); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyProperties.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyProperties.java index 9afdfdd43f14c..f937a66006f93 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyProperties.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyProperties.java @@ -1,146 +1,146 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Properties of the key pair backing a certificate. - */ -public class KeyProperties { - /** - * Indicates if the private key can be exported. - */ - @JsonProperty(value = "exportable") - private Boolean exportable; - - /** - * The type of key pair to be used for the certificate. Possible values - * include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'. - */ - @JsonProperty(value = "kty") - private JsonWebKeyType keyType; - - /** - * The key size in bits. For example: 2048, 3072, or 4096 for RSA. - */ - @JsonProperty(value = "key_size") - private Integer keySize; - - /** - * Indicates if the same key pair will be used on certificate renewal. - */ - @JsonProperty(value = "reuse_key") - private Boolean reuseKey; - - /** - * Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible - * values include: 'P-256', 'P-384', 'P-521', 'P-256K'. - */ - @JsonProperty(value = "crv") - private JsonWebKeyCurveName curve; - - /** - * Get the exportable value. - * - * @return the exportable value - */ - public Boolean exportable() { - return this.exportable; - } - - /** - * Set the exportable value. - * - * @param exportable the exportable value to set - * @return the KeyProperties object itself. - */ - public KeyProperties withExportable(Boolean exportable) { - this.exportable = exportable; - return this; - } - - /** - * Get the keyType value. - * - * @return the keyType value - */ - public JsonWebKeyType keyType() { - return this.keyType; - } - - /** - * Set the keyType value. - * - * @param keyType the keyType value to set - * @return the KeyProperties object itself. - */ - public KeyProperties withKeyType(JsonWebKeyType keyType) { - this.keyType = keyType; - return this; - } - - /** - * Get the keySize value. - * - * @return the keySize value - */ - public Integer keySize() { - return this.keySize; - } - - /** - * Set the keySize value. - * - * @param keySize the keySize value to set - * @return the KeyProperties object itself. - */ - public KeyProperties withKeySize(Integer keySize) { - this.keySize = keySize; - return this; - } - - /** - * Get the reuseKey value. - * - * @return the reuseKey value - */ - public Boolean reuseKey() { - return this.reuseKey; - } - - /** - * Set the reuseKey value. - * - * @param reuseKey the reuseKey value to set - * @return the KeyProperties object itself. - */ - public KeyProperties withReuseKey(Boolean reuseKey) { - this.reuseKey = reuseKey; - return this; - } - - /** - * Get the curve value. - * - * @return the curve value - */ - public JsonWebKeyCurveName curve() { - return this.curve; - } - - /** - * Set the curve value. - * - * @param curve the curve value to set - * @return the KeyProperties object itself. - */ - public KeyProperties withCurve(JsonWebKeyCurveName curve) { - this.curve = curve; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Properties of the key pair backing a certificate. + */ +public class KeyProperties { + /** + * Indicates if the private key can be exported. + */ + @JsonProperty(value = "exportable") + private Boolean exportable; + + /** + * The type of key pair to be used for the certificate. Possible values + * include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'. + */ + @JsonProperty(value = "kty") + private JsonWebKeyType keyType; + + /** + * The key size in bits. For example: 2048, 3072, or 4096 for RSA. + */ + @JsonProperty(value = "key_size") + private Integer keySize; + + /** + * Indicates if the same key pair will be used on certificate renewal. + */ + @JsonProperty(value = "reuse_key") + private Boolean reuseKey; + + /** + * Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible + * values include: 'P-256', 'P-384', 'P-521', 'P-256K'. + */ + @JsonProperty(value = "crv") + private JsonWebKeyCurveName curve; + + /** + * Get the exportable value. + * + * @return the exportable value + */ + public Boolean exportable() { + return this.exportable; + } + + /** + * Set the exportable value. + * + * @param exportable the exportable value to set + * @return the KeyProperties object itself. + */ + public KeyProperties withExportable(Boolean exportable) { + this.exportable = exportable; + return this; + } + + /** + * Get the keyType value. + * + * @return the keyType value + */ + public JsonWebKeyType keyType() { + return this.keyType; + } + + /** + * Set the keyType value. + * + * @param keyType the keyType value to set + * @return the KeyProperties object itself. + */ + public KeyProperties withKeyType(JsonWebKeyType keyType) { + this.keyType = keyType; + return this; + } + + /** + * Get the keySize value. + * + * @return the keySize value + */ + public Integer keySize() { + return this.keySize; + } + + /** + * Set the keySize value. + * + * @param keySize the keySize value to set + * @return the KeyProperties object itself. + */ + public KeyProperties withKeySize(Integer keySize) { + this.keySize = keySize; + return this; + } + + /** + * Get the reuseKey value. + * + * @return the reuseKey value + */ + public Boolean reuseKey() { + return this.reuseKey; + } + + /** + * Set the reuseKey value. + * + * @param reuseKey the reuseKey value to set + * @return the KeyProperties object itself. + */ + public KeyProperties withReuseKey(Boolean reuseKey) { + this.reuseKey = reuseKey; + return this; + } + + /** + * Get the curve value. + * + * @return the curve value + */ + public JsonWebKeyCurveName curve() { + return this.curve; + } + + /** + * Set the curve value. + * + * @param curve the curve value to set + * @return the KeyProperties object itself. + */ + public KeyProperties withCurve(JsonWebKeyCurveName curve) { + this.curve = curve; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyRestoreParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyRestoreParameters.java index 8dff8503f2315..992fcdcfe71a1 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyRestoreParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyRestoreParameters.java @@ -1,47 +1,47 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key restore parameters. - */ -public class KeyRestoreParameters { - /** - * The backup blob associated with a key bundle. - */ - @JsonProperty(value = "value", required = true) - private Base64Url keyBundleBackup; - - /** - * Get the keyBundleBackup value. - * - * @return the keyBundleBackup value - */ - public byte[] keyBundleBackup() { - if (this.keyBundleBackup == null) { - return null; - } - return this.keyBundleBackup.decodedBytes(); - } - - /** - * Set the keyBundleBackup value. - * - * @param keyBundleBackup the keyBundleBackup value to set - * @return the KeyRestoreParameters object itself. - */ - public KeyRestoreParameters withKeyBundleBackup(byte[] keyBundleBackup) { - if (keyBundleBackup == null) { - this.keyBundleBackup = null; - } else { - this.keyBundleBackup = Base64Url.encode(keyBundleBackup); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key restore parameters. + */ +public class KeyRestoreParameters { + /** + * The backup blob associated with a key bundle. + */ + @JsonProperty(value = "value", required = true) + private Base64Url keyBundleBackup; + + /** + * Get the keyBundleBackup value. + * + * @return the keyBundleBackup value + */ + public byte[] keyBundleBackup() { + if (this.keyBundleBackup == null) { + return null; + } + return this.keyBundleBackup.decodedBytes(); + } + + /** + * Set the keyBundleBackup value. + * + * @param keyBundleBackup the keyBundleBackup value to set + * @return the KeyRestoreParameters object itself. + */ + public KeyRestoreParameters withKeyBundleBackup(byte[] keyBundleBackup) { + if (keyBundleBackup == null) { + this.keyBundleBackup = null; + } else { + this.keyBundleBackup = Base64Url.encode(keyBundleBackup); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeySignParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeySignParameters.java index c385c24dec3eb..83fa2c1ae6471 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeySignParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeySignParameters.java @@ -1,77 +1,77 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key operations parameters. - */ -public class KeySignParameters { - /** - * 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'. - */ - @JsonProperty(value = "alg", required = true) - private JsonWebKeySignatureAlgorithm algorithm; - - /** - * The value property. - */ - @JsonProperty(value = "value", required = true) - private Base64Url value; - - /** - * Get the algorithm value. - * - * @return the algorithm value - */ - public JsonWebKeySignatureAlgorithm algorithm() { - return this.algorithm; - } - - /** - * Set the algorithm value. - * - * @param algorithm the algorithm value to set - * @return the KeySignParameters object itself. - */ - public KeySignParameters withAlgorithm(JsonWebKeySignatureAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the value value. - * - * @return the value value - */ - public byte[] value() { - if (this.value == null) { - return null; - } - return this.value.decodedBytes(); - } - - /** - * Set the value value. - * - * @param value the value value to set - * @return the KeySignParameters object itself. - */ - public KeySignParameters withValue(byte[] value) { - if (value == null) { - this.value = null; - } else { - this.value = Base64Url.encode(value); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key operations parameters. + */ +public class KeySignParameters { + /** + * 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'. + */ + @JsonProperty(value = "alg", required = true) + private JsonWebKeySignatureAlgorithm algorithm; + + /** + * The value property. + */ + @JsonProperty(value = "value", required = true) + private Base64Url value; + + /** + * Get the algorithm value. + * + * @return the algorithm value + */ + public JsonWebKeySignatureAlgorithm algorithm() { + return this.algorithm; + } + + /** + * Set the algorithm value. + * + * @param algorithm the algorithm value to set + * @return the KeySignParameters object itself. + */ + public KeySignParameters withAlgorithm(JsonWebKeySignatureAlgorithm algorithm) { + this.algorithm = algorithm; + return this; + } + + /** + * Get the value value. + * + * @return the value value + */ + public byte[] value() { + if (this.value == null) { + return null; + } + return this.value.decodedBytes(); + } + + /** + * Set the value value. + * + * @param value the value value to set + * @return the KeySignParameters object itself. + */ + public KeySignParameters withValue(byte[] value) { + if (value == null) { + this.value = null; + } else { + this.value = Base64Url.encode(value); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUpdateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUpdateParameters.java index 5e7a528c322cd..c3b406474da51 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUpdateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUpdateParameters.java @@ -1,94 +1,94 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import java.util.List; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key update parameters. - */ -public class KeyUpdateParameters { - /** - * Json web key operations. For more information on possible key - * operations, see JsonWebKeyOperation. - */ - @JsonProperty(value = "key_ops") - private List keyOps; - - /** - * The keyAttributes property. - */ - @JsonProperty(value = "attributes") - private KeyAttributes keyAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the keyOps value. - * - * @return the keyOps value - */ - public List keyOps() { - return this.keyOps; - } - - /** - * Set the keyOps value. - * - * @param keyOps the keyOps value to set - * @return the KeyUpdateParameters object itself. - */ - public KeyUpdateParameters withKeyOps(List keyOps) { - this.keyOps = keyOps; - return this; - } - - /** - * Get the keyAttributes value. - * - * @return the keyAttributes value - */ - public KeyAttributes keyAttributes() { - return this.keyAttributes; - } - - /** - * Set the keyAttributes value. - * - * @param keyAttributes the keyAttributes value to set - * @return the KeyUpdateParameters object itself. - */ - public KeyUpdateParameters withKeyAttributes(KeyAttributes keyAttributes) { - this.keyAttributes = keyAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the KeyUpdateParameters object itself. - */ - public KeyUpdateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import java.util.List; +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key update parameters. + */ +public class KeyUpdateParameters { + /** + * Json web key operations. For more information on possible key + * operations, see JsonWebKeyOperation. + */ + @JsonProperty(value = "key_ops") + private List keyOps; + + /** + * The keyAttributes property. + */ + @JsonProperty(value = "attributes") + private KeyAttributes keyAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the keyOps value. + * + * @return the keyOps value + */ + public List keyOps() { + return this.keyOps; + } + + /** + * Set the keyOps value. + * + * @param keyOps the keyOps value to set + * @return the KeyUpdateParameters object itself. + */ + public KeyUpdateParameters withKeyOps(List keyOps) { + this.keyOps = keyOps; + return this; + } + + /** + * Get the keyAttributes value. + * + * @return the keyAttributes value + */ + public KeyAttributes keyAttributes() { + return this.keyAttributes; + } + + /** + * Set the keyAttributes value. + * + * @param keyAttributes the keyAttributes value to set + * @return the KeyUpdateParameters object itself. + */ + public KeyUpdateParameters withKeyAttributes(KeyAttributes keyAttributes) { + this.keyAttributes = keyAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the KeyUpdateParameters object itself. + */ + public KeyUpdateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUsageType.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUsageType.java index 06a3518f550e6..e5e15377da824 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUsageType.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyUsageType.java @@ -1,76 +1,76 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Defines values for KeyUsageType. - */ -public final class KeyUsageType { - /** Static value digitalSignature for KeyUsageType. */ - public static final KeyUsageType DIGITAL_SIGNATURE = new KeyUsageType("digitalSignature"); - - /** Static value nonRepudiation for KeyUsageType. */ - public static final KeyUsageType NON_REPUDIATION = new KeyUsageType("nonRepudiation"); - - /** Static value keyEncipherment for KeyUsageType. */ - public static final KeyUsageType KEY_ENCIPHERMENT = new KeyUsageType("keyEncipherment"); - - /** Static value dataEncipherment for KeyUsageType. */ - public static final KeyUsageType DATA_ENCIPHERMENT = new KeyUsageType("dataEncipherment"); - - /** Static value keyAgreement for KeyUsageType. */ - public static final KeyUsageType KEY_AGREEMENT = new KeyUsageType("keyAgreement"); - - /** Static value keyCertSign for KeyUsageType. */ - public static final KeyUsageType KEY_CERT_SIGN = new KeyUsageType("keyCertSign"); - - /** Static value cRLSign for KeyUsageType. */ - public static final KeyUsageType C_RLSIGN = new KeyUsageType("cRLSign"); - - /** Static value encipherOnly for KeyUsageType. */ - public static final KeyUsageType ENCIPHER_ONLY = new KeyUsageType("encipherOnly"); - - /** Static value decipherOnly for KeyUsageType. */ - public static final KeyUsageType DECIPHER_ONLY = new KeyUsageType("decipherOnly"); - - private String value; - - /** - * Creates a custom value for KeyUsageType. - * @param value the custom value - */ - public KeyUsageType(String value) { - this.value = value; - } - - @JsonValue - @Override - public String toString() { - return value; - } - - @Override - public int hashCode() { - return value.hashCode(); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof KeyUsageType)) { - return false; - } - if (obj == this) { - return true; - } - KeyUsageType rhs = (KeyUsageType) obj; - if (value == null) { - return rhs.value == null; - } else { - return value.equals(rhs.value); - } - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for KeyUsageType. + */ +public final class KeyUsageType { + /** Static value digitalSignature for KeyUsageType. */ + public static final KeyUsageType DIGITAL_SIGNATURE = new KeyUsageType("digitalSignature"); + + /** Static value nonRepudiation for KeyUsageType. */ + public static final KeyUsageType NON_REPUDIATION = new KeyUsageType("nonRepudiation"); + + /** Static value keyEncipherment for KeyUsageType. */ + public static final KeyUsageType KEY_ENCIPHERMENT = new KeyUsageType("keyEncipherment"); + + /** Static value dataEncipherment for KeyUsageType. */ + public static final KeyUsageType DATA_ENCIPHERMENT = new KeyUsageType("dataEncipherment"); + + /** Static value keyAgreement for KeyUsageType. */ + public static final KeyUsageType KEY_AGREEMENT = new KeyUsageType("keyAgreement"); + + /** Static value keyCertSign for KeyUsageType. */ + public static final KeyUsageType KEY_CERT_SIGN = new KeyUsageType("keyCertSign"); + + /** Static value cRLSign for KeyUsageType. */ + public static final KeyUsageType C_RLSIGN = new KeyUsageType("cRLSign"); + + /** Static value encipherOnly for KeyUsageType. */ + public static final KeyUsageType ENCIPHER_ONLY = new KeyUsageType("encipherOnly"); + + /** Static value decipherOnly for KeyUsageType. */ + public static final KeyUsageType DECIPHER_ONLY = new KeyUsageType("decipherOnly"); + + private String value; + + /** + * Creates a custom value for KeyUsageType. + * @param value the custom value + */ + public KeyUsageType(String value) { + this.value = value; + } + + @JsonValue + @Override + public String toString() { + return value; + } + + @Override + public int hashCode() { + return value.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof KeyUsageType)) { + return false; + } + if (obj == this) { + return true; + } + KeyUsageType rhs = (KeyUsageType) obj; + if (value == null) { + return rhs.value == null; + } else { + return value.equals(rhs.value); + } + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultError.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultError.java index ff2fd28369ae6..8da5373b930c6 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultError.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultError.java @@ -1,28 +1,28 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key vault error exception. - */ -public class KeyVaultError { - /** - * The error property. - */ - @JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY) - private Error error; - - /** - * Get the error value. - * - * @return the error value - */ - public Error error() { - return this.error; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key vault error exception. + */ +public class KeyVaultError { + /** + * The error property. + */ + @JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY) + private Error error; + + /** + * Get the error value. + * + * @return the error value + */ + public Error error() { + return this.error; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultErrorException.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultErrorException.java index e700fb625983e..028e31a18f745 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultErrorException.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVaultErrorException.java @@ -1,40 +1,40 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.RestException; -import okhttp3.ResponseBody; -import retrofit2.Response; - -/** - * Exception thrown for an invalid response with KeyVaultError information. - */ -public class KeyVaultErrorException extends RestException { - /** - * Initializes a new instance of the KeyVaultErrorException class. - * - * @param message the exception message or the response content if a message is not available - * @param response the HTTP response - */ - public KeyVaultErrorException(final String message, final Response response) { - super(message, response); - } - - /** - * Initializes a new instance of the KeyVaultErrorException class. - * - * @param message the exception message or the response content if a message is not available - * @param response the HTTP response - * @param body the deserialized response body - */ - public KeyVaultErrorException(final String message, final Response response, final KeyVaultError body) { - super(message, response, body); - } - - @Override - public KeyVaultError body() { - return (KeyVaultError) super.body(); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.RestException; +import okhttp3.ResponseBody; +import retrofit2.Response; + +/** + * Exception thrown for an invalid response with KeyVaultError information. + */ +public class KeyVaultErrorException extends RestException { + /** + * Initializes a new instance of the KeyVaultErrorException class. + * + * @param message the exception message or the response content if a message is not available + * @param response the HTTP response + */ + public KeyVaultErrorException(final String message, final Response response) { + super(message, response); + } + + /** + * Initializes a new instance of the KeyVaultErrorException class. + * + * @param message the exception message or the response content if a message is not available + * @param response the HTTP response + * @param body the deserialized response body + */ + public KeyVaultErrorException(final String message, final Response response, final KeyVaultError body) { + super(message, response, body); + } + + @Override + public KeyVaultError body() { + return (KeyVaultError) super.body(); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyParameters.java index d3214cd0c43ab..10318ebcccdbb 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyParameters.java @@ -1,110 +1,110 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key verify parameters. - */ -public class KeyVerifyParameters { - /** - * 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'. - */ - @JsonProperty(value = "alg", required = true) - private JsonWebKeySignatureAlgorithm algorithm; - - /** - * The digest used for signing. - */ - @JsonProperty(value = "digest", required = true) - private Base64Url digest; - - /** - * The signature to be verified. - */ - @JsonProperty(value = "value", required = true) - private Base64Url signature; - - /** - * Get the algorithm value. - * - * @return the algorithm value - */ - public JsonWebKeySignatureAlgorithm algorithm() { - return this.algorithm; - } - - /** - * Set the algorithm value. - * - * @param algorithm the algorithm value to set - * @return the KeyVerifyParameters object itself. - */ - public KeyVerifyParameters withAlgorithm(JsonWebKeySignatureAlgorithm algorithm) { - this.algorithm = algorithm; - return this; - } - - /** - * Get the digest value. - * - * @return the digest value - */ - public byte[] digest() { - if (this.digest == null) { - return null; - } - return this.digest.decodedBytes(); - } - - /** - * Set the digest value. - * - * @param digest the digest value to set - * @return the KeyVerifyParameters object itself. - */ - public KeyVerifyParameters withDigest(byte[] digest) { - if (digest == null) { - this.digest = null; - } else { - this.digest = Base64Url.encode(digest); - } - return this; - } - - /** - * Get the signature value. - * - * @return the signature value - */ - public byte[] signature() { - if (this.signature == null) { - return null; - } - return this.signature.decodedBytes(); - } - - /** - * Set the signature value. - * - * @param signature the signature value to set - * @return the KeyVerifyParameters object itself. - */ - public KeyVerifyParameters withSignature(byte[] signature) { - if (signature == null) { - this.signature = null; - } else { - this.signature = Base64Url.encode(signature); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm; +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key verify parameters. + */ +public class KeyVerifyParameters { + /** + * 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'. + */ + @JsonProperty(value = "alg", required = true) + private JsonWebKeySignatureAlgorithm algorithm; + + /** + * The digest used for signing. + */ + @JsonProperty(value = "digest", required = true) + private Base64Url digest; + + /** + * The signature to be verified. + */ + @JsonProperty(value = "value", required = true) + private Base64Url signature; + + /** + * Get the algorithm value. + * + * @return the algorithm value + */ + public JsonWebKeySignatureAlgorithm algorithm() { + return this.algorithm; + } + + /** + * Set the algorithm value. + * + * @param algorithm the algorithm value to set + * @return the KeyVerifyParameters object itself. + */ + public KeyVerifyParameters withAlgorithm(JsonWebKeySignatureAlgorithm algorithm) { + this.algorithm = algorithm; + return this; + } + + /** + * Get the digest value. + * + * @return the digest value + */ + public byte[] digest() { + if (this.digest == null) { + return null; + } + return this.digest.decodedBytes(); + } + + /** + * Set the digest value. + * + * @param digest the digest value to set + * @return the KeyVerifyParameters object itself. + */ + public KeyVerifyParameters withDigest(byte[] digest) { + if (digest == null) { + this.digest = null; + } else { + this.digest = Base64Url.encode(digest); + } + return this; + } + + /** + * Get the signature value. + * + * @return the signature value + */ + public byte[] signature() { + if (this.signature == null) { + return null; + } + return this.signature.decodedBytes(); + } + + /** + * Set the signature value. + * + * @param signature the signature value to set + * @return the KeyVerifyParameters object itself. + */ + public KeyVerifyParameters withSignature(byte[] signature) { + if (signature == null) { + this.signature = null; + } else { + this.signature = Base64Url.encode(signature); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyResult.java index 95feb54a74d27..2223bf8022522 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/KeyVerifyResult.java @@ -1,28 +1,28 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The key verify result. - */ -public class KeyVerifyResult { - /** - * True if the signature is verified, otherwise false. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private Boolean value; - - /** - * Get the value value. - * - * @return the value value - */ - public Boolean value() { - return this.value; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The key verify result. + */ +public class KeyVerifyResult { + /** + * True if the signature is verified, otherwise false. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private Boolean value; + + /** + * Get the value value. + * + * @return the value value + */ + public Boolean value() { + return this.value; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/LifetimeAction.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/LifetimeAction.java index 288ef4db6a6b4..cc65314a1bc48 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/LifetimeAction.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/LifetimeAction.java @@ -1,66 +1,66 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Action and its trigger that will be performed by Key Vault over the lifetime - * of a certificate. - */ -public class LifetimeAction { - /** - * The condition that will execute the action. - */ - @JsonProperty(value = "trigger") - private Trigger trigger; - - /** - * The action that will be executed. - */ - @JsonProperty(value = "action") - private Action action; - - /** - * Get the trigger value. - * - * @return the trigger value - */ - public Trigger trigger() { - return this.trigger; - } - - /** - * Set the trigger value. - * - * @param trigger the trigger value to set - * @return the LifetimeAction object itself. - */ - public LifetimeAction withTrigger(Trigger trigger) { - this.trigger = trigger; - return this; - } - - /** - * Get the action value. - * - * @return the action value - */ - public Action action() { - return this.action; - } - - /** - * Set the action value. - * - * @param action the action value to set - * @return the LifetimeAction object itself. - */ - public LifetimeAction withAction(Action action) { - this.action = action; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Action and its trigger that will be performed by Key Vault over the lifetime + * of a certificate. + */ +public class LifetimeAction { + /** + * The condition that will execute the action. + */ + @JsonProperty(value = "trigger") + private Trigger trigger; + + /** + * The action that will be executed. + */ + @JsonProperty(value = "action") + private Action action; + + /** + * Get the trigger value. + * + * @return the trigger value + */ + public Trigger trigger() { + return this.trigger; + } + + /** + * Set the trigger value. + * + * @param trigger the trigger value to set + * @return the LifetimeAction object itself. + */ + public LifetimeAction withTrigger(Trigger trigger) { + this.trigger = trigger; + return this; + } + + /** + * Get the action value. + * + * @return the action value + */ + public Action action() { + return this.action; + } + + /** + * Set the action value. + * + * @param action the action value to set + * @return the LifetimeAction object itself. + */ + public LifetimeAction withAction(Action action) { + this.action = action; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/OrganizationDetails.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/OrganizationDetails.java index a6b62fe4c3ac0..25227f3b814f3 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/OrganizationDetails.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/OrganizationDetails.java @@ -1,66 +1,66 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.List; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Details of the organization of the certificate issuer. - */ -public class OrganizationDetails { - /** - * Id of the organization. - */ - @JsonProperty(value = "id") - private String id; - - /** - * Details of the organization administrator. - */ - @JsonProperty(value = "admin_details") - private List adminDetails; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - * @return the OrganizationDetails object itself. - */ - public OrganizationDetails withId(String id) { - this.id = id; - return this; - } - - /** - * Get the adminDetails value. - * - * @return the adminDetails value - */ - public List adminDetails() { - return this.adminDetails; - } - - /** - * Set the adminDetails value. - * - * @param adminDetails the adminDetails value to set - * @return the OrganizationDetails object itself. - */ - public OrganizationDetails withAdminDetails(List adminDetails) { - this.adminDetails = adminDetails; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Details of the organization of the certificate issuer. + */ +public class OrganizationDetails { + /** + * Id of the organization. + */ + @JsonProperty(value = "id") + private String id; + + /** + * Details of the organization administrator. + */ + @JsonProperty(value = "admin_details") + private List adminDetails; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + * @return the OrganizationDetails object itself. + */ + public OrganizationDetails withId(String id) { + this.id = id; + return this; + } + + /** + * Get the adminDetails value. + * + * @return the adminDetails value + */ + public List adminDetails() { + return this.adminDetails; + } + + /** + * Set the adminDetails value. + * + * @param adminDetails the adminDetails value to set + * @return the OrganizationDetails object itself. + */ + public OrganizationDetails withAdminDetails(List adminDetails) { + this.adminDetails = adminDetails; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PageImpl.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PageImpl.java index 0b5bb63f2ae40..9ed4ebf62f461 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PageImpl.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PageImpl.java @@ -1,71 +1,71 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.microsoft.azure.Page; -import java.util.List; - -/** - * An instance of this class defines a page of Azure resources and a link to - * get the next page of resources, if any. - * - * @param type of Azure resource - */ -public class PageImpl implements Page { - /** - * The link to the next page. - */ - @JsonProperty("nextLink") - private String nextPageLink; - - /** - * The list of items. - */ - @JsonProperty("value") - private List items; - - /** - * Gets the link to the next page. - * - * @return the link to the next page. - */ - @Override - public String nextPageLink() { - return this.nextPageLink; - } - - /** - * Gets the list of items. - * - * @return the list of items in {@link List}. - */ - @Override - public List items() { - return items; - } - - /** - * Sets the link to the next page. - * - * @param nextPageLink the link to the next page. - * @return this Page object itself. - */ - public PageImpl setNextPageLink(String nextPageLink) { - this.nextPageLink = nextPageLink; - return this; - } - - /** - * Sets the list of items. - * - * @param items the list of items in {@link List}. - * @return this Page object itself. - */ - public PageImpl setItems(List items) { - this.items = items; - return this; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.Page; +import java.util.List; + +/** + * An instance of this class defines a page of Azure resources and a link to + * get the next page of resources, if any. + * + * @param type of Azure resource + */ +public class PageImpl implements Page { + /** + * The link to the next page. + */ + @JsonProperty("nextLink") + private String nextPageLink; + + /** + * The list of items. + */ + @JsonProperty("value") + private List items; + + /** + * Gets the link to the next page. + * + * @return the link to the next page. + */ + @Override + public String nextPageLink() { + return this.nextPageLink; + } + + /** + * Gets the list of items. + * + * @return the list of items in {@link List}. + */ + @Override + public List items() { + return items; + } + + /** + * Sets the link to the next page. + * + * @param nextPageLink the link to the next page. + * @return this Page object itself. + */ + public PageImpl setNextPageLink(String nextPageLink) { + this.nextPageLink = nextPageLink; + return this; + } + + /** + * Sets the list of items. + * + * @param items the list of items in {@link List}. + * @return this Page object itself. + */ + public PageImpl setItems(List items) { + this.items = items; + return this; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PendingCertificateSigningRequestResult.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PendingCertificateSigningRequestResult.java index b40c1c60b2f00..ef8f8c65912db 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PendingCertificateSigningRequestResult.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/PendingCertificateSigningRequestResult.java @@ -1,28 +1,28 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The pending certificate signing request result. - */ -public class PendingCertificateSigningRequestResult { - /** - * The pending certificate signing request as Base64 encoded string. - */ - @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) - private String value; - - /** - * Get the value value. - * - * @return the value value - */ - public String value() { - return this.value; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The pending certificate signing request result. + */ +public class PendingCertificateSigningRequestResult { + /** + * The pending certificate signing request as Base64 encoded string. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private String value; + + /** + * Get the value value. + * + * @return the value value + */ + public String value() { + return this.value; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionAttributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionAttributes.java index 390f2a14f2313..3fd36f8e64e46 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionAttributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionAttributes.java @@ -1,98 +1,98 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The SAS definition management attributes. - */ -public class SasDefinitionAttributes { - /** - * the enabled state of the object. - */ - @JsonProperty(value = "enabled") - private Boolean enabled; - - /** - * Creation time in UTC. - */ - @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) - private Long created; - - /** - * Last updated time in UTC. - */ - @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) - private Long updated; - - /** - * Reflects the deletion recovery level currently in effect for SAS - * definitions in the current vault. If it contains 'Purgeable' the SAS - * definition can be permanently deleted by a privileged user; otherwise, - * only the system can purge the SAS definition, at the end of the - * retention interval. Possible values include: 'Purgeable', - * 'Recoverable+Purgeable', 'Recoverable', - * 'Recoverable+ProtectedSubscription'. - */ - @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) - private DeletionRecoveryLevel recoveryLevel; - - /** - * Get the enabled value. - * - * @return the enabled value - */ - public Boolean enabled() { - return this.enabled; - } - - /** - * Set the enabled value. - * - * @param enabled the enabled value to set - * @return the SasDefinitionAttributes object itself. - */ - public SasDefinitionAttributes withEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get the created value. - * - * @return the created value - */ - public DateTime created() { - if (this.created == null) { - return null; - } - return new DateTime(this.created * 1000L, DateTimeZone.UTC); - } - - /** - * Get the updated value. - * - * @return the updated value - */ - public DateTime updated() { - if (this.updated == null) { - return null; - } - return new DateTime(this.updated * 1000L, DateTimeZone.UTC); - } - - /** - * Get the recoveryLevel value. - * - * @return the recoveryLevel value - */ - public DeletionRecoveryLevel recoveryLevel() { - return this.recoveryLevel; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The SAS definition management attributes. + */ +public class SasDefinitionAttributes { + /** + * the enabled state of the object. + */ + @JsonProperty(value = "enabled") + private Boolean enabled; + + /** + * Creation time in UTC. + */ + @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) + private Long created; + + /** + * Last updated time in UTC. + */ + @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) + private Long updated; + + /** + * Reflects the deletion recovery level currently in effect for SAS + * definitions in the current vault. If it contains 'Purgeable' the SAS + * definition can be permanently deleted by a privileged user; otherwise, + * only the system can purge the SAS definition, at the end of the + * retention interval. Possible values include: 'Purgeable', + * 'Recoverable+Purgeable', 'Recoverable', + * 'Recoverable+ProtectedSubscription'. + */ + @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) + private DeletionRecoveryLevel recoveryLevel; + + /** + * Get the enabled value. + * + * @return the enabled value + */ + public Boolean enabled() { + return this.enabled; + } + + /** + * Set the enabled value. + * + * @param enabled the enabled value to set + * @return the SasDefinitionAttributes object itself. + */ + public SasDefinitionAttributes withEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the created value. + * + * @return the created value + */ + public DateTime created() { + if (this.created == null) { + return null; + } + return new DateTime(this.created * 1000L, DateTimeZone.UTC); + } + + /** + * Get the updated value. + * + * @return the updated value + */ + public DateTime updated() { + if (this.updated == null) { + return null; + } + return new DateTime(this.updated * 1000L, DateTimeZone.UTC); + } + + /** + * Get the recoveryLevel value. + * + * @return the recoveryLevel value + */ + public DeletionRecoveryLevel recoveryLevel() { + return this.recoveryLevel; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionBundle.java index 8cda22073b2e9..10d40ad795819 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionBundle.java @@ -1,124 +1,124 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A SAS definition bundle consists of key vault SAS definition details plus - * its attributes. - */ -public class SasDefinitionBundle { - /** - * The SAS definition id. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Storage account SAS definition secret id. - */ - @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) - private String secretId; - - /** - * 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. - */ - @JsonProperty(value = "templateUri", access = JsonProperty.Access.WRITE_ONLY) - private String templateUri; - - /** - * The type of SAS token the SAS definition will create. Possible values - * include: 'account', 'service'. - */ - @JsonProperty(value = "sasType", access = JsonProperty.Access.WRITE_ONLY) - private SasTokenType sasType; - - /** - * The validity period of SAS tokens created according to the SAS - * definition. - */ - @JsonProperty(value = "validityPeriod", access = JsonProperty.Access.WRITE_ONLY) - private String validityPeriod; - - /** - * The SAS definition attributes. - */ - @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) - private SasDefinitionAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the secretId value. - * - * @return the secretId value - */ - public String secretId() { - return this.secretId; - } - - /** - * Get the templateUri value. - * - * @return the templateUri value - */ - public String templateUri() { - return this.templateUri; - } - - /** - * Get the sasType value. - * - * @return the sasType value - */ - public SasTokenType sasType() { - return this.sasType; - } - - /** - * Get the validityPeriod value. - * - * @return the validityPeriod value - */ - public String validityPeriod() { - return this.validityPeriod; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public SasDefinitionAttributes attributes() { - return this.attributes; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A SAS definition bundle consists of key vault SAS definition details plus + * its attributes. + */ +public class SasDefinitionBundle { + /** + * The SAS definition id. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * Storage account SAS definition secret id. + */ + @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) + private String secretId; + + /** + * 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. + */ + @JsonProperty(value = "templateUri", access = JsonProperty.Access.WRITE_ONLY) + private String templateUri; + + /** + * The type of SAS token the SAS definition will create. Possible values + * include: 'account', 'service'. + */ + @JsonProperty(value = "sasType", access = JsonProperty.Access.WRITE_ONLY) + private SasTokenType sasType; + + /** + * The validity period of SAS tokens created according to the SAS + * definition. + */ + @JsonProperty(value = "validityPeriod", access = JsonProperty.Access.WRITE_ONLY) + private String validityPeriod; + + /** + * The SAS definition attributes. + */ + @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) + private SasDefinitionAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) + private Map tags; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the secretId value. + * + * @return the secretId value + */ + public String secretId() { + return this.secretId; + } + + /** + * Get the templateUri value. + * + * @return the templateUri value + */ + public String templateUri() { + return this.templateUri; + } + + /** + * Get the sasType value. + * + * @return the sasType value + */ + public SasTokenType sasType() { + return this.sasType; + } + + /** + * Get the validityPeriod value. + * + * @return the validityPeriod value + */ + public String validityPeriod() { + return this.validityPeriod; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public SasDefinitionAttributes attributes() { + return this.attributes; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionCreateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionCreateParameters.java index 669989cb9ca3d..245328e6ce22f 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionCreateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionCreateParameters.java @@ -1,148 +1,148 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The SAS definition create parameters. - */ -public class SasDefinitionCreateParameters { - /** - * 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. - */ - @JsonProperty(value = "templateUri", required = true) - private String templateUri; - - /** - * The type of SAS token the SAS definition will create. Possible values - * include: 'account', 'service'. - */ - @JsonProperty(value = "sasType", required = true) - private SasTokenType sasType; - - /** - * The validity period of SAS tokens created according to the SAS - * definition. - */ - @JsonProperty(value = "validityPeriod", required = true) - private String validityPeriod; - - /** - * The attributes of the SAS definition. - */ - @JsonProperty(value = "attributes") - private SasDefinitionAttributes sasDefinitionAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the templateUri value. - * - * @return the templateUri value - */ - public String templateUri() { - return this.templateUri; - } - - /** - * Set the templateUri value. - * - * @param templateUri the templateUri value to set - * @return the SasDefinitionCreateParameters object itself. - */ - public SasDefinitionCreateParameters withTemplateUri(String templateUri) { - this.templateUri = templateUri; - return this; - } - - /** - * Get the sasType value. - * - * @return the sasType value - */ - public SasTokenType sasType() { - return this.sasType; - } - - /** - * Set the sasType value. - * - * @param sasType the sasType value to set - * @return the SasDefinitionCreateParameters object itself. - */ - public SasDefinitionCreateParameters withSasType(SasTokenType sasType) { - this.sasType = sasType; - return this; - } - - /** - * Get the validityPeriod value. - * - * @return the validityPeriod value - */ - public String validityPeriod() { - return this.validityPeriod; - } - - /** - * Set the validityPeriod value. - * - * @param validityPeriod the validityPeriod value to set - * @return the SasDefinitionCreateParameters object itself. - */ - public SasDefinitionCreateParameters withValidityPeriod(String validityPeriod) { - this.validityPeriod = validityPeriod; - return this; - } - - /** - * Get the sasDefinitionAttributes value. - * - * @return the sasDefinitionAttributes value - */ - public SasDefinitionAttributes sasDefinitionAttributes() { - return this.sasDefinitionAttributes; - } - - /** - * Set the sasDefinitionAttributes value. - * - * @param sasDefinitionAttributes the sasDefinitionAttributes value to set - * @return the SasDefinitionCreateParameters object itself. - */ - public SasDefinitionCreateParameters withSasDefinitionAttributes(SasDefinitionAttributes sasDefinitionAttributes) { - this.sasDefinitionAttributes = sasDefinitionAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the SasDefinitionCreateParameters object itself. - */ - public SasDefinitionCreateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The SAS definition create parameters. + */ +public class SasDefinitionCreateParameters { + /** + * 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. + */ + @JsonProperty(value = "templateUri", required = true) + private String templateUri; + + /** + * The type of SAS token the SAS definition will create. Possible values + * include: 'account', 'service'. + */ + @JsonProperty(value = "sasType", required = true) + private SasTokenType sasType; + + /** + * The validity period of SAS tokens created according to the SAS + * definition. + */ + @JsonProperty(value = "validityPeriod", required = true) + private String validityPeriod; + + /** + * The attributes of the SAS definition. + */ + @JsonProperty(value = "attributes") + private SasDefinitionAttributes sasDefinitionAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the templateUri value. + * + * @return the templateUri value + */ + public String templateUri() { + return this.templateUri; + } + + /** + * Set the templateUri value. + * + * @param templateUri the templateUri value to set + * @return the SasDefinitionCreateParameters object itself. + */ + public SasDefinitionCreateParameters withTemplateUri(String templateUri) { + this.templateUri = templateUri; + return this; + } + + /** + * Get the sasType value. + * + * @return the sasType value + */ + public SasTokenType sasType() { + return this.sasType; + } + + /** + * Set the sasType value. + * + * @param sasType the sasType value to set + * @return the SasDefinitionCreateParameters object itself. + */ + public SasDefinitionCreateParameters withSasType(SasTokenType sasType) { + this.sasType = sasType; + return this; + } + + /** + * Get the validityPeriod value. + * + * @return the validityPeriod value + */ + public String validityPeriod() { + return this.validityPeriod; + } + + /** + * Set the validityPeriod value. + * + * @param validityPeriod the validityPeriod value to set + * @return the SasDefinitionCreateParameters object itself. + */ + public SasDefinitionCreateParameters withValidityPeriod(String validityPeriod) { + this.validityPeriod = validityPeriod; + return this; + } + + /** + * Get the sasDefinitionAttributes value. + * + * @return the sasDefinitionAttributes value + */ + public SasDefinitionAttributes sasDefinitionAttributes() { + return this.sasDefinitionAttributes; + } + + /** + * Set the sasDefinitionAttributes value. + * + * @param sasDefinitionAttributes the sasDefinitionAttributes value to set + * @return the SasDefinitionCreateParameters object itself. + */ + public SasDefinitionCreateParameters withSasDefinitionAttributes(SasDefinitionAttributes sasDefinitionAttributes) { + this.sasDefinitionAttributes = sasDefinitionAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the SasDefinitionCreateParameters object itself. + */ + public SasDefinitionCreateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionItem.java index ac45dc383dfad..821353b8f55ee 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionItem.java @@ -1,74 +1,74 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The SAS definition item containing storage SAS definition metadata. - */ -public class SasDefinitionItem { - /** - * The storage SAS identifier. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * The storage account SAS definition secret id. - */ - @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) - private String secretId; - - /** - * The SAS definition management attributes. - */ - @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) - private SasDefinitionAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the secretId value. - * - * @return the secretId value - */ - public String secretId() { - return this.secretId; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public SasDefinitionAttributes attributes() { - return this.attributes; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The SAS definition item containing storage SAS definition metadata. + */ +public class SasDefinitionItem { + /** + * The storage SAS identifier. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * The storage account SAS definition secret id. + */ + @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) + private String secretId; + + /** + * The SAS definition management attributes. + */ + @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) + private SasDefinitionAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) + private Map tags; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the secretId value. + * + * @return the secretId value + */ + public String secretId() { + return this.secretId; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public SasDefinitionAttributes attributes() { + return this.attributes; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionUpdateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionUpdateParameters.java index 52313e37ea54b..a3e829010d284 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionUpdateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasDefinitionUpdateParameters.java @@ -1,148 +1,148 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The SAS definition update parameters. - */ -public class SasDefinitionUpdateParameters { - /** - * 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. - */ - @JsonProperty(value = "templateUri") - private String templateUri; - - /** - * The type of SAS token the SAS definition will create. Possible values - * include: 'account', 'service'. - */ - @JsonProperty(value = "sasType") - private SasTokenType sasType; - - /** - * The validity period of SAS tokens created according to the SAS - * definition. - */ - @JsonProperty(value = "validityPeriod") - private String validityPeriod; - - /** - * The attributes of the SAS definition. - */ - @JsonProperty(value = "attributes") - private SasDefinitionAttributes sasDefinitionAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the templateUri value. - * - * @return the templateUri value - */ - public String templateUri() { - return this.templateUri; - } - - /** - * Set the templateUri value. - * - * @param templateUri the templateUri value to set - * @return the SasDefinitionUpdateParameters object itself. - */ - public SasDefinitionUpdateParameters withTemplateUri(String templateUri) { - this.templateUri = templateUri; - return this; - } - - /** - * Get the sasType value. - * - * @return the sasType value - */ - public SasTokenType sasType() { - return this.sasType; - } - - /** - * Set the sasType value. - * - * @param sasType the sasType value to set - * @return the SasDefinitionUpdateParameters object itself. - */ - public SasDefinitionUpdateParameters withSasType(SasTokenType sasType) { - this.sasType = sasType; - return this; - } - - /** - * Get the validityPeriod value. - * - * @return the validityPeriod value - */ - public String validityPeriod() { - return this.validityPeriod; - } - - /** - * Set the validityPeriod value. - * - * @param validityPeriod the validityPeriod value to set - * @return the SasDefinitionUpdateParameters object itself. - */ - public SasDefinitionUpdateParameters withValidityPeriod(String validityPeriod) { - this.validityPeriod = validityPeriod; - return this; - } - - /** - * Get the sasDefinitionAttributes value. - * - * @return the sasDefinitionAttributes value - */ - public SasDefinitionAttributes sasDefinitionAttributes() { - return this.sasDefinitionAttributes; - } - - /** - * Set the sasDefinitionAttributes value. - * - * @param sasDefinitionAttributes the sasDefinitionAttributes value to set - * @return the SasDefinitionUpdateParameters object itself. - */ - public SasDefinitionUpdateParameters withSasDefinitionAttributes(SasDefinitionAttributes sasDefinitionAttributes) { - this.sasDefinitionAttributes = sasDefinitionAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the SasDefinitionUpdateParameters object itself. - */ - public SasDefinitionUpdateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The SAS definition update parameters. + */ +public class SasDefinitionUpdateParameters { + /** + * 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. + */ + @JsonProperty(value = "templateUri") + private String templateUri; + + /** + * The type of SAS token the SAS definition will create. Possible values + * include: 'account', 'service'. + */ + @JsonProperty(value = "sasType") + private SasTokenType sasType; + + /** + * The validity period of SAS tokens created according to the SAS + * definition. + */ + @JsonProperty(value = "validityPeriod") + private String validityPeriod; + + /** + * The attributes of the SAS definition. + */ + @JsonProperty(value = "attributes") + private SasDefinitionAttributes sasDefinitionAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the templateUri value. + * + * @return the templateUri value + */ + public String templateUri() { + return this.templateUri; + } + + /** + * Set the templateUri value. + * + * @param templateUri the templateUri value to set + * @return the SasDefinitionUpdateParameters object itself. + */ + public SasDefinitionUpdateParameters withTemplateUri(String templateUri) { + this.templateUri = templateUri; + return this; + } + + /** + * Get the sasType value. + * + * @return the sasType value + */ + public SasTokenType sasType() { + return this.sasType; + } + + /** + * Set the sasType value. + * + * @param sasType the sasType value to set + * @return the SasDefinitionUpdateParameters object itself. + */ + public SasDefinitionUpdateParameters withSasType(SasTokenType sasType) { + this.sasType = sasType; + return this; + } + + /** + * Get the validityPeriod value. + * + * @return the validityPeriod value + */ + public String validityPeriod() { + return this.validityPeriod; + } + + /** + * Set the validityPeriod value. + * + * @param validityPeriod the validityPeriod value to set + * @return the SasDefinitionUpdateParameters object itself. + */ + public SasDefinitionUpdateParameters withValidityPeriod(String validityPeriod) { + this.validityPeriod = validityPeriod; + return this; + } + + /** + * Get the sasDefinitionAttributes value. + * + * @return the sasDefinitionAttributes value + */ + public SasDefinitionAttributes sasDefinitionAttributes() { + return this.sasDefinitionAttributes; + } + + /** + * Set the sasDefinitionAttributes value. + * + * @param sasDefinitionAttributes the sasDefinitionAttributes value to set + * @return the SasDefinitionUpdateParameters object itself. + */ + public SasDefinitionUpdateParameters withSasDefinitionAttributes(SasDefinitionAttributes sasDefinitionAttributes) { + this.sasDefinitionAttributes = sasDefinitionAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the SasDefinitionUpdateParameters object itself. + */ + public SasDefinitionUpdateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasTokenType.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasTokenType.java index c70c84245875f..393eb2988f05a 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasTokenType.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SasTokenType.java @@ -1,55 +1,55 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonValue; - -/** - * Defines values for SasTokenType. - */ -public final class SasTokenType { - /** Static value account for SasTokenType. */ - public static final SasTokenType ACCOUNT = new SasTokenType("account"); - - /** Static value service for SasTokenType. */ - public static final SasTokenType SERVICE = new SasTokenType("service"); - - private String value; - - /** - * Creates a custom value for SasTokenType. - * @param value the custom value - */ - public SasTokenType(String value) { - this.value = value; - } - - @JsonValue - @Override - public String toString() { - return value; - } - - @Override - public int hashCode() { - return value.hashCode(); - } - - @Override - public boolean equals(Object obj) { - if (!(obj instanceof SasTokenType)) { - return false; - } - if (obj == this) { - return true; - } - SasTokenType rhs = (SasTokenType) obj; - if (value == null) { - return rhs.value == null; - } else { - return value.equals(rhs.value); - } - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for SasTokenType. + */ +public final class SasTokenType { + /** Static value account for SasTokenType. */ + public static final SasTokenType ACCOUNT = new SasTokenType("account"); + + /** Static value service for SasTokenType. */ + public static final SasTokenType SERVICE = new SasTokenType("service"); + + private String value; + + /** + * Creates a custom value for SasTokenType. + * @param value the custom value + */ + public SasTokenType(String value) { + this.value = value; + } + + @JsonValue + @Override + public String toString() { + return value; + } + + @Override + public int hashCode() { + return value.hashCode(); + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof SasTokenType)) { + return false; + } + if (obj == this) { + return true; + } + SasTokenType rhs = (SasTokenType) obj; + if (value == null) { + return rhs.value == null; + } else { + return value.equals(rhs.value); + } + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretAttributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretAttributes.java index ab99ea57b5191..11a26872a69e2 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretAttributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretAttributes.java @@ -1,33 +1,33 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The secret management attributes. - */ -public class SecretAttributes extends Attributes { - /** - * Reflects the deletion recovery level currently in effect for secrets in - * the current vault. If it contains 'Purgeable', the secret can be - * permanently deleted by a privileged user; otherwise, only the system can - * purge the secret, at the end of the retention interval. Possible values - * include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', - * 'Recoverable+ProtectedSubscription'. - */ - @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) - private DeletionRecoveryLevel recoveryLevel; - - /** - * Get the recoveryLevel value. - * - * @return the recoveryLevel value - */ - public DeletionRecoveryLevel recoveryLevel() { - return this.recoveryLevel; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The secret management attributes. + */ +public class SecretAttributes extends Attributes { + /** + * Reflects the deletion recovery level currently in effect for secrets in + * the current vault. If it contains 'Purgeable', the secret can be + * permanently deleted by a privileged user; otherwise, only the system can + * purge the secret, at the end of the retention interval. Possible values + * include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', + * 'Recoverable+ProtectedSubscription'. + */ + @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) + private DeletionRecoveryLevel recoveryLevel; + + /** + * Get the recoveryLevel value. + * + * @return the recoveryLevel value + */ + public DeletionRecoveryLevel recoveryLevel() { + return this.recoveryLevel; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretBundle.java index e2c479072e8c6..496e9c7aa6244 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretBundle.java @@ -1,176 +1,176 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A secret consisting of a value, id and its attributes. - */ -public class SecretBundle extends com.microsoft.azure.keyvault.models.custom.SecretBundle { - /** - * The secret value. - */ - @JsonProperty(value = "value") - private String value; - - /** - * The secret id. - */ - @JsonProperty(value = "id") - private String id; - - /** - * The content type of the secret. - */ - @JsonProperty(value = "contentType") - private String contentType; - - /** - * The secret management attributes. - */ - @JsonProperty(value = "attributes") - private SecretAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * If this is a secret backing a KV certificate, then this field specifies - * the corresponding key backing the KV certificate. - */ - @JsonProperty(value = "kid", access = JsonProperty.Access.WRITE_ONLY) - private String kid; - - /** - * True if the secret's lifetime is managed by key vault. If this is a - * secret backing a certificate, then managed will be true. - */ - @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) - private Boolean managed; - - /** - * Get the value value. - * - * @return the value value - */ - public String value() { - return this.value; - } - - /** - * Set the value value. - * - * @param value the value value to set - * @return the SecretBundle object itself. - */ - public SecretBundle withValue(String value) { - this.value = value; - return this; - } - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - * @return the SecretBundle object itself. - */ - public SecretBundle withId(String id) { - this.id = id; - return this; - } - - /** - * Get the contentType value. - * - * @return the contentType value - */ - public String contentType() { - return this.contentType; - } - - /** - * Set the contentType value. - * - * @param contentType the contentType value to set - * @return the SecretBundle object itself. - */ - public SecretBundle withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public SecretAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the SecretBundle object itself. - */ - public SecretBundle withAttributes(SecretAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the SecretBundle object itself. - */ - public SecretBundle withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the kid value. - * - * @return the kid value - */ - public String kid() { - return this.kid; - } - - /** - * Get the managed value. - * - * @return the managed value - */ - public Boolean managed() { - return this.managed; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A secret consisting of a value, id and its attributes. + */ +public class SecretBundle extends com.microsoft.azure.keyvault.models.custom.SecretBundle { + /** + * The secret value. + */ + @JsonProperty(value = "value") + private String value; + + /** + * The secret id. + */ + @JsonProperty(value = "id") + private String id; + + /** + * The content type of the secret. + */ + @JsonProperty(value = "contentType") + private String contentType; + + /** + * The secret management attributes. + */ + @JsonProperty(value = "attributes") + private SecretAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * If this is a secret backing a KV certificate, then this field specifies + * the corresponding key backing the KV certificate. + */ + @JsonProperty(value = "kid", access = JsonProperty.Access.WRITE_ONLY) + private String kid; + + /** + * True if the secret's lifetime is managed by key vault. If this is a + * secret backing a certificate, then managed will be true. + */ + @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) + private Boolean managed; + + /** + * Get the value value. + * + * @return the value value + */ + public String value() { + return this.value; + } + + /** + * Set the value value. + * + * @param value the value value to set + * @return the SecretBundle object itself. + */ + public SecretBundle withValue(String value) { + this.value = value; + return this; + } + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + * @return the SecretBundle object itself. + */ + public SecretBundle withId(String id) { + this.id = id; + return this; + } + + /** + * Get the contentType value. + * + * @return the contentType value + */ + public String contentType() { + return this.contentType; + } + + /** + * Set the contentType value. + * + * @param contentType the contentType value to set + * @return the SecretBundle object itself. + */ + public SecretBundle withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public SecretAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the SecretBundle object itself. + */ + public SecretBundle withAttributes(SecretAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the SecretBundle object itself. + */ + public SecretBundle withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the kid value. + * + * @return the kid value + */ + public String kid() { + return this.kid; + } + + /** + * Get the managed value. + * + * @return the managed value + */ + public Boolean managed() { + return this.managed; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretItem.java index aac61ca01758d..edc2c6c1765d7 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretItem.java @@ -1,134 +1,134 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The secret item containing secret metadata. - */ -public class SecretItem { - /** - * Secret identifier. - */ - @JsonProperty(value = "id") - private String id; - - /** - * The secret management attributes. - */ - @JsonProperty(value = "attributes") - private SecretAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Type of the secret value such as a password. - */ - @JsonProperty(value = "contentType") - private String contentType; - - /** - * True if the secret's lifetime is managed by key vault. If this is a key - * backing a certificate, then managed will be true. - */ - @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) - private Boolean managed; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Set the id value. - * - * @param id the id value to set - * @return the SecretItem object itself. - */ - public SecretItem withId(String id) { - this.id = id; - return this; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public SecretAttributes attributes() { - return this.attributes; - } - - /** - * Set the attributes value. - * - * @param attributes the attributes value to set - * @return the SecretItem object itself. - */ - public SecretItem withAttributes(SecretAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the SecretItem object itself. - */ - public SecretItem withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the contentType value. - * - * @return the contentType value - */ - public String contentType() { - return this.contentType; - } - - /** - * Set the contentType value. - * - * @param contentType the contentType value to set - * @return the SecretItem object itself. - */ - public SecretItem withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Get the managed value. - * - * @return the managed value - */ - public Boolean managed() { - return this.managed; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The secret item containing secret metadata. + */ +public class SecretItem { + /** + * Secret identifier. + */ + @JsonProperty(value = "id") + private String id; + + /** + * The secret management attributes. + */ + @JsonProperty(value = "attributes") + private SecretAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Type of the secret value such as a password. + */ + @JsonProperty(value = "contentType") + private String contentType; + + /** + * True if the secret's lifetime is managed by key vault. If this is a key + * backing a certificate, then managed will be true. + */ + @JsonProperty(value = "managed", access = JsonProperty.Access.WRITE_ONLY) + private Boolean managed; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Set the id value. + * + * @param id the id value to set + * @return the SecretItem object itself. + */ + public SecretItem withId(String id) { + this.id = id; + return this; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public SecretAttributes attributes() { + return this.attributes; + } + + /** + * Set the attributes value. + * + * @param attributes the attributes value to set + * @return the SecretItem object itself. + */ + public SecretItem withAttributes(SecretAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the SecretItem object itself. + */ + public SecretItem withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the contentType value. + * + * @return the contentType value + */ + public String contentType() { + return this.contentType; + } + + /** + * Set the contentType value. + * + * @param contentType the contentType value to set + * @return the SecretItem object itself. + */ + public SecretItem withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Get the managed value. + * + * @return the managed value + */ + public Boolean managed() { + return this.managed; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretProperties.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretProperties.java index acac04eb1f44e..e72dbeeebcb59 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretProperties.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretProperties.java @@ -1,39 +1,39 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Properties of the key backing a certificate. - */ -public class SecretProperties { - /** - * The media type (MIME type). - */ - @JsonProperty(value = "contentType") - private String contentType; - - /** - * Get the contentType value. - * - * @return the contentType value - */ - public String contentType() { - return this.contentType; - } - - /** - * Set the contentType value. - * - * @param contentType the contentType value to set - * @return the SecretProperties object itself. - */ - public SecretProperties withContentType(String contentType) { - this.contentType = contentType; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Properties of the key backing a certificate. + */ +public class SecretProperties { + /** + * The media type (MIME type). + */ + @JsonProperty(value = "contentType") + private String contentType; + + /** + * Get the contentType value. + * + * @return the contentType value + */ + public String contentType() { + return this.contentType; + } + + /** + * Set the contentType value. + * + * @param contentType the contentType value to set + * @return the SecretProperties object itself. + */ + public SecretProperties withContentType(String contentType) { + this.contentType = contentType; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretRestoreParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretRestoreParameters.java index 1695756c2c8f3..3459a2e51a4e2 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretRestoreParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretRestoreParameters.java @@ -1,47 +1,47 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The secret restore parameters. - */ -public class SecretRestoreParameters { - /** - * The backup blob associated with a secret bundle. - */ - @JsonProperty(value = "value", required = true) - private Base64Url secretBundleBackup; - - /** - * Get the secretBundleBackup value. - * - * @return the secretBundleBackup value - */ - public byte[] secretBundleBackup() { - if (this.secretBundleBackup == null) { - return null; - } - return this.secretBundleBackup.decodedBytes(); - } - - /** - * Set the secretBundleBackup value. - * - * @param secretBundleBackup the secretBundleBackup value to set - * @return the SecretRestoreParameters object itself. - */ - public SecretRestoreParameters withSecretBundleBackup(byte[] secretBundleBackup) { - if (secretBundleBackup == null) { - this.secretBundleBackup = null; - } else { - this.secretBundleBackup = Base64Url.encode(secretBundleBackup); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The secret restore parameters. + */ +public class SecretRestoreParameters { + /** + * The backup blob associated with a secret bundle. + */ + @JsonProperty(value = "value", required = true) + private Base64Url secretBundleBackup; + + /** + * Get the secretBundleBackup value. + * + * @return the secretBundleBackup value + */ + public byte[] secretBundleBackup() { + if (this.secretBundleBackup == null) { + return null; + } + return this.secretBundleBackup.decodedBytes(); + } + + /** + * Set the secretBundleBackup value. + * + * @param secretBundleBackup the secretBundleBackup value to set + * @return the SecretRestoreParameters object itself. + */ + public SecretRestoreParameters withSecretBundleBackup(byte[] secretBundleBackup) { + if (secretBundleBackup == null) { + this.secretBundleBackup = null; + } else { + this.secretBundleBackup = Base64Url.encode(secretBundleBackup); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretSetParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretSetParameters.java index 2afab609eb79b..c470c8f4afbba 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretSetParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretSetParameters.java @@ -1,118 +1,118 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The secret set parameters. - */ -public class SecretSetParameters { - /** - * The value of the secret. - */ - @JsonProperty(value = "value", required = true) - private String value; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Type of the secret value such as a password. - */ - @JsonProperty(value = "contentType") - private String contentType; - - /** - * The secret management attributes. - */ - @JsonProperty(value = "attributes") - private SecretAttributes secretAttributes; - - /** - * Get the value value. - * - * @return the value value - */ - public String value() { - return this.value; - } - - /** - * Set the value value. - * - * @param value the value value to set - * @return the SecretSetParameters object itself. - */ - public SecretSetParameters withValue(String value) { - this.value = value; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the SecretSetParameters object itself. - */ - public SecretSetParameters withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Get the contentType value. - * - * @return the contentType value - */ - public String contentType() { - return this.contentType; - } - - /** - * Set the contentType value. - * - * @param contentType the contentType value to set - * @return the SecretSetParameters object itself. - */ - public SecretSetParameters withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Get the secretAttributes value. - * - * @return the secretAttributes value - */ - public SecretAttributes secretAttributes() { - return this.secretAttributes; - } - - /** - * Set the secretAttributes value. - * - * @param secretAttributes the secretAttributes value to set - * @return the SecretSetParameters object itself. - */ - public SecretSetParameters withSecretAttributes(SecretAttributes secretAttributes) { - this.secretAttributes = secretAttributes; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The secret set parameters. + */ +public class SecretSetParameters { + /** + * The value of the secret. + */ + @JsonProperty(value = "value", required = true) + private String value; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Type of the secret value such as a password. + */ + @JsonProperty(value = "contentType") + private String contentType; + + /** + * The secret management attributes. + */ + @JsonProperty(value = "attributes") + private SecretAttributes secretAttributes; + + /** + * Get the value value. + * + * @return the value value + */ + public String value() { + return this.value; + } + + /** + * Set the value value. + * + * @param value the value value to set + * @return the SecretSetParameters object itself. + */ + public SecretSetParameters withValue(String value) { + this.value = value; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the SecretSetParameters object itself. + */ + public SecretSetParameters withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get the contentType value. + * + * @return the contentType value + */ + public String contentType() { + return this.contentType; + } + + /** + * Set the contentType value. + * + * @param contentType the contentType value to set + * @return the SecretSetParameters object itself. + */ + public SecretSetParameters withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Get the secretAttributes value. + * + * @return the secretAttributes value + */ + public SecretAttributes secretAttributes() { + return this.secretAttributes; + } + + /** + * Set the secretAttributes value. + * + * @param secretAttributes the secretAttributes value to set + * @return the SecretSetParameters object itself. + */ + public SecretSetParameters withSecretAttributes(SecretAttributes secretAttributes) { + this.secretAttributes = secretAttributes; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretUpdateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretUpdateParameters.java index 4e0100aa9dc4d..c52b0b925d4b2 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretUpdateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SecretUpdateParameters.java @@ -1,92 +1,92 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The secret update parameters. - */ -public class SecretUpdateParameters { - /** - * Type of the secret value such as a password. - */ - @JsonProperty(value = "contentType") - private String contentType; - - /** - * The secret management attributes. - */ - @JsonProperty(value = "attributes") - private SecretAttributes secretAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the contentType value. - * - * @return the contentType value - */ - public String contentType() { - return this.contentType; - } - - /** - * Set the contentType value. - * - * @param contentType the contentType value to set - * @return the SecretUpdateParameters object itself. - */ - public SecretUpdateParameters withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Get the secretAttributes value. - * - * @return the secretAttributes value - */ - public SecretAttributes secretAttributes() { - return this.secretAttributes; - } - - /** - * Set the secretAttributes value. - * - * @param secretAttributes the secretAttributes value to set - * @return the SecretUpdateParameters object itself. - */ - public SecretUpdateParameters withSecretAttributes(SecretAttributes secretAttributes) { - this.secretAttributes = secretAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the SecretUpdateParameters object itself. - */ - public SecretUpdateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The secret update parameters. + */ +public class SecretUpdateParameters { + /** + * Type of the secret value such as a password. + */ + @JsonProperty(value = "contentType") + private String contentType; + + /** + * The secret management attributes. + */ + @JsonProperty(value = "attributes") + private SecretAttributes secretAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the contentType value. + * + * @return the contentType value + */ + public String contentType() { + return this.contentType; + } + + /** + * Set the contentType value. + * + * @param contentType the contentType value to set + * @return the SecretUpdateParameters object itself. + */ + public SecretUpdateParameters withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Get the secretAttributes value. + * + * @return the secretAttributes value + */ + public SecretAttributes secretAttributes() { + return this.secretAttributes; + } + + /** + * Set the secretAttributes value. + * + * @param secretAttributes the secretAttributes value to set + * @return the SecretUpdateParameters object itself. + */ + public SecretUpdateParameters withSecretAttributes(SecretAttributes secretAttributes) { + this.secretAttributes = secretAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the SecretUpdateParameters object itself. + */ + public SecretUpdateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountAttributes.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountAttributes.java index 701feddbf6666..442753c5e394b 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountAttributes.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountAttributes.java @@ -1,97 +1,97 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import org.joda.time.DateTime; -import org.joda.time.DateTimeZone; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The storage account management attributes. - */ -public class StorageAccountAttributes { - /** - * the enabled state of the object. - */ - @JsonProperty(value = "enabled") - private Boolean enabled; - - /** - * Creation time in UTC. - */ - @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) - private Long created; - - /** - * Last updated time in UTC. - */ - @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) - private Long updated; - - /** - * Reflects the deletion recovery level currently in effect for storage - * accounts in the current vault. If it contains 'Purgeable' the storage - * account can be permanently deleted by a privileged user; otherwise, only - * the system can purge the storage account, at the end of the retention - * interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', - * 'Recoverable', 'Recoverable+ProtectedSubscription'. - */ - @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) - private DeletionRecoveryLevel recoveryLevel; - - /** - * Get the enabled value. - * - * @return the enabled value - */ - public Boolean enabled() { - return this.enabled; - } - - /** - * Set the enabled value. - * - * @param enabled the enabled value to set - * @return the StorageAccountAttributes object itself. - */ - public StorageAccountAttributes withEnabled(Boolean enabled) { - this.enabled = enabled; - return this; - } - - /** - * Get the created value. - * - * @return the created value - */ - public DateTime created() { - if (this.created == null) { - return null; - } - return new DateTime(this.created * 1000L, DateTimeZone.UTC); - } - - /** - * Get the updated value. - * - * @return the updated value - */ - public DateTime updated() { - if (this.updated == null) { - return null; - } - return new DateTime(this.updated * 1000L, DateTimeZone.UTC); - } - - /** - * Get the recoveryLevel value. - * - * @return the recoveryLevel value - */ - public DeletionRecoveryLevel recoveryLevel() { - return this.recoveryLevel; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import org.joda.time.DateTime; +import org.joda.time.DateTimeZone; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The storage account management attributes. + */ +public class StorageAccountAttributes { + /** + * the enabled state of the object. + */ + @JsonProperty(value = "enabled") + private Boolean enabled; + + /** + * Creation time in UTC. + */ + @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY) + private Long created; + + /** + * Last updated time in UTC. + */ + @JsonProperty(value = "updated", access = JsonProperty.Access.WRITE_ONLY) + private Long updated; + + /** + * Reflects the deletion recovery level currently in effect for storage + * accounts in the current vault. If it contains 'Purgeable' the storage + * account can be permanently deleted by a privileged user; otherwise, only + * the system can purge the storage account, at the end of the retention + * interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', + * 'Recoverable', 'Recoverable+ProtectedSubscription'. + */ + @JsonProperty(value = "recoveryLevel", access = JsonProperty.Access.WRITE_ONLY) + private DeletionRecoveryLevel recoveryLevel; + + /** + * Get the enabled value. + * + * @return the enabled value + */ + public Boolean enabled() { + return this.enabled; + } + + /** + * Set the enabled value. + * + * @param enabled the enabled value to set + * @return the StorageAccountAttributes object itself. + */ + public StorageAccountAttributes withEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the created value. + * + * @return the created value + */ + public DateTime created() { + if (this.created == null) { + return null; + } + return new DateTime(this.created * 1000L, DateTimeZone.UTC); + } + + /** + * Get the updated value. + * + * @return the updated value + */ + public DateTime updated() { + if (this.updated == null) { + return null; + } + return new DateTime(this.updated * 1000L, DateTimeZone.UTC); + } + + /** + * Get the recoveryLevel value. + * + * @return the recoveryLevel value + */ + public DeletionRecoveryLevel recoveryLevel() { + return this.recoveryLevel; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountCreateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountCreateParameters.java index 50f8c4c1bd57d..f4dd64950b3e2 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountCreateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountCreateParameters.java @@ -1,170 +1,170 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The storage account create parameters. - */ -public class StorageAccountCreateParameters { - /** - * Storage account resource id. - */ - @JsonProperty(value = "resourceId", required = true) - private String resourceId; - - /** - * Current active storage account key name. - */ - @JsonProperty(value = "activeKeyName", required = true) - private String activeKeyName; - - /** - * whether keyvault should manage the storage account for the user. - */ - @JsonProperty(value = "autoRegenerateKey", required = true) - private boolean autoRegenerateKey; - - /** - * The key regeneration time duration specified in ISO-8601 format. - */ - @JsonProperty(value = "regenerationPeriod") - private String regenerationPeriod; - - /** - * The attributes of the storage account. - */ - @JsonProperty(value = "attributes") - private StorageAccountAttributes storageAccountAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the resourceId value. - * - * @return the resourceId value - */ - public String resourceId() { - return this.resourceId; - } - - /** - * Set the resourceId value. - * - * @param resourceId the resourceId value to set - * @return the StorageAccountCreateParameters object itself. - */ - public StorageAccountCreateParameters withResourceId(String resourceId) { - this.resourceId = resourceId; - return this; - } - - /** - * Get the activeKeyName value. - * - * @return the activeKeyName value - */ - public String activeKeyName() { - return this.activeKeyName; - } - - /** - * Set the activeKeyName value. - * - * @param activeKeyName the activeKeyName value to set - * @return the StorageAccountCreateParameters object itself. - */ - public StorageAccountCreateParameters withActiveKeyName(String activeKeyName) { - this.activeKeyName = activeKeyName; - return this; - } - - /** - * Get the autoRegenerateKey value. - * - * @return the autoRegenerateKey value - */ - public boolean autoRegenerateKey() { - return this.autoRegenerateKey; - } - - /** - * Set the autoRegenerateKey value. - * - * @param autoRegenerateKey the autoRegenerateKey value to set - * @return the StorageAccountCreateParameters object itself. - */ - public StorageAccountCreateParameters withAutoRegenerateKey(boolean autoRegenerateKey) { - this.autoRegenerateKey = autoRegenerateKey; - return this; - } - - /** - * Get the regenerationPeriod value. - * - * @return the regenerationPeriod value - */ - public String regenerationPeriod() { - return this.regenerationPeriod; - } - - /** - * Set the regenerationPeriod value. - * - * @param regenerationPeriod the regenerationPeriod value to set - * @return the StorageAccountCreateParameters object itself. - */ - public StorageAccountCreateParameters withRegenerationPeriod(String regenerationPeriod) { - this.regenerationPeriod = regenerationPeriod; - return this; - } - - /** - * Get the storageAccountAttributes value. - * - * @return the storageAccountAttributes value - */ - public StorageAccountAttributes storageAccountAttributes() { - return this.storageAccountAttributes; - } - - /** - * Set the storageAccountAttributes value. - * - * @param storageAccountAttributes the storageAccountAttributes value to set - * @return the StorageAccountCreateParameters object itself. - */ - public StorageAccountCreateParameters withStorageAccountAttributes(StorageAccountAttributes storageAccountAttributes) { - this.storageAccountAttributes = storageAccountAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the StorageAccountCreateParameters object itself. - */ - public StorageAccountCreateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The storage account create parameters. + */ +public class StorageAccountCreateParameters { + /** + * Storage account resource id. + */ + @JsonProperty(value = "resourceId", required = true) + private String resourceId; + + /** + * Current active storage account key name. + */ + @JsonProperty(value = "activeKeyName", required = true) + private String activeKeyName; + + /** + * whether keyvault should manage the storage account for the user. + */ + @JsonProperty(value = "autoRegenerateKey", required = true) + private boolean autoRegenerateKey; + + /** + * The key regeneration time duration specified in ISO-8601 format. + */ + @JsonProperty(value = "regenerationPeriod") + private String regenerationPeriod; + + /** + * The attributes of the storage account. + */ + @JsonProperty(value = "attributes") + private StorageAccountAttributes storageAccountAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the resourceId value. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Set the resourceId value. + * + * @param resourceId the resourceId value to set + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withResourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * Get the activeKeyName value. + * + * @return the activeKeyName value + */ + public String activeKeyName() { + return this.activeKeyName; + } + + /** + * Set the activeKeyName value. + * + * @param activeKeyName the activeKeyName value to set + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withActiveKeyName(String activeKeyName) { + this.activeKeyName = activeKeyName; + return this; + } + + /** + * Get the autoRegenerateKey value. + * + * @return the autoRegenerateKey value + */ + public boolean autoRegenerateKey() { + return this.autoRegenerateKey; + } + + /** + * Set the autoRegenerateKey value. + * + * @param autoRegenerateKey the autoRegenerateKey value to set + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withAutoRegenerateKey(boolean autoRegenerateKey) { + this.autoRegenerateKey = autoRegenerateKey; + return this; + } + + /** + * Get the regenerationPeriod value. + * + * @return the regenerationPeriod value + */ + public String regenerationPeriod() { + return this.regenerationPeriod; + } + + /** + * Set the regenerationPeriod value. + * + * @param regenerationPeriod the regenerationPeriod value to set + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withRegenerationPeriod(String regenerationPeriod) { + this.regenerationPeriod = regenerationPeriod; + return this; + } + + /** + * Get the storageAccountAttributes value. + * + * @return the storageAccountAttributes value + */ + public StorageAccountAttributes storageAccountAttributes() { + return this.storageAccountAttributes; + } + + /** + * Set the storageAccountAttributes value. + * + * @param storageAccountAttributes the storageAccountAttributes value to set + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withStorageAccountAttributes(StorageAccountAttributes storageAccountAttributes) { + this.storageAccountAttributes = storageAccountAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountItem.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountItem.java index 70e288af2d090..451e48cc157b9 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountItem.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountItem.java @@ -1,74 +1,74 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The storage account item containing storage account metadata. - */ -public class StorageAccountItem { - /** - * Storage identifier. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * Storage account resource Id. - */ - @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY) - private String resourceId; - - /** - * The storage account management attributes. - */ - @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) - private StorageAccountAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the resourceId value. - * - * @return the resourceId value - */ - public String resourceId() { - return this.resourceId; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public StorageAccountAttributes attributes() { - return this.attributes; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The storage account item containing storage account metadata. + */ +public class StorageAccountItem { + /** + * Storage identifier. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * Storage account resource Id. + */ + @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY) + private String resourceId; + + /** + * The storage account management attributes. + */ + @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) + private StorageAccountAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) + private Map tags; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the resourceId value. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public StorageAccountAttributes attributes() { + return this.attributes; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountRegenerteKeyParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountRegenerteKeyParameters.java index 45984e8eccebe..e5c7342af17bc 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountRegenerteKeyParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountRegenerteKeyParameters.java @@ -1,39 +1,39 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The storage account key regenerate parameters. - */ -public class StorageAccountRegenerteKeyParameters { - /** - * The storage account key name. - */ - @JsonProperty(value = "keyName", required = true) - private String keyName; - - /** - * Get the keyName value. - * - * @return the keyName value - */ - public String keyName() { - return this.keyName; - } - - /** - * Set the keyName value. - * - * @param keyName the keyName value to set - * @return the StorageAccountRegenerteKeyParameters object itself. - */ - public StorageAccountRegenerteKeyParameters withKeyName(String keyName) { - this.keyName = keyName; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The storage account key regenerate parameters. + */ +public class StorageAccountRegenerteKeyParameters { + /** + * The storage account key name. + */ + @JsonProperty(value = "keyName", required = true) + private String keyName; + + /** + * Get the keyName value. + * + * @return the keyName value + */ + public String keyName() { + return this.keyName; + } + + /** + * Set the keyName value. + * + * @param keyName the keyName value to set + * @return the StorageAccountRegenerteKeyParameters object itself. + */ + public StorageAccountRegenerteKeyParameters withKeyName(String keyName) { + this.keyName = keyName; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountUpdateParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountUpdateParameters.java index 9f4832c2a09af..ac5ccace0d27e 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountUpdateParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageAccountUpdateParameters.java @@ -1,144 +1,144 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The storage account update parameters. - */ -public class StorageAccountUpdateParameters { - /** - * The current active storage account key name. - */ - @JsonProperty(value = "activeKeyName") - private String activeKeyName; - - /** - * whether keyvault should manage the storage account for the user. - */ - @JsonProperty(value = "autoRegenerateKey") - private Boolean autoRegenerateKey; - - /** - * The key regeneration time duration specified in ISO-8601 format. - */ - @JsonProperty(value = "regenerationPeriod") - private String regenerationPeriod; - - /** - * The attributes of the storage account. - */ - @JsonProperty(value = "attributes") - private StorageAccountAttributes storageAccountAttributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags") - private Map tags; - - /** - * Get the activeKeyName value. - * - * @return the activeKeyName value - */ - public String activeKeyName() { - return this.activeKeyName; - } - - /** - * Set the activeKeyName value. - * - * @param activeKeyName the activeKeyName value to set - * @return the StorageAccountUpdateParameters object itself. - */ - public StorageAccountUpdateParameters withActiveKeyName(String activeKeyName) { - this.activeKeyName = activeKeyName; - return this; - } - - /** - * Get the autoRegenerateKey value. - * - * @return the autoRegenerateKey value - */ - public Boolean autoRegenerateKey() { - return this.autoRegenerateKey; - } - - /** - * Set the autoRegenerateKey value. - * - * @param autoRegenerateKey the autoRegenerateKey value to set - * @return the StorageAccountUpdateParameters object itself. - */ - public StorageAccountUpdateParameters withAutoRegenerateKey(Boolean autoRegenerateKey) { - this.autoRegenerateKey = autoRegenerateKey; - return this; - } - - /** - * Get the regenerationPeriod value. - * - * @return the regenerationPeriod value - */ - public String regenerationPeriod() { - return this.regenerationPeriod; - } - - /** - * Set the regenerationPeriod value. - * - * @param regenerationPeriod the regenerationPeriod value to set - * @return the StorageAccountUpdateParameters object itself. - */ - public StorageAccountUpdateParameters withRegenerationPeriod(String regenerationPeriod) { - this.regenerationPeriod = regenerationPeriod; - return this; - } - - /** - * Get the storageAccountAttributes value. - * - * @return the storageAccountAttributes value - */ - public StorageAccountAttributes storageAccountAttributes() { - return this.storageAccountAttributes; - } - - /** - * Set the storageAccountAttributes value. - * - * @param storageAccountAttributes the storageAccountAttributes value to set - * @return the StorageAccountUpdateParameters object itself. - */ - public StorageAccountUpdateParameters withStorageAccountAttributes(StorageAccountAttributes storageAccountAttributes) { - this.storageAccountAttributes = storageAccountAttributes; - return this; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - - /** - * Set the tags value. - * - * @param tags the tags value to set - * @return the StorageAccountUpdateParameters object itself. - */ - public StorageAccountUpdateParameters withTags(Map tags) { - this.tags = tags; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The storage account update parameters. + */ +public class StorageAccountUpdateParameters { + /** + * The current active storage account key name. + */ + @JsonProperty(value = "activeKeyName") + private String activeKeyName; + + /** + * whether keyvault should manage the storage account for the user. + */ + @JsonProperty(value = "autoRegenerateKey") + private Boolean autoRegenerateKey; + + /** + * The key regeneration time duration specified in ISO-8601 format. + */ + @JsonProperty(value = "regenerationPeriod") + private String regenerationPeriod; + + /** + * The attributes of the storage account. + */ + @JsonProperty(value = "attributes") + private StorageAccountAttributes storageAccountAttributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Get the activeKeyName value. + * + * @return the activeKeyName value + */ + public String activeKeyName() { + return this.activeKeyName; + } + + /** + * Set the activeKeyName value. + * + * @param activeKeyName the activeKeyName value to set + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withActiveKeyName(String activeKeyName) { + this.activeKeyName = activeKeyName; + return this; + } + + /** + * Get the autoRegenerateKey value. + * + * @return the autoRegenerateKey value + */ + public Boolean autoRegenerateKey() { + return this.autoRegenerateKey; + } + + /** + * Set the autoRegenerateKey value. + * + * @param autoRegenerateKey the autoRegenerateKey value to set + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withAutoRegenerateKey(Boolean autoRegenerateKey) { + this.autoRegenerateKey = autoRegenerateKey; + return this; + } + + /** + * Get the regenerationPeriod value. + * + * @return the regenerationPeriod value + */ + public String regenerationPeriod() { + return this.regenerationPeriod; + } + + /** + * Set the regenerationPeriod value. + * + * @param regenerationPeriod the regenerationPeriod value to set + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withRegenerationPeriod(String regenerationPeriod) { + this.regenerationPeriod = regenerationPeriod; + return this; + } + + /** + * Get the storageAccountAttributes value. + * + * @return the storageAccountAttributes value + */ + public StorageAccountAttributes storageAccountAttributes() { + return this.storageAccountAttributes; + } + + /** + * Set the storageAccountAttributes value. + * + * @param storageAccountAttributes the storageAccountAttributes value to set + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withStorageAccountAttributes(StorageAccountAttributes storageAccountAttributes) { + this.storageAccountAttributes = storageAccountAttributes; + return this; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set the tags value. + * + * @param tags the tags value to set + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withTags(Map tags) { + this.tags = tags; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageBundle.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageBundle.java index 8b6a28f1f2e59..74776005a7cc9 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageBundle.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageBundle.java @@ -1,120 +1,120 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A Storage account bundle consists of key vault storage account details plus - * its attributes. - */ -public class StorageBundle { - /** - * The storage account id. - */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) - private String id; - - /** - * The storage account resource id. - */ - @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY) - private String resourceId; - - /** - * The current active storage account key name. - */ - @JsonProperty(value = "activeKeyName", access = JsonProperty.Access.WRITE_ONLY) - private String activeKeyName; - - /** - * whether keyvault should manage the storage account for the user. - */ - @JsonProperty(value = "autoRegenerateKey", access = JsonProperty.Access.WRITE_ONLY) - private Boolean autoRegenerateKey; - - /** - * The key regeneration time duration specified in ISO-8601 format. - */ - @JsonProperty(value = "regenerationPeriod", access = JsonProperty.Access.WRITE_ONLY) - private String regenerationPeriod; - - /** - * The storage account attributes. - */ - @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) - private StorageAccountAttributes attributes; - - /** - * Application specific metadata in the form of key-value pairs. - */ - @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) - private Map tags; - - /** - * Get the id value. - * - * @return the id value - */ - public String id() { - return this.id; - } - - /** - * Get the resourceId value. - * - * @return the resourceId value - */ - public String resourceId() { - return this.resourceId; - } - - /** - * Get the activeKeyName value. - * - * @return the activeKeyName value - */ - public String activeKeyName() { - return this.activeKeyName; - } - - /** - * Get the autoRegenerateKey value. - * - * @return the autoRegenerateKey value - */ - public Boolean autoRegenerateKey() { - return this.autoRegenerateKey; - } - - /** - * Get the regenerationPeriod value. - * - * @return the regenerationPeriod value - */ - public String regenerationPeriod() { - return this.regenerationPeriod; - } - - /** - * Get the attributes value. - * - * @return the attributes value - */ - public StorageAccountAttributes attributes() { - return this.attributes; - } - - /** - * Get the tags value. - * - * @return the tags value - */ - public Map tags() { - return this.tags; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A Storage account bundle consists of key vault storage account details plus + * its attributes. + */ +public class StorageBundle { + /** + * The storage account id. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /** + * The storage account resource id. + */ + @JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY) + private String resourceId; + + /** + * The current active storage account key name. + */ + @JsonProperty(value = "activeKeyName", access = JsonProperty.Access.WRITE_ONLY) + private String activeKeyName; + + /** + * whether keyvault should manage the storage account for the user. + */ + @JsonProperty(value = "autoRegenerateKey", access = JsonProperty.Access.WRITE_ONLY) + private Boolean autoRegenerateKey; + + /** + * The key regeneration time duration specified in ISO-8601 format. + */ + @JsonProperty(value = "regenerationPeriod", access = JsonProperty.Access.WRITE_ONLY) + private String regenerationPeriod; + + /** + * The storage account attributes. + */ + @JsonProperty(value = "attributes", access = JsonProperty.Access.WRITE_ONLY) + private StorageAccountAttributes attributes; + + /** + * Application specific metadata in the form of key-value pairs. + */ + @JsonProperty(value = "tags", access = JsonProperty.Access.WRITE_ONLY) + private Map tags; + + /** + * Get the id value. + * + * @return the id value + */ + public String id() { + return this.id; + } + + /** + * Get the resourceId value. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Get the activeKeyName value. + * + * @return the activeKeyName value + */ + public String activeKeyName() { + return this.activeKeyName; + } + + /** + * Get the autoRegenerateKey value. + * + * @return the autoRegenerateKey value + */ + public Boolean autoRegenerateKey() { + return this.autoRegenerateKey; + } + + /** + * Get the regenerationPeriod value. + * + * @return the regenerationPeriod value + */ + public String regenerationPeriod() { + return this.regenerationPeriod; + } + + /** + * Get the attributes value. + * + * @return the attributes value + */ + public StorageAccountAttributes attributes() { + return this.attributes; + } + + /** + * Get the tags value. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageRestoreParameters.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageRestoreParameters.java index d08e96b89a70e..2c61711a64d23 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageRestoreParameters.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/StorageRestoreParameters.java @@ -1,47 +1,47 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.microsoft.rest.Base64Url; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The secret restore parameters. - */ -public class StorageRestoreParameters { - /** - * The backup blob associated with a storage account. - */ - @JsonProperty(value = "value", required = true) - private Base64Url storageBundleBackup; - - /** - * Get the storageBundleBackup value. - * - * @return the storageBundleBackup value - */ - public byte[] storageBundleBackup() { - if (this.storageBundleBackup == null) { - return null; - } - return this.storageBundleBackup.decodedBytes(); - } - - /** - * Set the storageBundleBackup value. - * - * @param storageBundleBackup the storageBundleBackup value to set - * @return the StorageRestoreParameters object itself. - */ - public StorageRestoreParameters withStorageBundleBackup(byte[] storageBundleBackup) { - if (storageBundleBackup == null) { - this.storageBundleBackup = null; - } else { - this.storageBundleBackup = Base64Url.encode(storageBundleBackup); - } - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.microsoft.rest.Base64Url; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The secret restore parameters. + */ +public class StorageRestoreParameters { + /** + * The backup blob associated with a storage account. + */ + @JsonProperty(value = "value", required = true) + private Base64Url storageBundleBackup; + + /** + * Get the storageBundleBackup value. + * + * @return the storageBundleBackup value + */ + public byte[] storageBundleBackup() { + if (this.storageBundleBackup == null) { + return null; + } + return this.storageBundleBackup.decodedBytes(); + } + + /** + * Set the storageBundleBackup value. + * + * @param storageBundleBackup the storageBundleBackup value to set + * @return the StorageRestoreParameters object itself. + */ + public StorageRestoreParameters withStorageBundleBackup(byte[] storageBundleBackup) { + if (storageBundleBackup == null) { + this.storageBundleBackup = null; + } else { + this.storageBundleBackup = Base64Url.encode(storageBundleBackup); + } + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SubjectAlternativeNames.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SubjectAlternativeNames.java index 4232309ef1302..20398d996da0b 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SubjectAlternativeNames.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/SubjectAlternativeNames.java @@ -1,92 +1,92 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.List; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * The subject alternate names of a X509 object. - */ -public class SubjectAlternativeNames { - /** - * Email addresses. - */ - @JsonProperty(value = "emails") - private List emails; - - /** - * Domain names. - */ - @JsonProperty(value = "dns_names") - private List dnsNames; - - /** - * User principal names. - */ - @JsonProperty(value = "upns") - private List upns; - - /** - * Get the emails value. - * - * @return the emails value - */ - public List emails() { - return this.emails; - } - - /** - * Set the emails value. - * - * @param emails the emails value to set - * @return the SubjectAlternativeNames object itself. - */ - public SubjectAlternativeNames withEmails(List emails) { - this.emails = emails; - return this; - } - - /** - * Get the dnsNames value. - * - * @return the dnsNames value - */ - public List dnsNames() { - return this.dnsNames; - } - - /** - * Set the dnsNames value. - * - * @param dnsNames the dnsNames value to set - * @return the SubjectAlternativeNames object itself. - */ - public SubjectAlternativeNames withDnsNames(List dnsNames) { - this.dnsNames = dnsNames; - return this; - } - - /** - * Get the upns value. - * - * @return the upns value - */ - public List upns() { - return this.upns; - } - - /** - * Set the upns value. - * - * @param upns the upns value to set - * @return the SubjectAlternativeNames object itself. - */ - public SubjectAlternativeNames withUpns(List upns) { - this.upns = upns; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The subject alternate names of a X509 object. + */ +public class SubjectAlternativeNames { + /** + * Email addresses. + */ + @JsonProperty(value = "emails") + private List emails; + + /** + * Domain names. + */ + @JsonProperty(value = "dns_names") + private List dnsNames; + + /** + * User principal names. + */ + @JsonProperty(value = "upns") + private List upns; + + /** + * Get the emails value. + * + * @return the emails value + */ + public List emails() { + return this.emails; + } + + /** + * Set the emails value. + * + * @param emails the emails value to set + * @return the SubjectAlternativeNames object itself. + */ + public SubjectAlternativeNames withEmails(List emails) { + this.emails = emails; + return this; + } + + /** + * Get the dnsNames value. + * + * @return the dnsNames value + */ + public List dnsNames() { + return this.dnsNames; + } + + /** + * Set the dnsNames value. + * + * @param dnsNames the dnsNames value to set + * @return the SubjectAlternativeNames object itself. + */ + public SubjectAlternativeNames withDnsNames(List dnsNames) { + this.dnsNames = dnsNames; + return this; + } + + /** + * Get the upns value. + * + * @return the upns value + */ + public List upns() { + return this.upns; + } + + /** + * Set the upns value. + * + * @param upns the upns value to set + * @return the SubjectAlternativeNames object itself. + */ + public SubjectAlternativeNames withUpns(List upns) { + this.upns = upns; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Trigger.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Trigger.java index 8a67e4566e5ed..76783e86f3f43 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Trigger.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/Trigger.java @@ -1,68 +1,68 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * A condition to be satisfied for an action to be executed. - */ -public class Trigger { - /** - * Percentage of lifetime at which to trigger. Value should be between 1 - * and 99. - */ - @JsonProperty(value = "lifetime_percentage") - private Integer lifetimePercentage; - - /** - * Days before expiry to attempt renewal. Value should be between 1 and - * validity_in_months multiplied by 27. If validity_in_months is 36, then - * value should be between 1 and 972 (36 * 27). - */ - @JsonProperty(value = "days_before_expiry") - private Integer daysBeforeExpiry; - - /** - * Get the lifetimePercentage value. - * - * @return the lifetimePercentage value - */ - public Integer lifetimePercentage() { - return this.lifetimePercentage; - } - - /** - * Set the lifetimePercentage value. - * - * @param lifetimePercentage the lifetimePercentage value to set - * @return the Trigger object itself. - */ - public Trigger withLifetimePercentage(Integer lifetimePercentage) { - this.lifetimePercentage = lifetimePercentage; - return this; - } - - /** - * Get the daysBeforeExpiry value. - * - * @return the daysBeforeExpiry value - */ - public Integer daysBeforeExpiry() { - return this.daysBeforeExpiry; - } - - /** - * Set the daysBeforeExpiry value. - * - * @param daysBeforeExpiry the daysBeforeExpiry value to set - * @return the Trigger object itself. - */ - public Trigger withDaysBeforeExpiry(Integer daysBeforeExpiry) { - this.daysBeforeExpiry = daysBeforeExpiry; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A condition to be satisfied for an action to be executed. + */ +public class Trigger { + /** + * Percentage of lifetime at which to trigger. Value should be between 1 + * and 99. + */ + @JsonProperty(value = "lifetime_percentage") + private Integer lifetimePercentage; + + /** + * Days before expiry to attempt renewal. Value should be between 1 and + * validity_in_months multiplied by 27. If validity_in_months is 36, then + * value should be between 1 and 972 (36 * 27). + */ + @JsonProperty(value = "days_before_expiry") + private Integer daysBeforeExpiry; + + /** + * Get the lifetimePercentage value. + * + * @return the lifetimePercentage value + */ + public Integer lifetimePercentage() { + return this.lifetimePercentage; + } + + /** + * Set the lifetimePercentage value. + * + * @param lifetimePercentage the lifetimePercentage value to set + * @return the Trigger object itself. + */ + public Trigger withLifetimePercentage(Integer lifetimePercentage) { + this.lifetimePercentage = lifetimePercentage; + return this; + } + + /** + * Get the daysBeforeExpiry value. + * + * @return the daysBeforeExpiry value + */ + public Integer daysBeforeExpiry() { + return this.daysBeforeExpiry; + } + + /** + * Set the daysBeforeExpiry value. + * + * @param daysBeforeExpiry the daysBeforeExpiry value to set + * @return the Trigger object itself. + */ + public Trigger withDaysBeforeExpiry(Integer daysBeforeExpiry) { + this.daysBeforeExpiry = daysBeforeExpiry; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/X509CertificateProperties.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/X509CertificateProperties.java index 79505a2372872..2ab6f42ba2799 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/X509CertificateProperties.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/X509CertificateProperties.java @@ -1,144 +1,144 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -package com.microsoft.azure.keyvault.models; - -import java.util.List; -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Properties of the X509 component of a certificate. - */ -public class X509CertificateProperties { - /** - * The subject name. Should be a valid X509 distinguished Name. - */ - @JsonProperty(value = "subject") - private String subject; - - /** - * The enhanced key usage. - */ - @JsonProperty(value = "ekus") - private List ekus; - - /** - * The subject alternative names. - */ - @JsonProperty(value = "sans") - private SubjectAlternativeNames subjectAlternativeNames; - - /** - * List of key usages. - */ - @JsonProperty(value = "key_usage") - private List keyUsage; - - /** - * The duration that the ceritifcate is valid in months. - */ - @JsonProperty(value = "validity_months") - private Integer validityInMonths; - - /** - * Get the subject value. - * - * @return the subject value - */ - public String subject() { - return this.subject; - } - - /** - * Set the subject value. - * - * @param subject the subject value to set - * @return the X509CertificateProperties object itself. - */ - public X509CertificateProperties withSubject(String subject) { - this.subject = subject; - return this; - } - - /** - * Get the ekus value. - * - * @return the ekus value - */ - public List ekus() { - return this.ekus; - } - - /** - * Set the ekus value. - * - * @param ekus the ekus value to set - * @return the X509CertificateProperties object itself. - */ - public X509CertificateProperties withEkus(List ekus) { - this.ekus = ekus; - return this; - } - - /** - * Get the subjectAlternativeNames value. - * - * @return the subjectAlternativeNames value - */ - public SubjectAlternativeNames subjectAlternativeNames() { - return this.subjectAlternativeNames; - } - - /** - * Set the subjectAlternativeNames value. - * - * @param subjectAlternativeNames the subjectAlternativeNames value to set - * @return the X509CertificateProperties object itself. - */ - public X509CertificateProperties withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) { - this.subjectAlternativeNames = subjectAlternativeNames; - return this; - } - - /** - * Get the keyUsage value. - * - * @return the keyUsage value - */ - public List keyUsage() { - return this.keyUsage; - } - - /** - * Set the keyUsage value. - * - * @param keyUsage the keyUsage value to set - * @return the X509CertificateProperties object itself. - */ - public X509CertificateProperties withKeyUsage(List keyUsage) { - this.keyUsage = keyUsage; - return this; - } - - /** - * Get the validityInMonths value. - * - * @return the validityInMonths value - */ - public Integer validityInMonths() { - return this.validityInMonths; - } - - /** - * Set the validityInMonths value. - * - * @param validityInMonths the validityInMonths value to set - * @return the X509CertificateProperties object itself. - */ - public X509CertificateProperties withValidityInMonths(Integer validityInMonths) { - this.validityInMonths = validityInMonths; - return this; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +package com.microsoft.azure.keyvault.models; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Properties of the X509 component of a certificate. + */ +public class X509CertificateProperties { + /** + * The subject name. Should be a valid X509 distinguished Name. + */ + @JsonProperty(value = "subject") + private String subject; + + /** + * The enhanced key usage. + */ + @JsonProperty(value = "ekus") + private List ekus; + + /** + * The subject alternative names. + */ + @JsonProperty(value = "sans") + private SubjectAlternativeNames subjectAlternativeNames; + + /** + * List of key usages. + */ + @JsonProperty(value = "key_usage") + private List keyUsage; + + /** + * The duration that the ceritifcate is valid in months. + */ + @JsonProperty(value = "validity_months") + private Integer validityInMonths; + + /** + * Get the subject value. + * + * @return the subject value + */ + public String subject() { + return this.subject; + } + + /** + * Set the subject value. + * + * @param subject the subject value to set + * @return the X509CertificateProperties object itself. + */ + public X509CertificateProperties withSubject(String subject) { + this.subject = subject; + return this; + } + + /** + * Get the ekus value. + * + * @return the ekus value + */ + public List ekus() { + return this.ekus; + } + + /** + * Set the ekus value. + * + * @param ekus the ekus value to set + * @return the X509CertificateProperties object itself. + */ + public X509CertificateProperties withEkus(List ekus) { + this.ekus = ekus; + return this; + } + + /** + * Get the subjectAlternativeNames value. + * + * @return the subjectAlternativeNames value + */ + public SubjectAlternativeNames subjectAlternativeNames() { + return this.subjectAlternativeNames; + } + + /** + * Set the subjectAlternativeNames value. + * + * @param subjectAlternativeNames the subjectAlternativeNames value to set + * @return the X509CertificateProperties object itself. + */ + public X509CertificateProperties withSubjectAlternativeNames(SubjectAlternativeNames subjectAlternativeNames) { + this.subjectAlternativeNames = subjectAlternativeNames; + return this; + } + + /** + * Get the keyUsage value. + * + * @return the keyUsage value + */ + public List keyUsage() { + return this.keyUsage; + } + + /** + * Set the keyUsage value. + * + * @param keyUsage the keyUsage value to set + * @return the X509CertificateProperties object itself. + */ + public X509CertificateProperties withKeyUsage(List keyUsage) { + this.keyUsage = keyUsage; + return this; + } + + /** + * Get the validityInMonths value. + * + * @return the validityInMonths value + */ + public Integer validityInMonths() { + return this.validityInMonths; + } + + /** + * Set the validityInMonths value. + * + * @param validityInMonths the validityInMonths value to set + * @return the X509CertificateProperties object itself. + */ + public X509CertificateProperties withValidityInMonths(Integer validityInMonths) { + this.validityInMonths = validityInMonths; + return this; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/custom/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/custom/package-info.java index 83863befdf74d..6db2dc3865b68 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/custom/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/custom/package-info.java @@ -1,8 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -/** - * This package contains the classes for KeyVaultClient. Performs cryptographic - * key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault.models.custom; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * This package contains the classes for KeyVaultClient. Performs cryptographic + * key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault.models.custom; diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/package-info.java index 907aa591c5b81..0f5e0de0f4452 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/models/package-info.java @@ -1,9 +1,9 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -/** - * This package contains the models classes for KeyVaultClientBase. - * The key vault client performs cryptographic key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault.models; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +/** + * This package contains the models classes for KeyVaultClientBase. + * The key vault client performs cryptographic key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault.models; diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/package-info.java index 83731d497e580..b5c3e1b4a4f22 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/package-info.java @@ -1,9 +1,9 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator - -/** - * This package contains the classes for KeyVaultClientBase. - * The key vault client performs cryptographic key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator + +/** + * This package contains the classes for KeyVaultClientBase. + * The key vault client performs cryptographic key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault; diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateCertificateRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateCertificateRequest.java index b0dfa0ed08b09..c3cd170f6e42a 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateCertificateRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateCertificateRequest.java @@ -1,200 +1,200 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.IssuerParameters; -import com.microsoft.azure.keyvault.models.KeyProperties; -import com.microsoft.azure.keyvault.models.LifetimeAction; -import com.microsoft.azure.keyvault.models.SecretProperties; -import com.microsoft.azure.keyvault.models.X509CertificateProperties; - -/** - * The create certificate request class. - */ -public final class CreateCertificateRequest { - private final String vaultBaseUrl; - private final String certificateName; - private final CertificatePolicy certificatePolicy; - private final CertificateAttributes certificateAttributes; - private final Map tags; - - /** - * the {@link CreateCertificateRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String certificateName; - - // Optional parameters - private CertificatePolicy policy; - private CertificateAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link CreateCertificateRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param certificateName - * The name of the certificate in the given vault - */ - public Builder(String vaultBaseUrl, String certificateName) { - this.vaultBaseUrl = vaultBaseUrl; - this.certificateName = certificateName; - } - - /** - * Set the certificatePolicy value. Mandatory if sending the create - * request for the first time. - * - * @param certificatePolicy - * The management policy for the certificate. - * @return the Builder object itself. - */ - public Builder withPolicy(CertificatePolicy certificatePolicy) { - this.policy = certificatePolicy; - return this; - } - - /** - * Set the attributes value. - * - * @param attributes - * The attributes of the certificate. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof CertificateAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); - } - - this.attributes = (CertificateAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link CreateCertificateRequest} object. - * - * @return the {@link CreateCertificateRequest} object. - */ - public CreateCertificateRequest build() { - return new CreateCertificateRequest(this); - } - } - - private CreateCertificateRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - certificateName = builder.certificateName; - - if (builder.attributes != null) { - certificateAttributes = (CertificateAttributes) new CertificateAttributes() - .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) - .withExpires(builder.attributes.expires()); - } else { - certificateAttributes = null; - } - - if (builder.policy != null) { - certificatePolicy = new CertificatePolicy(); - if (builder.policy.attributes() != null) { - certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() - .withEnabled(builder.policy.attributes().enabled()) - .withExpires(builder.policy.attributes().expires()) - .withNotBefore(builder.policy.attributes().notBefore())); - } - if (builder.policy.issuerParameters() != null) { - certificatePolicy - .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); - } - if (builder.policy.x509CertificateProperties() != null) { - certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() - .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) - .withSubjectAlternativeNames( - builder.policy.x509CertificateProperties().subjectAlternativeNames()) - .withSubject(builder.policy.x509CertificateProperties().subject()) - .withEkus(builder.policy.x509CertificateProperties().ekus()) - .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); - } - if (builder.policy.lifetimeActions() != null) { - certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); - } - if (builder.policy.keyProperties() != null) { - certificatePolicy.withKeyProperties( - new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) - .withKeySize(builder.policy.keyProperties().keySize()) - .withKeyType(builder.policy.keyProperties().keyType()) - .withReuseKey(builder.policy.keyProperties().reuseKey())); - } - if (builder.policy.secretProperties() != null) { - certificatePolicy.withSecretProperties( - new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); - } - } else { - certificatePolicy = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the certificate name - */ - public String certificateName() { - return certificateName; - } - - /** - * @return the certificate policy - */ - public CertificatePolicy certificatePolicy() { - return certificatePolicy; - } - - /** - * @return the certificate attributes - */ - public CertificateAttributes certificateAttributes() { - return certificateAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.IssuerParameters; +import com.microsoft.azure.keyvault.models.KeyProperties; +import com.microsoft.azure.keyvault.models.LifetimeAction; +import com.microsoft.azure.keyvault.models.SecretProperties; +import com.microsoft.azure.keyvault.models.X509CertificateProperties; + +/** + * The create certificate request class. + */ +public final class CreateCertificateRequest { + private final String vaultBaseUrl; + private final String certificateName; + private final CertificatePolicy certificatePolicy; + private final CertificateAttributes certificateAttributes; + private final Map tags; + + /** + * the {@link CreateCertificateRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String certificateName; + + // Optional parameters + private CertificatePolicy policy; + private CertificateAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link CreateCertificateRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param certificateName + * The name of the certificate in the given vault + */ + public Builder(String vaultBaseUrl, String certificateName) { + this.vaultBaseUrl = vaultBaseUrl; + this.certificateName = certificateName; + } + + /** + * Set the certificatePolicy value. Mandatory if sending the create + * request for the first time. + * + * @param certificatePolicy + * The management policy for the certificate. + * @return the Builder object itself. + */ + public Builder withPolicy(CertificatePolicy certificatePolicy) { + this.policy = certificatePolicy; + return this; + } + + /** + * Set the attributes value. + * + * @param attributes + * The attributes of the certificate. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof CertificateAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); + } + + this.attributes = (CertificateAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link CreateCertificateRequest} object. + * + * @return the {@link CreateCertificateRequest} object. + */ + public CreateCertificateRequest build() { + return new CreateCertificateRequest(this); + } + } + + private CreateCertificateRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + certificateName = builder.certificateName; + + if (builder.attributes != null) { + certificateAttributes = (CertificateAttributes) new CertificateAttributes() + .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) + .withExpires(builder.attributes.expires()); + } else { + certificateAttributes = null; + } + + if (builder.policy != null) { + certificatePolicy = new CertificatePolicy(); + if (builder.policy.attributes() != null) { + certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() + .withEnabled(builder.policy.attributes().enabled()) + .withExpires(builder.policy.attributes().expires()) + .withNotBefore(builder.policy.attributes().notBefore())); + } + if (builder.policy.issuerParameters() != null) { + certificatePolicy + .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); + } + if (builder.policy.x509CertificateProperties() != null) { + certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() + .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) + .withSubjectAlternativeNames( + builder.policy.x509CertificateProperties().subjectAlternativeNames()) + .withSubject(builder.policy.x509CertificateProperties().subject()) + .withEkus(builder.policy.x509CertificateProperties().ekus()) + .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); + } + if (builder.policy.lifetimeActions() != null) { + certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); + } + if (builder.policy.keyProperties() != null) { + certificatePolicy.withKeyProperties( + new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) + .withKeySize(builder.policy.keyProperties().keySize()) + .withKeyType(builder.policy.keyProperties().keyType()) + .withReuseKey(builder.policy.keyProperties().reuseKey())); + } + if (builder.policy.secretProperties() != null) { + certificatePolicy.withSecretProperties( + new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); + } + } else { + certificatePolicy = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the certificate name + */ + public String certificateName() { + return certificateName; + } + + /** + * @return the certificate policy + */ + public CertificatePolicy certificatePolicy() { + return certificatePolicy; + } + + /** + * @return the certificate attributes + */ + public CertificateAttributes certificateAttributes() { + return certificateAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateKeyRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateKeyRequest.java index 11095583e9e76..f084cc5cb49e7 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateKeyRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/CreateKeyRequest.java @@ -1,228 +1,228 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; - -/** - * The create key request class. - */ -public final class CreateKeyRequest { - - private final String vaultBaseUrl; - private final String keyName; - private final JsonWebKeyType keyType; - private final Integer keySize; - private final List keyOperations; - private final KeyAttributes keyAttributes; - private final Map tags; - private final JsonWebKeyCurveName curve; - - /** - * The {@link CreateKeyRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String keyName; - private final JsonWebKeyType keyType; - - // Optional parameters - private Integer keySize; - private List keyOperations; - private KeyAttributes attributes; - private Map tags; - private JsonWebKeyCurveName curve; - - /** - * The builder for constructing {@link CreateKeyRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param keyName - * The name of the key in the given vault - * @param keyType - * The type of key to create. Valid key types, see JsonWebKeyType. - * Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, - * Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' - */ - public Builder(String vaultBaseUrl, String keyName, JsonWebKeyType keyType) { - this.vaultBaseUrl = vaultBaseUrl; - this.keyName = keyName; - this.keyType = keyType; - } - - /** - * Set the key size value. - * - * @param size - * the size of the key. - * @return the Builder object itself. - */ - public Builder withKeySize(Integer size) { - this.keySize = size; - return this; - } - - /** - * Set the key operations value. - * - * @param keyOperations - * the key operation list. - * @return the Builder object itself. - */ - public Builder withKeyOperations(List keyOperations) { - this.keyOperations = keyOperations; - return this; - } - - /** - * Set the key attributes value. - * - * @param attributes - * the key management attributes value to set. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof KeyAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of KeyAttributes, or a subclass"); - } - - this.attributes = (KeyAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * Set the curve value. - * - * @param curve - * Defines values for JsonWebKeyCurveName; - * - * @return the Builder object itself. - */ - public Builder withCurve(JsonWebKeyCurveName curve) { - this.curve = curve; - return this; - } - - /** - * builds the {@link CreateKeyRequest} object. - * - * @return the {@link CreateKeyRequest} object. - */ - public CreateKeyRequest build() { - return new CreateKeyRequest(this); - } - } - - private CreateKeyRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - keyName = builder.keyName; - keyType = builder.keyType; - keySize = builder.keySize; - - if (builder.keyOperations != null) { - keyOperations = new ArrayList(builder.keyOperations); - } else { - keyOperations = null; - } - - if (builder.attributes != null) { - keyAttributes = (KeyAttributes) new KeyAttributes().withNotBefore(builder.attributes.notBefore()) - .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); - } else { - keyAttributes = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - - if (builder.curve != null) { - curve = builder.curve; - } else { - curve = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the key name - */ - public String keyName() { - return keyName; - } - - /** - * @return the key type - */ - public JsonWebKeyType keyType() { - return keyType; - } - - /** - * @return the key size - */ - public Integer keySize() { - return keySize; - } - - /** - * @return the key operations - */ - public List keyOperations() { - return keyOperations; - } - - /** - * @return the key attributes - */ - public KeyAttributes keyAttributes() { - return keyAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } - - /** - * @return the curve - */ - public JsonWebKeyCurveName curve() { - return curve; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyType; + +/** + * The create key request class. + */ +public final class CreateKeyRequest { + + private final String vaultBaseUrl; + private final String keyName; + private final JsonWebKeyType keyType; + private final Integer keySize; + private final List keyOperations; + private final KeyAttributes keyAttributes; + private final Map tags; + private final JsonWebKeyCurveName curve; + + /** + * The {@link CreateKeyRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String keyName; + private final JsonWebKeyType keyType; + + // Optional parameters + private Integer keySize; + private List keyOperations; + private KeyAttributes attributes; + private Map tags; + private JsonWebKeyCurveName curve; + + /** + * The builder for constructing {@link CreateKeyRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param keyName + * The name of the key in the given vault + * @param keyType + * The type of key to create. Valid key types, see JsonWebKeyType. + * Supported JsonWebKey key types (kty) for Elliptic Curve, RSA, HSM, + * Octet. Possible values include: 'EC', 'RSA', 'RSA-HSM', 'oct' + */ + public Builder(String vaultBaseUrl, String keyName, JsonWebKeyType keyType) { + this.vaultBaseUrl = vaultBaseUrl; + this.keyName = keyName; + this.keyType = keyType; + } + + /** + * Set the key size value. + * + * @param size + * the size of the key. + * @return the Builder object itself. + */ + public Builder withKeySize(Integer size) { + this.keySize = size; + return this; + } + + /** + * Set the key operations value. + * + * @param keyOperations + * the key operation list. + * @return the Builder object itself. + */ + public Builder withKeyOperations(List keyOperations) { + this.keyOperations = keyOperations; + return this; + } + + /** + * Set the key attributes value. + * + * @param attributes + * the key management attributes value to set. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof KeyAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of KeyAttributes, or a subclass"); + } + + this.attributes = (KeyAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Set the curve value. + * + * @param curve + * Defines values for JsonWebKeyCurveName; + * + * @return the Builder object itself. + */ + public Builder withCurve(JsonWebKeyCurveName curve) { + this.curve = curve; + return this; + } + + /** + * builds the {@link CreateKeyRequest} object. + * + * @return the {@link CreateKeyRequest} object. + */ + public CreateKeyRequest build() { + return new CreateKeyRequest(this); + } + } + + private CreateKeyRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + keyName = builder.keyName; + keyType = builder.keyType; + keySize = builder.keySize; + + if (builder.keyOperations != null) { + keyOperations = new ArrayList(builder.keyOperations); + } else { + keyOperations = null; + } + + if (builder.attributes != null) { + keyAttributes = (KeyAttributes) new KeyAttributes().withNotBefore(builder.attributes.notBefore()) + .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); + } else { + keyAttributes = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + + if (builder.curve != null) { + curve = builder.curve; + } else { + curve = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the key name + */ + public String keyName() { + return keyName; + } + + /** + * @return the key type + */ + public JsonWebKeyType keyType() { + return keyType; + } + + /** + * @return the key size + */ + public Integer keySize() { + return keySize; + } + + /** + * @return the key operations + */ + public List keyOperations() { + return keyOperations; + } + + /** + * @return the key attributes + */ + public KeyAttributes keyAttributes() { + return keyAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } + + /** + * @return the curve + */ + public JsonWebKeyCurveName curve() { + return curve; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportCertificateRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportCertificateRequest.java index f3f3d21f9dbc8..d765bb946b91c 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportCertificateRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportCertificateRequest.java @@ -1,236 +1,236 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.IssuerParameters; -import com.microsoft.azure.keyvault.models.KeyProperties; -import com.microsoft.azure.keyvault.models.LifetimeAction; -import com.microsoft.azure.keyvault.models.SecretProperties; -import com.microsoft.azure.keyvault.models.X509CertificateProperties; - -/** - * The import certificate request class. - */ -public final class ImportCertificateRequest { - private final String vaultBaseUrl; - private final String certificateName; - private final String base64EncodedCertificate; - private final String password; - private final CertificatePolicy certificatePolicy; - private final CertificateAttributes certificateAttributes; - private final Map tags; - - /** - * the {@link ImportCertificateRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String certificateName; - private final String base64EncodedCertificate; - - // Optional parameters - private String password; - private CertificatePolicy policy; - private CertificateAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link ImportCertificateRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param certificateName - * The name of the certificate in the given vault - * @param base64EncodedCertificate - * Base64 encoded representation of the certificate object to - * import. This certificate needs to contain the private key. - */ - public Builder(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { - this.vaultBaseUrl = vaultBaseUrl; - this.certificateName = certificateName; - this.base64EncodedCertificate = base64EncodedCertificate; - } - - /** - * Set the password. - * - * @param password - * If the private key in base64EncodedCertificate is - * encrypted, the password used for encryption. - * @return the Builder object itself. - */ - public Builder withPassword(String password) { - this.password = password; - return this; - } - - /** - * Set the certificate policy. - * - * @param policy - * The management policy for the certificate. - * @return the Builder object itself. - */ - public Builder withPolicy(CertificatePolicy policy) { - this.policy = policy; - return this; - } - - /** - * Set the certificate attributes. - * - * @param attributes - * The attributes of the certificate. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof CertificateAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); - } - - this.attributes = (CertificateAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link ImportCertificateRequest} object. - * - * @return the {@link ImportCertificateRequest} object. - */ - public ImportCertificateRequest build() { - return new ImportCertificateRequest(this); - } - } - - private ImportCertificateRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - certificateName = builder.certificateName; - base64EncodedCertificate = builder.base64EncodedCertificate; - password = builder.password; - - if (builder.attributes != null) { - certificateAttributes = (CertificateAttributes) new CertificateAttributes() - .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) - .withExpires(builder.attributes.expires()); - } else { - certificateAttributes = null; - } - - if (builder.policy != null) { - certificatePolicy = new CertificatePolicy(); - if (builder.policy.attributes() != null) { - certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() - .withEnabled(builder.policy.attributes().enabled()) - .withExpires(builder.policy.attributes().expires()) - .withNotBefore(builder.policy.attributes().notBefore())); - } - if (builder.policy.issuerParameters() != null) { - certificatePolicy - .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); - } - if (builder.policy.x509CertificateProperties() != null) { - certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() - .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) - .withSubjectAlternativeNames( - builder.policy.x509CertificateProperties().subjectAlternativeNames()) - .withSubject(builder.policy.x509CertificateProperties().subject()) - .withEkus(builder.policy.x509CertificateProperties().ekus()) - .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); - } - if (builder.policy.lifetimeActions() != null) { - certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); - } - if (builder.policy.keyProperties() != null) { - certificatePolicy.withKeyProperties( - new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) - .withKeySize(builder.policy.keyProperties().keySize()) - .withKeyType(builder.policy.keyProperties().keyType()) - .withReuseKey(builder.policy.keyProperties().reuseKey())); - } - if (builder.policy.secretProperties() != null) { - certificatePolicy.withSecretProperties( - new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); - } - } else { - certificatePolicy = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the certificate name - */ - public String certificateName() { - return certificateName; - } - - /** - * @return the base64 encoded certificate - */ - public String base64EncodedCertificate() { - return base64EncodedCertificate; - } - - /** - * @return the password - */ - public String password() { - return password; - } - - /** - * @return the certificatePolicy - */ - public CertificatePolicy certificatePolicy() { - return certificatePolicy; - } - - /** - * @return the certificateAttributes - */ - public CertificateAttributes certificateAttributes() { - return certificateAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.IssuerParameters; +import com.microsoft.azure.keyvault.models.KeyProperties; +import com.microsoft.azure.keyvault.models.LifetimeAction; +import com.microsoft.azure.keyvault.models.SecretProperties; +import com.microsoft.azure.keyvault.models.X509CertificateProperties; + +/** + * The import certificate request class. + */ +public final class ImportCertificateRequest { + private final String vaultBaseUrl; + private final String certificateName; + private final String base64EncodedCertificate; + private final String password; + private final CertificatePolicy certificatePolicy; + private final CertificateAttributes certificateAttributes; + private final Map tags; + + /** + * the {@link ImportCertificateRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String certificateName; + private final String base64EncodedCertificate; + + // Optional parameters + private String password; + private CertificatePolicy policy; + private CertificateAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link ImportCertificateRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param certificateName + * The name of the certificate in the given vault + * @param base64EncodedCertificate + * Base64 encoded representation of the certificate object to + * import. This certificate needs to contain the private key. + */ + public Builder(String vaultBaseUrl, String certificateName, String base64EncodedCertificate) { + this.vaultBaseUrl = vaultBaseUrl; + this.certificateName = certificateName; + this.base64EncodedCertificate = base64EncodedCertificate; + } + + /** + * Set the password. + * + * @param password + * If the private key in base64EncodedCertificate is + * encrypted, the password used for encryption. + * @return the Builder object itself. + */ + public Builder withPassword(String password) { + this.password = password; + return this; + } + + /** + * Set the certificate policy. + * + * @param policy + * The management policy for the certificate. + * @return the Builder object itself. + */ + public Builder withPolicy(CertificatePolicy policy) { + this.policy = policy; + return this; + } + + /** + * Set the certificate attributes. + * + * @param attributes + * The attributes of the certificate. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof CertificateAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); + } + + this.attributes = (CertificateAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link ImportCertificateRequest} object. + * + * @return the {@link ImportCertificateRequest} object. + */ + public ImportCertificateRequest build() { + return new ImportCertificateRequest(this); + } + } + + private ImportCertificateRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + certificateName = builder.certificateName; + base64EncodedCertificate = builder.base64EncodedCertificate; + password = builder.password; + + if (builder.attributes != null) { + certificateAttributes = (CertificateAttributes) new CertificateAttributes() + .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) + .withExpires(builder.attributes.expires()); + } else { + certificateAttributes = null; + } + + if (builder.policy != null) { + certificatePolicy = new CertificatePolicy(); + if (builder.policy.attributes() != null) { + certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() + .withEnabled(builder.policy.attributes().enabled()) + .withExpires(builder.policy.attributes().expires()) + .withNotBefore(builder.policy.attributes().notBefore())); + } + if (builder.policy.issuerParameters() != null) { + certificatePolicy + .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); + } + if (builder.policy.x509CertificateProperties() != null) { + certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() + .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) + .withSubjectAlternativeNames( + builder.policy.x509CertificateProperties().subjectAlternativeNames()) + .withSubject(builder.policy.x509CertificateProperties().subject()) + .withEkus(builder.policy.x509CertificateProperties().ekus()) + .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); + } + if (builder.policy.lifetimeActions() != null) { + certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); + } + if (builder.policy.keyProperties() != null) { + certificatePolicy.withKeyProperties( + new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) + .withKeySize(builder.policy.keyProperties().keySize()) + .withKeyType(builder.policy.keyProperties().keyType()) + .withReuseKey(builder.policy.keyProperties().reuseKey())); + } + if (builder.policy.secretProperties() != null) { + certificatePolicy.withSecretProperties( + new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); + } + } else { + certificatePolicy = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the certificate name + */ + public String certificateName() { + return certificateName; + } + + /** + * @return the base64 encoded certificate + */ + public String base64EncodedCertificate() { + return base64EncodedCertificate; + } + + /** + * @return the password + */ + public String password() { + return password; + } + + /** + * @return the certificatePolicy + */ + public CertificatePolicy certificatePolicy() { + return certificatePolicy; + } + + /** + * @return the certificateAttributes + */ + public CertificateAttributes certificateAttributes() { + return certificateAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportKeyRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportKeyRequest.java index 55caf4e99c55a..26b4ee710293d 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportKeyRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/ImportKeyRequest.java @@ -1,183 +1,183 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.webkey.JsonWebKey; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; - -/** - * The import key request class. - */ -public final class ImportKeyRequest { - - private final String vaultBaseUrl; - private final String keyName; - private final JsonWebKey key; - private final boolean isHsm; - private final KeyAttributes keyAttributes; - private final Map tags; - - /** - * The {@link ImportKeyRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String keyName; - private final JsonWebKey key; - - // Optional parameters - private boolean isHsm; - private KeyAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link ImportKeyRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param keyName - * The name of the key in the given vault. - * @param key - * The Json web key. - */ - public Builder(String vaultBaseUrl, String keyName, JsonWebKey key) { - this.vaultBaseUrl = vaultBaseUrl; - this.keyName = keyName; - this.key = key; - } - - /** - * Set the isHsm to true if the key is imported as a hardware key to - * HSM, false otherwise. - * - * @param isHsm - * True, if the key is hardware key to be stored in HSM. - * false otherwise - * @return the Builder object itself. - */ - public Builder withHsm(boolean isHsm) { - this.isHsm = isHsm; - return this; - } - - /** - * Set the key attributes value. - * - * @param attributes - * the key management attributes value to set - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof KeyAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of KeyAttributes, or a subclass"); - } - - this.attributes = (KeyAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link ImportKeyRequest} object. - * - * @return the {@link ImportKeyRequest} object. - */ - public ImportKeyRequest build() { - return new ImportKeyRequest(this); - } - } - - private ImportKeyRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - keyName = builder.keyName; - isHsm = builder.isHsm; - - if (builder.key != null) { - key = new JsonWebKey().withKty(builder.key.kty()).withN(builder.key.n()).withE(builder.key.e()) - .withD(builder.key.d()).withP(builder.key.p()).withQ(builder.key.q()).withDp(builder.key.dp()) - .withDq(builder.key.dq()).withQi(builder.key.qi()).withK(builder.key.k()).withT(builder.key.t()); - if (builder.key.keyOps() != null) { - key.withKeyOps(new ArrayList(builder.key.keyOps())); - } - } else { - key = null; - } - - if (builder.attributes != null) { - keyAttributes = (KeyAttributes) new KeyAttributes().withNotBefore(builder.attributes.notBefore()) - .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); - } else { - keyAttributes = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the key name - */ - public String keyName() { - return keyName; - } - - /** - * @return the key - */ - public JsonWebKey key() { - return key; - } - - /** - * @return the isHsm - */ - public boolean isHsm() { - return isHsm; - } - - /** - * @return the key attribute - */ - public KeyAttributes keyAttributes() { - return keyAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.webkey.JsonWebKey; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; + +/** + * The import key request class. + */ +public final class ImportKeyRequest { + + private final String vaultBaseUrl; + private final String keyName; + private final JsonWebKey key; + private final boolean isHsm; + private final KeyAttributes keyAttributes; + private final Map tags; + + /** + * The {@link ImportKeyRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String keyName; + private final JsonWebKey key; + + // Optional parameters + private boolean isHsm; + private KeyAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link ImportKeyRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param keyName + * The name of the key in the given vault. + * @param key + * The Json web key. + */ + public Builder(String vaultBaseUrl, String keyName, JsonWebKey key) { + this.vaultBaseUrl = vaultBaseUrl; + this.keyName = keyName; + this.key = key; + } + + /** + * Set the isHsm to true if the key is imported as a hardware key to + * HSM, false otherwise. + * + * @param isHsm + * True, if the key is hardware key to be stored in HSM. + * false otherwise + * @return the Builder object itself. + */ + public Builder withHsm(boolean isHsm) { + this.isHsm = isHsm; + return this; + } + + /** + * Set the key attributes value. + * + * @param attributes + * the key management attributes value to set + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof KeyAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of KeyAttributes, or a subclass"); + } + + this.attributes = (KeyAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link ImportKeyRequest} object. + * + * @return the {@link ImportKeyRequest} object. + */ + public ImportKeyRequest build() { + return new ImportKeyRequest(this); + } + } + + private ImportKeyRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + keyName = builder.keyName; + isHsm = builder.isHsm; + + if (builder.key != null) { + key = new JsonWebKey().withKty(builder.key.kty()).withN(builder.key.n()).withE(builder.key.e()) + .withD(builder.key.d()).withP(builder.key.p()).withQ(builder.key.q()).withDp(builder.key.dp()) + .withDq(builder.key.dq()).withQi(builder.key.qi()).withK(builder.key.k()).withT(builder.key.t()); + if (builder.key.keyOps() != null) { + key.withKeyOps(new ArrayList(builder.key.keyOps())); + } + } else { + key = null; + } + + if (builder.attributes != null) { + keyAttributes = (KeyAttributes) new KeyAttributes().withNotBefore(builder.attributes.notBefore()) + .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); + } else { + keyAttributes = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the key name + */ + public String keyName() { + return keyName; + } + + /** + * @return the key + */ + public JsonWebKey key() { + return key; + } + + /** + * @return the isHsm + */ + public boolean isHsm() { + return isHsm; + } + + /** + * @return the key attribute + */ + public KeyAttributes keyAttributes() { + return keyAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/MergeCertificateRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/MergeCertificateRequest.java index b3cd7090bfb58..a45e3ae1fe02e 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/MergeCertificateRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/MergeCertificateRequest.java @@ -1,146 +1,146 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.CertificateAttributes; - -/** - * The merge certificate request class. - */ -public final class MergeCertificateRequest { - private final String vaultBaseUrl; - private final String certificateName; - private final List x509Certificates; - private final CertificateAttributes certificateAttributes; - private final Map tags; - - /** - * The {@link MergeCertificateRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String certificateName; - private final List x509Certificates; - - // Optional parameters - private CertificateAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link MergeCertificateRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param certificateName - * The name of the certificate in the given vault. - * @param x509Certificates - * The certificate or the certificate chain to merge. - */ - public Builder(String vaultBaseUrl, String certificateName, List x509Certificates) { - this.vaultBaseUrl = vaultBaseUrl; - this.certificateName = certificateName; - this.x509Certificates = x509Certificates; - } - - /** - * Set the attributes value. - * - * @param attributes - * The attributes of the certificate. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof CertificateAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); - } - - this.attributes = (CertificateAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link MergeCertificateRequest} object. - * - * @return the {@link MergeCertificateRequest} object. - */ - public MergeCertificateRequest build() { - return new MergeCertificateRequest(this); - } - } - - private MergeCertificateRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - certificateName = builder.certificateName; - x509Certificates = new ArrayList(builder.x509Certificates); - - if (builder.attributes != null) { - certificateAttributes = (CertificateAttributes) new CertificateAttributes() - .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) - .withExpires(builder.attributes.expires()); - } else { - certificateAttributes = null; - } - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the certificate name - */ - public String certificateName() { - return certificateName; - } - - /** - * @return the x509 certificates - */ - public List x509Certificates() { - return x509Certificates; - } - - /** - * @return the certificate attributes - */ - public CertificateAttributes certificateAttributes() { - return certificateAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.CertificateAttributes; + +/** + * The merge certificate request class. + */ +public final class MergeCertificateRequest { + private final String vaultBaseUrl; + private final String certificateName; + private final List x509Certificates; + private final CertificateAttributes certificateAttributes; + private final Map tags; + + /** + * The {@link MergeCertificateRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String certificateName; + private final List x509Certificates; + + // Optional parameters + private CertificateAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link MergeCertificateRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param certificateName + * The name of the certificate in the given vault. + * @param x509Certificates + * The certificate or the certificate chain to merge. + */ + public Builder(String vaultBaseUrl, String certificateName, List x509Certificates) { + this.vaultBaseUrl = vaultBaseUrl; + this.certificateName = certificateName; + this.x509Certificates = x509Certificates; + } + + /** + * Set the attributes value. + * + * @param attributes + * The attributes of the certificate. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof CertificateAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); + } + + this.attributes = (CertificateAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link MergeCertificateRequest} object. + * + * @return the {@link MergeCertificateRequest} object. + */ + public MergeCertificateRequest build() { + return new MergeCertificateRequest(this); + } + } + + private MergeCertificateRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + certificateName = builder.certificateName; + x509Certificates = new ArrayList(builder.x509Certificates); + + if (builder.attributes != null) { + certificateAttributes = (CertificateAttributes) new CertificateAttributes() + .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) + .withExpires(builder.attributes.expires()); + } else { + certificateAttributes = null; + } + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the certificate name + */ + public String certificateName() { + return certificateName; + } + + /** + * @return the x509 certificates + */ + public List x509Certificates() { + return x509Certificates; + } + + /** + * @return the certificate attributes + */ + public CertificateAttributes certificateAttributes() { + return certificateAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetCertificateIssuerRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetCertificateIssuerRequest.java index 6b5c5fce7e310..912fd6cbeb9e4 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetCertificateIssuerRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetCertificateIssuerRequest.java @@ -1,168 +1,168 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; - -import com.microsoft.azure.keyvault.models.AdministratorDetails; -import com.microsoft.azure.keyvault.models.IssuerAttributes; -import com.microsoft.azure.keyvault.models.IssuerCredentials; -import com.microsoft.azure.keyvault.models.OrganizationDetails; - -/** - * The set certificate issuer request class. - */ -public final class SetCertificateIssuerRequest { - - private final String vaultBaseUrl; - private final String issuerName; - private final String provider; - private final IssuerCredentials credentials; - private final OrganizationDetails organizationDetails; - private final IssuerAttributes attributes; - - /** - * The {@link SetCertificateIssuerRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String issuerName; - private final String provider; - - // Optional parameters - private IssuerCredentials credentials; - private OrganizationDetails organizationDetails; - private IssuerAttributes attributes; - - /** - * The builder for constructing {@link SetCertificateIssuerRequest} - * object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param issuerName - * The name of the issuer. - * @param provider The name of the issuer. - */ - public Builder(String vaultBaseUrl, String issuerName, String provider) { - this.vaultBaseUrl = vaultBaseUrl; - this.issuerName = issuerName; - this.provider = provider; - } - - /** - * Set issuer credentials. - * - * @param credentials - * The issuer credentials. - * @return the Builder object itself. - */ - public Builder withCredentials(IssuerCredentials credentials) { - this.credentials = credentials; - return this; - } - - /** - * Set issuer organization details. - * - * @param organizationDetails - * The issuer organization details. - * @return the Builder object itself. - */ - public Builder withOrganizationDetails(OrganizationDetails organizationDetails) { - this.organizationDetails = organizationDetails; - return this; - } - - /** - * Set issuer attributes. - * - * @param attributes - * The issuer attributes. - * @return the Builder object itself. - */ - public Builder withAttributes(IssuerAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * builds the {@link SetCertificateIssuerRequest} object. - * - * @return the {@link SetCertificateIssuerRequest} object. - */ - public SetCertificateIssuerRequest build() { - return new SetCertificateIssuerRequest(this); - } - } - - private SetCertificateIssuerRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - issuerName = builder.issuerName; - provider = builder.provider; - if (builder.organizationDetails != null) { - organizationDetails = new OrganizationDetails() - .withId(builder.organizationDetails.id()) - .withAdminDetails(new ArrayList(builder.organizationDetails.adminDetails())); - } else { - organizationDetails = null; - } - if (builder.credentials != null) { - credentials = new IssuerCredentials() - .withAccountId(builder.credentials.accountId()) - .withPassword(builder.credentials.password()); - } else { - credentials = null; - } - if (builder.attributes != null) { - attributes = new IssuerAttributes().withEnabled(builder.attributes.enabled()); - } else { - attributes = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the issuer name - */ - public String issuerName() { - return issuerName; - } - - /** - * @return the issuer provider name - */ - public String provider() { - return provider; - } - - /** - * @return the issuer credentials - */ - public IssuerCredentials credentials() { - return credentials; - } - - /** - * @return the organization details - */ - public OrganizationDetails organizationDetails() { - return organizationDetails; - } - - /** - * @return the issuer attributes - */ - public IssuerAttributes attributes() { - return attributes; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; + +import com.microsoft.azure.keyvault.models.AdministratorDetails; +import com.microsoft.azure.keyvault.models.IssuerAttributes; +import com.microsoft.azure.keyvault.models.IssuerCredentials; +import com.microsoft.azure.keyvault.models.OrganizationDetails; + +/** + * The set certificate issuer request class. + */ +public final class SetCertificateIssuerRequest { + + private final String vaultBaseUrl; + private final String issuerName; + private final String provider; + private final IssuerCredentials credentials; + private final OrganizationDetails organizationDetails; + private final IssuerAttributes attributes; + + /** + * The {@link SetCertificateIssuerRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String issuerName; + private final String provider; + + // Optional parameters + private IssuerCredentials credentials; + private OrganizationDetails organizationDetails; + private IssuerAttributes attributes; + + /** + * The builder for constructing {@link SetCertificateIssuerRequest} + * object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param issuerName + * The name of the issuer. + * @param provider The name of the issuer. + */ + public Builder(String vaultBaseUrl, String issuerName, String provider) { + this.vaultBaseUrl = vaultBaseUrl; + this.issuerName = issuerName; + this.provider = provider; + } + + /** + * Set issuer credentials. + * + * @param credentials + * The issuer credentials. + * @return the Builder object itself. + */ + public Builder withCredentials(IssuerCredentials credentials) { + this.credentials = credentials; + return this; + } + + /** + * Set issuer organization details. + * + * @param organizationDetails + * The issuer organization details. + * @return the Builder object itself. + */ + public Builder withOrganizationDetails(OrganizationDetails organizationDetails) { + this.organizationDetails = organizationDetails; + return this; + } + + /** + * Set issuer attributes. + * + * @param attributes + * The issuer attributes. + * @return the Builder object itself. + */ + public Builder withAttributes(IssuerAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * builds the {@link SetCertificateIssuerRequest} object. + * + * @return the {@link SetCertificateIssuerRequest} object. + */ + public SetCertificateIssuerRequest build() { + return new SetCertificateIssuerRequest(this); + } + } + + private SetCertificateIssuerRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + issuerName = builder.issuerName; + provider = builder.provider; + if (builder.organizationDetails != null) { + organizationDetails = new OrganizationDetails() + .withId(builder.organizationDetails.id()) + .withAdminDetails(new ArrayList(builder.organizationDetails.adminDetails())); + } else { + organizationDetails = null; + } + if (builder.credentials != null) { + credentials = new IssuerCredentials() + .withAccountId(builder.credentials.accountId()) + .withPassword(builder.credentials.password()); + } else { + credentials = null; + } + if (builder.attributes != null) { + attributes = new IssuerAttributes().withEnabled(builder.attributes.enabled()); + } else { + attributes = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the issuer name + */ + public String issuerName() { + return issuerName; + } + + /** + * @return the issuer provider name + */ + public String provider() { + return provider; + } + + /** + * @return the issuer credentials + */ + public IssuerCredentials credentials() { + return credentials; + } + + /** + * @return the organization details + */ + public OrganizationDetails organizationDetails() { + return organizationDetails; + } + + /** + * @return the issuer attributes + */ + public IssuerAttributes attributes() { + return attributes; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetSecretRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetSecretRequest.java index 39f39dbc1ded2..76ec33c53d09c 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetSecretRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/SetSecretRequest.java @@ -1,167 +1,167 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.Collections; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.SecretAttributes; - -/** - * The set secret request class. - */ -public final class SetSecretRequest { - private final String vaultBaseUrl; - private final String secretName; - private final String value; - private final String contentType; - private final SecretAttributes secretAttributes; - private final Map tags; - - /** - * The {@link SetSecretRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String secretName; - private final String value; - - // Optional parameters - private String contentType; - private SecretAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link SetSecretRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net - * @param secretName - * The name of the secret in the given vault - * @param value - * The value of the secret - */ - public Builder(String vaultBaseUrl, String secretName, String value) { - this.vaultBaseUrl = vaultBaseUrl; - this.secretName = secretName; - this.value = value; - } - - /** - * Set the content type value. - * - * @param contentType - * Type of the secret value such as a password - * @return the Builder object itself. - */ - public Builder withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Set the attributes value. - * - * @param attributes - * The secret management attributes. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof SecretAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of SecretAttributes, or a subclass"); - } - - this.attributes = (SecretAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link SetSecretRequest} object. - * - * @return the {@link SetSecretRequest} object. - */ - public SetSecretRequest build() { - return new SetSecretRequest(this); - } - } - - private SetSecretRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - secretName = builder.secretName; - value = builder.value; - contentType = builder.contentType; - - if (builder.attributes != null) { - secretAttributes = (SecretAttributes) new SecretAttributes().withNotBefore(builder.attributes.notBefore()) - .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); - } else { - secretAttributes = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vaultBaseUrl - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the secretName - */ - public String secretName() { - return secretName; - } - - /** - * @return the value - */ - public String value() { - return value; - } - - /** - * @return the contentType - */ - public String contentType() { - return contentType; - } - - /** - * @return the secretAttributes - */ - public SecretAttributes secretAttributes() { - return secretAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } - -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.Collections; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.SecretAttributes; + +/** + * The set secret request class. + */ +public final class SetSecretRequest { + private final String vaultBaseUrl; + private final String secretName; + private final String value; + private final String contentType; + private final SecretAttributes secretAttributes; + private final Map tags; + + /** + * The {@link SetSecretRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String secretName; + private final String value; + + // Optional parameters + private String contentType; + private SecretAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link SetSecretRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net + * @param secretName + * The name of the secret in the given vault + * @param value + * The value of the secret + */ + public Builder(String vaultBaseUrl, String secretName, String value) { + this.vaultBaseUrl = vaultBaseUrl; + this.secretName = secretName; + this.value = value; + } + + /** + * Set the content type value. + * + * @param contentType + * Type of the secret value such as a password + * @return the Builder object itself. + */ + public Builder withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Set the attributes value. + * + * @param attributes + * The secret management attributes. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof SecretAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of SecretAttributes, or a subclass"); + } + + this.attributes = (SecretAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link SetSecretRequest} object. + * + * @return the {@link SetSecretRequest} object. + */ + public SetSecretRequest build() { + return new SetSecretRequest(this); + } + } + + private SetSecretRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + secretName = builder.secretName; + value = builder.value; + contentType = builder.contentType; + + if (builder.attributes != null) { + secretAttributes = (SecretAttributes) new SecretAttributes().withNotBefore(builder.attributes.notBefore()) + .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); + } else { + secretAttributes = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vaultBaseUrl + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the secretName + */ + public String secretName() { + return secretName; + } + + /** + * @return the value + */ + public String value() { + return value; + } + + /** + * @return the contentType + */ + public String contentType() { + return contentType; + } + + /** + * @return the secretAttributes + */ + public SecretAttributes secretAttributes() { + return secretAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } + +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateIssuerRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateIssuerRequest.java index a96f3761c6c3b..c2e2ec8dc5490 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateIssuerRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateIssuerRequest.java @@ -1,177 +1,177 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; - -import com.microsoft.azure.keyvault.models.AdministratorDetails; -import com.microsoft.azure.keyvault.models.IssuerAttributes; -import com.microsoft.azure.keyvault.models.IssuerCredentials; -import com.microsoft.azure.keyvault.models.OrganizationDetails; - -/** - * The update certificate issuer request class. - */ -public final class UpdateCertificateIssuerRequest { - private final String vaultBaseUrl; - private final String issuerName; - private final String provider; - private final IssuerCredentials credentials; - private final OrganizationDetails organizationDetails; - private final IssuerAttributes attributes; - - /** - * The {@link UpdateCertificateIssuerRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String issuerName; - - // Optional parameters - private String provider; - private IssuerCredentials credentials; - private OrganizationDetails organizationDetails; - private IssuerAttributes attributes; - - /** - * The builder for constructing {@link UpdateCertificateIssuerRequest} - * object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param issuerName - * The name of the issuer in the given vault. - */ - public Builder(String vaultBaseUrl, String issuerName) { - this.vaultBaseUrl = vaultBaseUrl; - this.issuerName = issuerName; - } - - /** - * Set issuer credentials. - * - * @param provider - * The issuer provider. - * @return the Builder object itself. - */ - public Builder withProvider(String provider) { - this.provider = provider; - return this; - } - - /** - * Set issuer credentials. - * - * @param credentials - * The issuer credentials. - * @return the Builder object itself. - */ - public Builder withCredentials(IssuerCredentials credentials) { - this.credentials = credentials; - return this; - } - - /** - * Set issuer organization details. - * - * @param organizationDetails - * The issuer organization details. - * @return the Builder object itself. - */ - public Builder withOrganizationDetails(OrganizationDetails organizationDetails) { - this.organizationDetails = organizationDetails; - return this; - } - - /** - * Set issuer attributes. - * - * @param attributes - * The issuer attributes. - * @return the Builder object itself. - */ - public Builder withAttributes(IssuerAttributes attributes) { - this.attributes = attributes; - return this; - } - - /** - * builds the {@link UpdateCertificateIssuerRequest} object. - * - * @return the {@link UpdateCertificateIssuerRequest} object. - */ - public UpdateCertificateIssuerRequest build() { - return new UpdateCertificateIssuerRequest(this); - } - } - - private UpdateCertificateIssuerRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - issuerName = builder.issuerName; - provider = builder.provider; - if (builder.organizationDetails != null) { - organizationDetails = new OrganizationDetails() - .withId(builder.organizationDetails.id()) - .withAdminDetails(new ArrayList(builder.organizationDetails.adminDetails())); - } else { - organizationDetails = null; - } - if (builder.credentials != null) { - credentials = new IssuerCredentials() - .withAccountId(builder.credentials.accountId()) - .withPassword(builder.credentials.password()); - } else { - credentials = null; - } - if (builder.attributes != null) { - attributes = new IssuerAttributes().withEnabled(builder.attributes.enabled()); - } else { - attributes = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the issuer name - */ - public String issuerName() { - return issuerName; - } - - /** - * @return the issuer provider name - */ - public String provider() { - return provider; - } - - /** - * @return the issuer credentials - */ - public IssuerCredentials credentials() { - return credentials; - } - - /** - * @return the organization details - */ - public OrganizationDetails organizationDetails() { - return organizationDetails; - } - - /** - * @return the issuer attributes - */ - public IssuerAttributes attributes() { - return attributes; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; + +import com.microsoft.azure.keyvault.models.AdministratorDetails; +import com.microsoft.azure.keyvault.models.IssuerAttributes; +import com.microsoft.azure.keyvault.models.IssuerCredentials; +import com.microsoft.azure.keyvault.models.OrganizationDetails; + +/** + * The update certificate issuer request class. + */ +public final class UpdateCertificateIssuerRequest { + private final String vaultBaseUrl; + private final String issuerName; + private final String provider; + private final IssuerCredentials credentials; + private final OrganizationDetails organizationDetails; + private final IssuerAttributes attributes; + + /** + * The {@link UpdateCertificateIssuerRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String issuerName; + + // Optional parameters + private String provider; + private IssuerCredentials credentials; + private OrganizationDetails organizationDetails; + private IssuerAttributes attributes; + + /** + * The builder for constructing {@link UpdateCertificateIssuerRequest} + * object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param issuerName + * The name of the issuer in the given vault. + */ + public Builder(String vaultBaseUrl, String issuerName) { + this.vaultBaseUrl = vaultBaseUrl; + this.issuerName = issuerName; + } + + /** + * Set issuer credentials. + * + * @param provider + * The issuer provider. + * @return the Builder object itself. + */ + public Builder withProvider(String provider) { + this.provider = provider; + return this; + } + + /** + * Set issuer credentials. + * + * @param credentials + * The issuer credentials. + * @return the Builder object itself. + */ + public Builder withCredentials(IssuerCredentials credentials) { + this.credentials = credentials; + return this; + } + + /** + * Set issuer organization details. + * + * @param organizationDetails + * The issuer organization details. + * @return the Builder object itself. + */ + public Builder withOrganizationDetails(OrganizationDetails organizationDetails) { + this.organizationDetails = organizationDetails; + return this; + } + + /** + * Set issuer attributes. + * + * @param attributes + * The issuer attributes. + * @return the Builder object itself. + */ + public Builder withAttributes(IssuerAttributes attributes) { + this.attributes = attributes; + return this; + } + + /** + * builds the {@link UpdateCertificateIssuerRequest} object. + * + * @return the {@link UpdateCertificateIssuerRequest} object. + */ + public UpdateCertificateIssuerRequest build() { + return new UpdateCertificateIssuerRequest(this); + } + } + + private UpdateCertificateIssuerRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + issuerName = builder.issuerName; + provider = builder.provider; + if (builder.organizationDetails != null) { + organizationDetails = new OrganizationDetails() + .withId(builder.organizationDetails.id()) + .withAdminDetails(new ArrayList(builder.organizationDetails.adminDetails())); + } else { + organizationDetails = null; + } + if (builder.credentials != null) { + credentials = new IssuerCredentials() + .withAccountId(builder.credentials.accountId()) + .withPassword(builder.credentials.password()); + } else { + credentials = null; + } + if (builder.attributes != null) { + attributes = new IssuerAttributes().withEnabled(builder.attributes.enabled()); + } else { + attributes = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the issuer name + */ + public String issuerName() { + return issuerName; + } + + /** + * @return the issuer provider name + */ + public String provider() { + return provider; + } + + /** + * @return the issuer credentials + */ + public IssuerCredentials credentials() { + return credentials; + } + + /** + * @return the organization details + */ + public OrganizationDetails organizationDetails() { + return organizationDetails; + } + + /** + * @return the issuer attributes + */ + public IssuerAttributes attributes() { + return attributes; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateOperationRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateOperationRequest.java index bd681576e6dda..0294fa541300e 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateOperationRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateOperationRequest.java @@ -1,78 +1,78 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -/** - * The update certificate operation request class. - */ -public final class UpdateCertificateOperationRequest { - private final String vaultBaseUrl; - private final String certificateName; - private final Boolean cancellationRequested; - - /** - * The {@link UpdateCertificateOperationRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String certificateName; - private final Boolean cancellationRequested; - - // Optional parameters - - /** - * The builder for constructing {@link CreateCertificateRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param certificateName - * The name of the certificate in the given vault. - * @param cancellationRequested - * Indicates if cancellation was requested on the certificate operation. - */ - public Builder(String vaultBaseUrl, String certificateName, Boolean cancellationRequested) { - this.vaultBaseUrl = vaultBaseUrl; - this.certificateName = certificateName; - this.cancellationRequested = cancellationRequested; - } - - /** - * builds the {@link UpdateCertificateOperationRequest} object. - * - * @return the {@link UpdateCertificateOperationRequest} object. - */ - public UpdateCertificateOperationRequest build() { - return new UpdateCertificateOperationRequest(this); - } - } - - private UpdateCertificateOperationRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - certificateName = builder.certificateName; - cancellationRequested = builder.cancellationRequested; - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the certificate name - */ - public String certificateName() { - return certificateName; - } - - /** - * @return the certificate policy - */ - public Boolean cancellationRequested() { - return cancellationRequested; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +/** + * The update certificate operation request class. + */ +public final class UpdateCertificateOperationRequest { + private final String vaultBaseUrl; + private final String certificateName; + private final Boolean cancellationRequested; + + /** + * The {@link UpdateCertificateOperationRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String certificateName; + private final Boolean cancellationRequested; + + // Optional parameters + + /** + * The builder for constructing {@link CreateCertificateRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param certificateName + * The name of the certificate in the given vault. + * @param cancellationRequested + * Indicates if cancellation was requested on the certificate operation. + */ + public Builder(String vaultBaseUrl, String certificateName, Boolean cancellationRequested) { + this.vaultBaseUrl = vaultBaseUrl; + this.certificateName = certificateName; + this.cancellationRequested = cancellationRequested; + } + + /** + * builds the {@link UpdateCertificateOperationRequest} object. + * + * @return the {@link UpdateCertificateOperationRequest} object. + */ + public UpdateCertificateOperationRequest build() { + return new UpdateCertificateOperationRequest(this); + } + } + + private UpdateCertificateOperationRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + certificateName = builder.certificateName; + cancellationRequested = builder.cancellationRequested; + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the certificate name + */ + public String certificateName() { + return certificateName; + } + + /** + * @return the certificate policy + */ + public Boolean cancellationRequested() { + return cancellationRequested; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificatePolicyRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificatePolicyRequest.java index d516f071b573c..6bcc63472c26b 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificatePolicyRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificatePolicyRequest.java @@ -1,136 +1,136 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; - -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.IssuerParameters; -import com.microsoft.azure.keyvault.models.KeyProperties; -import com.microsoft.azure.keyvault.models.LifetimeAction; -import com.microsoft.azure.keyvault.models.SecretProperties; -import com.microsoft.azure.keyvault.models.X509CertificateProperties; - -/** - * The update certificate policy request class. - */ -public final class UpdateCertificatePolicyRequest { - private final String vaultBaseUrl; - private final String certificateName; - private final CertificatePolicy certificatePolicy; - - /** - * The {@link UpdateCertificatePolicyRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String certificateName; - - // Optional parameters - private CertificatePolicy policy; - - /** - * The builder for constructing {@link UpdateCertificatePolicyRequest} - * object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param certificateName - * The name of the certificate in the given vault. - */ - public Builder(String vaultBaseUrl, String certificateName) { - this.vaultBaseUrl = vaultBaseUrl; - this.certificateName = certificateName; - } - - /** - * Set the certificatePolicy value. - * - * @param certificatePolicy - * The management policy for the certificate. - * @return the Builder object itself. - */ - public Builder withPolicy(CertificatePolicy certificatePolicy) { - this.policy = certificatePolicy; - return this; - } - - /** - * builds the {@link UpdateCertificatePolicyRequest} object. - * - * @return the {@link UpdateCertificatePolicyRequest} object. - */ - public UpdateCertificatePolicyRequest build() { - return new UpdateCertificatePolicyRequest(this); - } - } - - private UpdateCertificatePolicyRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - certificateName = builder.certificateName; - - if (builder.policy != null) { - certificatePolicy = new CertificatePolicy(); - if (builder.policy.attributes() != null) { - certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() - .withEnabled(builder.policy.attributes().enabled()) - .withExpires(builder.policy.attributes().expires()) - .withNotBefore(builder.policy.attributes().notBefore())); - } - if (builder.policy.issuerParameters() != null) { - certificatePolicy - .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); - } - if (builder.policy.x509CertificateProperties() != null) { - certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() - .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) - .withSubjectAlternativeNames( - builder.policy.x509CertificateProperties().subjectAlternativeNames()) - .withSubject(builder.policy.x509CertificateProperties().subject()) - .withEkus(builder.policy.x509CertificateProperties().ekus()) - .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); - } - if (builder.policy.lifetimeActions() != null) { - certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); - } - if (builder.policy.keyProperties() != null) { - certificatePolicy.withKeyProperties( - new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) - .withKeySize(builder.policy.keyProperties().keySize()) - .withKeyType(builder.policy.keyProperties().keyType()) - .withReuseKey(builder.policy.keyProperties().reuseKey())); - } - if (builder.policy.secretProperties() != null) { - certificatePolicy.withSecretProperties( - new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); - } - } else { - certificatePolicy = new CertificatePolicy(); - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the certificate name - */ - public String certificateName() { - return certificateName; - } - - /** - * @return the certificate policy - */ - public CertificatePolicy certificatePolicy() { - return certificatePolicy; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; + +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.IssuerParameters; +import com.microsoft.azure.keyvault.models.KeyProperties; +import com.microsoft.azure.keyvault.models.LifetimeAction; +import com.microsoft.azure.keyvault.models.SecretProperties; +import com.microsoft.azure.keyvault.models.X509CertificateProperties; + +/** + * The update certificate policy request class. + */ +public final class UpdateCertificatePolicyRequest { + private final String vaultBaseUrl; + private final String certificateName; + private final CertificatePolicy certificatePolicy; + + /** + * The {@link UpdateCertificatePolicyRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String certificateName; + + // Optional parameters + private CertificatePolicy policy; + + /** + * The builder for constructing {@link UpdateCertificatePolicyRequest} + * object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param certificateName + * The name of the certificate in the given vault. + */ + public Builder(String vaultBaseUrl, String certificateName) { + this.vaultBaseUrl = vaultBaseUrl; + this.certificateName = certificateName; + } + + /** + * Set the certificatePolicy value. + * + * @param certificatePolicy + * The management policy for the certificate. + * @return the Builder object itself. + */ + public Builder withPolicy(CertificatePolicy certificatePolicy) { + this.policy = certificatePolicy; + return this; + } + + /** + * builds the {@link UpdateCertificatePolicyRequest} object. + * + * @return the {@link UpdateCertificatePolicyRequest} object. + */ + public UpdateCertificatePolicyRequest build() { + return new UpdateCertificatePolicyRequest(this); + } + } + + private UpdateCertificatePolicyRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + certificateName = builder.certificateName; + + if (builder.policy != null) { + certificatePolicy = new CertificatePolicy(); + if (builder.policy.attributes() != null) { + certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() + .withEnabled(builder.policy.attributes().enabled()) + .withExpires(builder.policy.attributes().expires()) + .withNotBefore(builder.policy.attributes().notBefore())); + } + if (builder.policy.issuerParameters() != null) { + certificatePolicy + .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); + } + if (builder.policy.x509CertificateProperties() != null) { + certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() + .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) + .withSubjectAlternativeNames( + builder.policy.x509CertificateProperties().subjectAlternativeNames()) + .withSubject(builder.policy.x509CertificateProperties().subject()) + .withEkus(builder.policy.x509CertificateProperties().ekus()) + .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); + } + if (builder.policy.lifetimeActions() != null) { + certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); + } + if (builder.policy.keyProperties() != null) { + certificatePolicy.withKeyProperties( + new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) + .withKeySize(builder.policy.keyProperties().keySize()) + .withKeyType(builder.policy.keyProperties().keyType()) + .withReuseKey(builder.policy.keyProperties().reuseKey())); + } + if (builder.policy.secretProperties() != null) { + certificatePolicy.withSecretProperties( + new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); + } + } else { + certificatePolicy = new CertificatePolicy(); + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the certificate name + */ + public String certificateName() { + return certificateName; + } + + /** + * @return the certificate policy + */ + public CertificatePolicy certificatePolicy() { + return certificatePolicy; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateRequest.java index 1be7f0de693e6..921525768e15c 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateCertificateRequest.java @@ -1,222 +1,222 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.Map; - -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.CertificateAttributes; -import com.microsoft.azure.keyvault.models.CertificatePolicy; -import com.microsoft.azure.keyvault.models.IssuerParameters; -import com.microsoft.azure.keyvault.models.KeyProperties; -import com.microsoft.azure.keyvault.models.LifetimeAction; -import com.microsoft.azure.keyvault.models.SecretProperties; -import com.microsoft.azure.keyvault.models.X509CertificateProperties; - -/** - * The update certificate request class. - */ -public final class UpdateCertificateRequest { - private final String vaultBaseUrl; - private final String certificateName; - private final String certificateVersion; - private final CertificatePolicy certificatePolicy; - private final CertificateAttributes certificateAttributes; - private final Map tags; - - /** - * The {@link UpdateCertificateRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String certificateName; - - // Optional parameters - private String certificateVersion; - private CertificateAttributes attributes; - private Map tags; - private CertificatePolicy policy; - - /** - * The builder for constructing {@link UpdateCertificateRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param certificateName - * The name of the certificate in the given vault. - */ - public Builder(String vaultBaseUrl, String certificateName) { - this.vaultBaseUrl = vaultBaseUrl; - this.certificateName = certificateName; - } - - /** - * Set the certificate version value. - * - * @param version - * The version of the certificate. - * @return the Builder object itself. - */ - public Builder withCertificateVersion(String version) { - this.certificateVersion = version; - return this; - } - - /** - * Set the certificatePolicy value. Mandatory if sending the create - * request for the first time. - * - * @param certificatePolicy - * The management policy for the certificate. - * @return the Builder object itself. - */ - public Builder withPolicy(CertificatePolicy certificatePolicy) { - this.policy = certificatePolicy; - return this; - } - - /** - * Set the attributes value. - * - * @param attributes - * The attributes of the certificate. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof CertificateAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); - } - - this.attributes = (CertificateAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link UpdateCertificateRequest} object. - * - * @return the {@link UpdateCertificateRequest} object. - */ - public UpdateCertificateRequest build() { - return new UpdateCertificateRequest(this); - } - } - - private UpdateCertificateRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - certificateName = builder.certificateName; - certificateVersion = builder.certificateVersion == null ? "" : builder.certificateVersion; - - if (builder.attributes != null) { - certificateAttributes = (CertificateAttributes) new CertificateAttributes() - .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) - .withExpires(builder.attributes.expires()); - } else { - certificateAttributes = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - - if (builder.policy != null) { - certificatePolicy = new CertificatePolicy(); - if (builder.policy.attributes() != null) { - certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() - .withEnabled(builder.policy.attributes().enabled()) - .withExpires(builder.policy.attributes().expires()) - .withNotBefore(builder.policy.attributes().notBefore())); - } - if (builder.policy.issuerParameters() != null) { - certificatePolicy - .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); - } - if (builder.policy.x509CertificateProperties() != null) { - certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() - .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) - .withSubjectAlternativeNames( - builder.policy.x509CertificateProperties().subjectAlternativeNames()) - .withSubject(builder.policy.x509CertificateProperties().subject()) - .withEkus(builder.policy.x509CertificateProperties().ekus()) - .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); - } - if (builder.policy.lifetimeActions() != null) { - certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); - } - if (builder.policy.keyProperties() != null) { - certificatePolicy.withKeyProperties( - new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) - .withKeySize(builder.policy.keyProperties().keySize()) - .withKeyType(builder.policy.keyProperties().keyType()) - .withReuseKey(builder.policy.keyProperties().reuseKey())); - } - if (builder.policy.secretProperties() != null) { - certificatePolicy.withSecretProperties( - new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); - } - } else { - certificatePolicy = new CertificatePolicy(); - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the certificate name - */ - public String certificateName() { - return certificateName; - } - - /** - * @return the certificate version - */ - public String certificateVersion() { - return certificateVersion; - } - - /** - * @return the certificate policy - */ - public CertificatePolicy certificatePolicy() { - return certificatePolicy; - } - - /** - * @return the certificate attributes - */ - public CertificateAttributes certificateAttributes() { - return certificateAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.Map; + +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.CertificateAttributes; +import com.microsoft.azure.keyvault.models.CertificatePolicy; +import com.microsoft.azure.keyvault.models.IssuerParameters; +import com.microsoft.azure.keyvault.models.KeyProperties; +import com.microsoft.azure.keyvault.models.LifetimeAction; +import com.microsoft.azure.keyvault.models.SecretProperties; +import com.microsoft.azure.keyvault.models.X509CertificateProperties; + +/** + * The update certificate request class. + */ +public final class UpdateCertificateRequest { + private final String vaultBaseUrl; + private final String certificateName; + private final String certificateVersion; + private final CertificatePolicy certificatePolicy; + private final CertificateAttributes certificateAttributes; + private final Map tags; + + /** + * The {@link UpdateCertificateRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String certificateName; + + // Optional parameters + private String certificateVersion; + private CertificateAttributes attributes; + private Map tags; + private CertificatePolicy policy; + + /** + * The builder for constructing {@link UpdateCertificateRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param certificateName + * The name of the certificate in the given vault. + */ + public Builder(String vaultBaseUrl, String certificateName) { + this.vaultBaseUrl = vaultBaseUrl; + this.certificateName = certificateName; + } + + /** + * Set the certificate version value. + * + * @param version + * The version of the certificate. + * @return the Builder object itself. + */ + public Builder withCertificateVersion(String version) { + this.certificateVersion = version; + return this; + } + + /** + * Set the certificatePolicy value. Mandatory if sending the create + * request for the first time. + * + * @param certificatePolicy + * The management policy for the certificate. + * @return the Builder object itself. + */ + public Builder withPolicy(CertificatePolicy certificatePolicy) { + this.policy = certificatePolicy; + return this; + } + + /** + * Set the attributes value. + * + * @param attributes + * The attributes of the certificate. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof CertificateAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); + } + + this.attributes = (CertificateAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link UpdateCertificateRequest} object. + * + * @return the {@link UpdateCertificateRequest} object. + */ + public UpdateCertificateRequest build() { + return new UpdateCertificateRequest(this); + } + } + + private UpdateCertificateRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + certificateName = builder.certificateName; + certificateVersion = builder.certificateVersion == null ? "" : builder.certificateVersion; + + if (builder.attributes != null) { + certificateAttributes = (CertificateAttributes) new CertificateAttributes() + .withNotBefore(builder.attributes.notBefore()).withEnabled(builder.attributes.enabled()) + .withExpires(builder.attributes.expires()); + } else { + certificateAttributes = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + + if (builder.policy != null) { + certificatePolicy = new CertificatePolicy(); + if (builder.policy.attributes() != null) { + certificatePolicy.withAttributes((CertificateAttributes) new CertificateAttributes() + .withEnabled(builder.policy.attributes().enabled()) + .withExpires(builder.policy.attributes().expires()) + .withNotBefore(builder.policy.attributes().notBefore())); + } + if (builder.policy.issuerParameters() != null) { + certificatePolicy + .withIssuerParameters(new IssuerParameters().withName(builder.policy.issuerParameters().name())); + } + if (builder.policy.x509CertificateProperties() != null) { + certificatePolicy.withX509CertificateProperties(new X509CertificateProperties() + .withValidityInMonths(builder.policy.x509CertificateProperties().validityInMonths()) + .withSubjectAlternativeNames( + builder.policy.x509CertificateProperties().subjectAlternativeNames()) + .withSubject(builder.policy.x509CertificateProperties().subject()) + .withEkus(builder.policy.x509CertificateProperties().ekus()) + .withKeyUsage(builder.policy.x509CertificateProperties().keyUsage())); + } + if (builder.policy.lifetimeActions() != null) { + certificatePolicy.withLifetimeActions(new ArrayList(builder.policy.lifetimeActions())); + } + if (builder.policy.keyProperties() != null) { + certificatePolicy.withKeyProperties( + new KeyProperties().withExportable(builder.policy.keyProperties().exportable()) + .withKeySize(builder.policy.keyProperties().keySize()) + .withKeyType(builder.policy.keyProperties().keyType()) + .withReuseKey(builder.policy.keyProperties().reuseKey())); + } + if (builder.policy.secretProperties() != null) { + certificatePolicy.withSecretProperties( + new SecretProperties().withContentType(builder.policy.secretProperties().contentType())); + } + } else { + certificatePolicy = new CertificatePolicy(); + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the certificate name + */ + public String certificateName() { + return certificateName; + } + + /** + * @return the certificate version + */ + public String certificateVersion() { + return certificateVersion; + } + + /** + * @return the certificate policy + */ + public CertificatePolicy certificatePolicy() { + return certificatePolicy; + } + + /** + * @return the certificate attributes + */ + public CertificateAttributes certificateAttributes() { + return certificateAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateKeyRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateKeyRequest.java index 8d9b199de1624..8bbac9c8c5e1e 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateKeyRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateKeyRequest.java @@ -1,200 +1,200 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; -import java.util.Map; - -import com.microsoft.azure.keyvault.KeyIdentifier; -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.KeyAttributes; -import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; - -/** - * The key update request class. - */ -public final class UpdateKeyRequest { - - private final String vaultBaseUrl; - private final String keyName; - private final String keyVersion; - private final List keyOperations; - private final KeyAttributes keyAttributes; - private final Map tags; - - /** - * The {@link UpdateKeyRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String keyName; - - // Optional parameters - private String keyVersion; - private List keyOperations; - private KeyAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link UpdateKeyRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param keyName - * The name of the key in the given vault. - */ - public Builder(String vaultBaseUrl, String keyName) { - this.vaultBaseUrl = vaultBaseUrl; - this.keyName = keyName; - } - - /** - * The builder for constructing {@link UpdateKeyRequest} object. - * - * @param keyIdentifier - * The key identifier, e.g. - * https://{vault-name}.vault.azure.net/keys/{key-name}/{key- - * version}. - */ - public Builder(String keyIdentifier) { - KeyIdentifier id = new KeyIdentifier(keyIdentifier); - this.vaultBaseUrl = id.vault(); - this.keyName = id.name(); - this.keyVersion = id.version(); - } - - /** - * Set the key version value. - * - * @param keyVersion - * the key version. - * @return the Builder object itself. - */ - public Builder withVersion(String keyVersion) { - this.keyVersion = keyVersion; - return this; - } - - /** - * Set the key operations value. - * - * @param keyOperations - * the key operation list - * @return the Builder object itself. - */ - public Builder withKeyOperations(List keyOperations) { - this.keyOperations = keyOperations; - return this; - } - - /** - * Set the key attributes value. - * - * @param attributes - * the key management attributes value to set - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof KeyAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); - } - - this.attributes = (KeyAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link UpdateKeyRequest} object. - * - * @return the {@link UpdateKeyRequest} object. - */ - public UpdateKeyRequest build() { - return new UpdateKeyRequest(this); - } - } - - private UpdateKeyRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - keyName = builder.keyName; - keyVersion = builder.keyVersion == null ? "" : builder.keyVersion; - - if (builder.keyOperations != null) { - keyOperations = new ArrayList(builder.keyOperations); - } else { - keyOperations = null; - } - - if (builder.attributes != null) { - keyAttributes = (KeyAttributes) new KeyAttributes().withEnabled(builder.attributes.enabled()) - .withExpires(builder.attributes.expires()).withNotBefore(builder.attributes.notBefore()); - } else { - keyAttributes = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vault base url - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the key name - */ - public String keyName() { - return keyName; - } - - /** - * @return the key version - */ - public String keyVersion() { - return keyVersion; - } - - /** - * @return the key operations - */ - public List keyOperations() { - return keyOperations; - } - - /** - * @return the key attributes - */ - public KeyAttributes keyAttributes() { - return keyAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Map; + +import com.microsoft.azure.keyvault.KeyIdentifier; +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.KeyAttributes; +import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation; + +/** + * The key update request class. + */ +public final class UpdateKeyRequest { + + private final String vaultBaseUrl; + private final String keyName; + private final String keyVersion; + private final List keyOperations; + private final KeyAttributes keyAttributes; + private final Map tags; + + /** + * The {@link UpdateKeyRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String keyName; + + // Optional parameters + private String keyVersion; + private List keyOperations; + private KeyAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link UpdateKeyRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param keyName + * The name of the key in the given vault. + */ + public Builder(String vaultBaseUrl, String keyName) { + this.vaultBaseUrl = vaultBaseUrl; + this.keyName = keyName; + } + + /** + * The builder for constructing {@link UpdateKeyRequest} object. + * + * @param keyIdentifier + * The key identifier, e.g. + * https://{vault-name}.vault.azure.net/keys/{key-name}/{key- + * version}. + */ + public Builder(String keyIdentifier) { + KeyIdentifier id = new KeyIdentifier(keyIdentifier); + this.vaultBaseUrl = id.vault(); + this.keyName = id.name(); + this.keyVersion = id.version(); + } + + /** + * Set the key version value. + * + * @param keyVersion + * the key version. + * @return the Builder object itself. + */ + public Builder withVersion(String keyVersion) { + this.keyVersion = keyVersion; + return this; + } + + /** + * Set the key operations value. + * + * @param keyOperations + * the key operation list + * @return the Builder object itself. + */ + public Builder withKeyOperations(List keyOperations) { + this.keyOperations = keyOperations; + return this; + } + + /** + * Set the key attributes value. + * + * @param attributes + * the key management attributes value to set + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof KeyAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of CertificateAttributes, or a subclass"); + } + + this.attributes = (KeyAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link UpdateKeyRequest} object. + * + * @return the {@link UpdateKeyRequest} object. + */ + public UpdateKeyRequest build() { + return new UpdateKeyRequest(this); + } + } + + private UpdateKeyRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + keyName = builder.keyName; + keyVersion = builder.keyVersion == null ? "" : builder.keyVersion; + + if (builder.keyOperations != null) { + keyOperations = new ArrayList(builder.keyOperations); + } else { + keyOperations = null; + } + + if (builder.attributes != null) { + keyAttributes = (KeyAttributes) new KeyAttributes().withEnabled(builder.attributes.enabled()) + .withExpires(builder.attributes.expires()).withNotBefore(builder.attributes.notBefore()); + } else { + keyAttributes = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vault base url + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the key name + */ + public String keyName() { + return keyName; + } + + /** + * @return the key version + */ + public String keyVersion() { + return keyVersion; + } + + /** + * @return the key operations + */ + public List keyOperations() { + return keyOperations; + } + + /** + * @return the key attributes + */ + public KeyAttributes keyAttributes() { + return keyAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateSecretRequest.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateSecretRequest.java index 8f29f61723c73..5c6cf46b40dc3 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateSecretRequest.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/UpdateSecretRequest.java @@ -1,189 +1,189 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.requests; - -import java.util.Collections; -import java.util.Map; - -import com.microsoft.azure.keyvault.SecretIdentifier; -import com.microsoft.azure.keyvault.models.Attributes; -import com.microsoft.azure.keyvault.models.SecretAttributes; - -/** - * The update secret request class. - */ -public final class UpdateSecretRequest { - private final String vaultBaseUrl; - private final String secretName; - private final String secretVersion; - private final String contentType; - private final SecretAttributes secretAttributes; - private final Map tags; - - /** - * The {@link UpdateSecretRequest} builder. - */ - public static class Builder { - - // Required parameters - private final String vaultBaseUrl; - private final String secretName; - - // Optional parameters - private String secretVersion; - private String contentType; - private SecretAttributes attributes; - private Map tags; - - /** - * The builder for constructing {@link UpdateSecretRequest} object. - * - * @param vaultBaseUrl - * The vault name, e.g. https://myvault.vault.azure.net. - * @param secretName - * The name of the secret in the given vault. - */ - public Builder(String vaultBaseUrl, String secretName) { - this.vaultBaseUrl = vaultBaseUrl; - this.secretName = secretName; - } - - /** - * The builder for constructing {@link UpdateSecretRequest} object. - * - * @param secretId - * The secret identifier, e.g. - * https://{vault-name}.vault.azure.net/secrets/{secret-name} - * /{ secret-version}. - */ - public Builder(String secretId) { - SecretIdentifier id = new SecretIdentifier(secretId); - this.vaultBaseUrl = id.vault(); - this.secretName = id.name(); - this.secretVersion = id.version(); - } - - /** - * Sets the secret version. - * @param version the secret version. - * @return the Builder object itself. - */ - public Builder withVersion(String version) { - this.secretVersion = version; - return this; - } - - /** - * Set the content type value. - * - * @param contentType - * Type of the secret value such as a password. - * @return the Builder object itself. - */ - public Builder withContentType(String contentType) { - this.contentType = contentType; - return this; - } - - /** - * Set the attributes value. - * - * @param attributes - * The secret management attributes. - * @return the Builder object itself. - */ - public Builder withAttributes(Attributes attributes) { - if (!(attributes instanceof SecretAttributes)) { - throw new IllegalArgumentException("Parameter 'attributes' should be instance of SecretAttributes, or a subclass"); - } - - this.attributes = (SecretAttributes) attributes; - return this; - } - - /** - * Set the tags value. - * - * @param tags - * Application-specific metadata in the form of key-value - * pairs. - * @return the Builder object itself. - */ - public Builder withTags(Map tags) { - this.tags = tags; - return this; - } - - /** - * builds the {@link UpdateSecretRequest} object. - * - * @return the {@link UpdateSecretRequest} object. - */ - public UpdateSecretRequest build() { - return new UpdateSecretRequest(this); - } - } - - private UpdateSecretRequest(Builder builder) { - vaultBaseUrl = builder.vaultBaseUrl; - secretName = builder.secretName; - secretVersion = builder.secretVersion == null ? "" : builder.secretVersion; - contentType = builder.contentType; - - if (builder.attributes != null) { - secretAttributes = (SecretAttributes) new SecretAttributes().withNotBefore(builder.attributes.notBefore()) - .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); - } else { - secretAttributes = null; - } - - if (builder.tags != null) { - tags = Collections.unmodifiableMap(builder.tags); - } else { - tags = null; - } - } - - /** - * @return the vaultBaseUrl - */ - public String vaultBaseUrl() { - return vaultBaseUrl; - } - - /** - * @return the secretName - */ - public String secretName() { - return secretName; - } - - /** - * @return the secretVersion - */ - public String secretVersion() { - return secretVersion; - } - - /** - * @return the contentType - */ - public String contentType() { - return contentType; - } - - /** - * @return the secretAttributes - */ - public SecretAttributes secretAttributes() { - return secretAttributes; - } - - /** - * @return the tags - */ - public Map tags() { - return tags; - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.requests; + +import java.util.Collections; +import java.util.Map; + +import com.microsoft.azure.keyvault.SecretIdentifier; +import com.microsoft.azure.keyvault.models.Attributes; +import com.microsoft.azure.keyvault.models.SecretAttributes; + +/** + * The update secret request class. + */ +public final class UpdateSecretRequest { + private final String vaultBaseUrl; + private final String secretName; + private final String secretVersion; + private final String contentType; + private final SecretAttributes secretAttributes; + private final Map tags; + + /** + * The {@link UpdateSecretRequest} builder. + */ + public static class Builder { + + // Required parameters + private final String vaultBaseUrl; + private final String secretName; + + // Optional parameters + private String secretVersion; + private String contentType; + private SecretAttributes attributes; + private Map tags; + + /** + * The builder for constructing {@link UpdateSecretRequest} object. + * + * @param vaultBaseUrl + * The vault name, e.g. https://myvault.vault.azure.net. + * @param secretName + * The name of the secret in the given vault. + */ + public Builder(String vaultBaseUrl, String secretName) { + this.vaultBaseUrl = vaultBaseUrl; + this.secretName = secretName; + } + + /** + * The builder for constructing {@link UpdateSecretRequest} object. + * + * @param secretId + * The secret identifier, e.g. + * https://{vault-name}.vault.azure.net/secrets/{secret-name} + * /{ secret-version}. + */ + public Builder(String secretId) { + SecretIdentifier id = new SecretIdentifier(secretId); + this.vaultBaseUrl = id.vault(); + this.secretName = id.name(); + this.secretVersion = id.version(); + } + + /** + * Sets the secret version. + * @param version the secret version. + * @return the Builder object itself. + */ + public Builder withVersion(String version) { + this.secretVersion = version; + return this; + } + + /** + * Set the content type value. + * + * @param contentType + * Type of the secret value such as a password. + * @return the Builder object itself. + */ + public Builder withContentType(String contentType) { + this.contentType = contentType; + return this; + } + + /** + * Set the attributes value. + * + * @param attributes + * The secret management attributes. + * @return the Builder object itself. + */ + public Builder withAttributes(Attributes attributes) { + if (!(attributes instanceof SecretAttributes)) { + throw new IllegalArgumentException("Parameter 'attributes' should be instance of SecretAttributes, or a subclass"); + } + + this.attributes = (SecretAttributes) attributes; + return this; + } + + /** + * Set the tags value. + * + * @param tags + * Application-specific metadata in the form of key-value + * pairs. + * @return the Builder object itself. + */ + public Builder withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * builds the {@link UpdateSecretRequest} object. + * + * @return the {@link UpdateSecretRequest} object. + */ + public UpdateSecretRequest build() { + return new UpdateSecretRequest(this); + } + } + + private UpdateSecretRequest(Builder builder) { + vaultBaseUrl = builder.vaultBaseUrl; + secretName = builder.secretName; + secretVersion = builder.secretVersion == null ? "" : builder.secretVersion; + contentType = builder.contentType; + + if (builder.attributes != null) { + secretAttributes = (SecretAttributes) new SecretAttributes().withNotBefore(builder.attributes.notBefore()) + .withEnabled(builder.attributes.enabled()).withExpires(builder.attributes.expires()); + } else { + secretAttributes = null; + } + + if (builder.tags != null) { + tags = Collections.unmodifiableMap(builder.tags); + } else { + tags = null; + } + } + + /** + * @return the vaultBaseUrl + */ + public String vaultBaseUrl() { + return vaultBaseUrl; + } + + /** + * @return the secretName + */ + public String secretName() { + return secretName; + } + + /** + * @return the secretVersion + */ + public String secretVersion() { + return secretVersion; + } + + /** + * @return the contentType + */ + public String contentType() { + return contentType; + } + + /** + * @return the secretAttributes + */ + public SecretAttributes secretAttributes() { + return secretAttributes; + } + + /** + * @return the tags + */ + public Map tags() { + return tags; + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/package-info.java b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/package-info.java index 8d9199cfb9d2e..4d663530322a3 100644 --- a/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/package-info.java +++ b/keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/requests/package-info.java @@ -1,8 +1,8 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -/** - * This package contains the classes for KeyVaultClient. Performs cryptographic - * key operations and vault operations against the Key Vault service. - */ -package com.microsoft.azure.keyvault.requests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * This package contains the classes for KeyVaultClient. Performs cryptographic + * key operations and vault operations against the Key Vault service. + */ +package com.microsoft.azure.keyvault.requests; diff --git a/keyvault/data-plane/azure-keyvault/src/test/java/com/microsoft/azure/keyvault/test/EnhancedKeyVaultTest.java b/keyvault/data-plane/azure-keyvault/src/test/java/com/microsoft/azure/keyvault/test/EnhancedKeyVaultTest.java index 19f8e28d388ac..f7fa32ab5ca48 100644 --- a/keyvault/data-plane/azure-keyvault/src/test/java/com/microsoft/azure/keyvault/test/EnhancedKeyVaultTest.java +++ b/keyvault/data-plane/azure-keyvault/src/test/java/com/microsoft/azure/keyvault/test/EnhancedKeyVaultTest.java @@ -1,115 +1,115 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.microsoft.azure.keyvault.test; - -import com.microsoft.azure.keyvault.messagesecurity.HttpMessageSecurity; - -import org.junit.Assert; -import org.junit.Test; -import org.apache.commons.codec.binary.Base64; - -import okhttp3.Request; -import okhttp3.RequestBody; -import okhttp3.MediaType; -import okhttp3.Response; -import okhttp3.ResponseBody; - -import okio.Buffer; - - - -public class EnhancedKeyVaultTest { - String clientEncryptionKeyBase64 = "eyJraWQiOiI2NDk2NWRjYi0yZTY0LTRhMjQtYmFjMC1kNWI3NGNiMWY3YzQiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoici1kbkVZRElaemoxbVc4eXdKamJuV3BWQ2pzRXFjZ3BXTm1yRWdsWW10MUtnZnZpZTAxMEwyX05UTnZnYW5FTWY1Z2I2ZUp0UjZkOE9SN2kybXpIOVpHV1pkbVBfbkstNUJWOG9pRjdEeVpMTXptS0NtQUluazJVZV94Q0dqb0dDOUR4R1pHZWhOUWpJU2J2LURtTW4wY0UzVGh1YTVXRWt3b1h3Xzg4d1VhU2tsMk5EQXUyUjYtY1kwVldkMVFuWldrZE5qRllaZ1Uzc0tnWnRJRFh2b1oxNFBoTGY1T2tXMDlmRkdGQVUxaTRiLXkyWktyNndRQnljTUhmR1pqZ0owYXVrYWVXcTZQMnRwTmVJc1I5SDYxbkZjUkxOamw5dWptVWVNbWd6RWFzN2VtTGhNY1pDVURWbzh4aG8yU1NQTlh6RDVXQUN1MkNYSGxlWGZPSU5RIiwiZSI6IkFRQUIiLCJkIjoiTUZidE1oZ3Itb0hpckdtc2p0VHk5VTExVlR4bXlhbWlBekstR2xUTExyUEZkX2NhaER3Q3c4NTdvcldCOUg1Z3F1ZklNX3Z2Z0JOOHhjM0JGYmx6TWY3eVQ4YjhGVGFfVXJxODUybEFBaWZKM3FmZlVYNlduN28tSmR4cTVmNHdEeXM2Tm9hWUEzU3d1cm1TbEtwc0JKRmx1czE1T3NONkRWWm10WXY4ekRmLUNYem1hSEdaeG00RHZFdGJVYXMyLWo0TWRkN2U3VXNVZlg1ajBQMXNTS2YzS2ZfeGIxSVR2MC1mOFJDTy04SWozcGVQN19sRkVFTTZYRTRPS3JiSFlRc1VDVHhiZHVBMElzTGxNMHp3UFJ1NU04ZnFmLTR5VjRoc3ZMOHNGWElnWHdNRkpWc1hjek5iQldfLWtsVDczdDgxZVVubllJR21qeDQtLVE3clFRIiwiZHAiOiJ4Z1NGRXVMcm5pdHlHVVpxZXpIdjV6SW0yemhsVEpnUGp4UE41ZWJQbjF2S3JhOUxDVTdkRTZWd21WZWhVdnFlMFhIR2IyakNFTXdwQmNURk0xRlBVRERwaTVmdzMtcWkzQ3pWTHdUN2I4M1ZNcVZYYUFHN0h6MjJUWjhFU04ycHFkSVVKNS1yTzY0UGJSMWZRVWNEWkhnOGJnU2Jrc0NRbDduOWxYekE4d0UiLCJkcSI6IkNxTlJKRXc1cEhXWi1xSGwtU09remdveGpfckNiY0JKdE1hMGRTOXpSZ1ptb1N0UkxZM1QyZ1ZPN3R4RzVERkxCNXFqbVdhYUhISWNlQW00U2lXVUliUEZDV0lOWG9IZ0UzaFhqbnVOLUthU2c3UzJRR21tY09BMWN3Z1BFX0ZxNEFlRGhncEJrYjJCeUs0Y0UzN044RmhJdG91OTB0TFp0YzhDWGx6Wm8zMCIsInFpIjoiZzRZb3Z5UnRWMVAtM0tnUnIzRHd6VWxrSFpReUJUS0szVzljOXRnOEhQS2dwT3hoaXpOU29YVjBQT0RLZmRLTmFvSEx5d3AxR3dDMWxueW1ORnNVVTRXMnhDa2FuMmJKMlVRTzh5bnEtNjlRZlY0MmtPcjhNQm5vNXQ5MVdXTjJwV2NSRnZVVFNya2VaZkZJY3RxcFVtY0hQNUN2SWc2Z2xnTXVCaWlVa0FnIiwicCI6IjFIQnNjOE5oT201TXVkVmZGYldldjE4akRuclcyZ25GOXNMV1JKemE0VFJYZVZZeVpDWDZQb0I4dFp1cmJTUklNbjNqTEZFMGFCOWFsXzYwZDdhRi1VdTl2VGtfSUxPMU15aVNTWmpyYjNvd0FxaTk4WjlUYWxBRHpXWWdXZjJIbTZ5VWp1YTcyMXkxOUtldHlrQmphdHhWTGtUMzZ1NExYY2dJNm1MSzlqayIsInEiOiIwX2tpSThGQ21qWGxaZ2hNTkI2cHBfZmZ5aW5BWHR2cmlNbllTNllPNTAwSHJCYnBHejRrNGNfNDJqQTlEekUxaXVqNkFvR2lyZWF5YU9fQ0NHVmM5UVItZm4wM3Noc2h6cTlkWTN0bmRYN2lYYzhkdmlUTl9pNjU5NDQyb19XaVBreG1QYURhMzFDdGxrcWZfNW45NlBwbWZ1Z2lJc1JYaWI4Wlp6bjh3ZDAiLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; - String clientSignatureKeyBase64 = "eyJraWQiOiI2NDk2NWRjYi0yZTY0LTRhMjQtYmFjMC1kNWI3NGNiMWY3YzQiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoici1kbkVZRElaemoxbVc4eXdKamJuV3BWQ2pzRXFjZ3BXTm1yRWdsWW10MUtnZnZpZTAxMEwyX05UTnZnYW5FTWY1Z2I2ZUp0UjZkOE9SN2kybXpIOVpHV1pkbVBfbkstNUJWOG9pRjdEeVpMTXptS0NtQUluazJVZV94Q0dqb0dDOUR4R1pHZWhOUWpJU2J2LURtTW4wY0UzVGh1YTVXRWt3b1h3Xzg4d1VhU2tsMk5EQXUyUjYtY1kwVldkMVFuWldrZE5qRllaZ1Uzc0tnWnRJRFh2b1oxNFBoTGY1T2tXMDlmRkdGQVUxaTRiLXkyWktyNndRQnljTUhmR1pqZ0owYXVrYWVXcTZQMnRwTmVJc1I5SDYxbkZjUkxOamw5dWptVWVNbWd6RWFzN2VtTGhNY1pDVURWbzh4aG8yU1NQTlh6RDVXQUN1MkNYSGxlWGZPSU5RIiwiZSI6IkFRQUIiLCJkIjoiTUZidE1oZ3Itb0hpckdtc2p0VHk5VTExVlR4bXlhbWlBekstR2xUTExyUEZkX2NhaER3Q3c4NTdvcldCOUg1Z3F1ZklNX3Z2Z0JOOHhjM0JGYmx6TWY3eVQ4YjhGVGFfVXJxODUybEFBaWZKM3FmZlVYNlduN28tSmR4cTVmNHdEeXM2Tm9hWUEzU3d1cm1TbEtwc0JKRmx1czE1T3NONkRWWm10WXY4ekRmLUNYem1hSEdaeG00RHZFdGJVYXMyLWo0TWRkN2U3VXNVZlg1ajBQMXNTS2YzS2ZfeGIxSVR2MC1mOFJDTy04SWozcGVQN19sRkVFTTZYRTRPS3JiSFlRc1VDVHhiZHVBMElzTGxNMHp3UFJ1NU04ZnFmLTR5VjRoc3ZMOHNGWElnWHdNRkpWc1hjek5iQldfLWtsVDczdDgxZVVubllJR21qeDQtLVE3clFRIiwiZHAiOiJ4Z1NGRXVMcm5pdHlHVVpxZXpIdjV6SW0yemhsVEpnUGp4UE41ZWJQbjF2S3JhOUxDVTdkRTZWd21WZWhVdnFlMFhIR2IyakNFTXdwQmNURk0xRlBVRERwaTVmdzMtcWkzQ3pWTHdUN2I4M1ZNcVZYYUFHN0h6MjJUWjhFU04ycHFkSVVKNS1yTzY0UGJSMWZRVWNEWkhnOGJnU2Jrc0NRbDduOWxYekE4d0UiLCJkcSI6IkNxTlJKRXc1cEhXWi1xSGwtU09remdveGpfckNiY0JKdE1hMGRTOXpSZ1ptb1N0UkxZM1QyZ1ZPN3R4RzVERkxCNXFqbVdhYUhISWNlQW00U2lXVUliUEZDV0lOWG9IZ0UzaFhqbnVOLUthU2c3UzJRR21tY09BMWN3Z1BFX0ZxNEFlRGhncEJrYjJCeUs0Y0UzN044RmhJdG91OTB0TFp0YzhDWGx6Wm8zMCIsInFpIjoiZzRZb3Z5UnRWMVAtM0tnUnIzRHd6VWxrSFpReUJUS0szVzljOXRnOEhQS2dwT3hoaXpOU29YVjBQT0RLZmRLTmFvSEx5d3AxR3dDMWxueW1ORnNVVTRXMnhDa2FuMmJKMlVRTzh5bnEtNjlRZlY0MmtPcjhNQm5vNXQ5MVdXTjJwV2NSRnZVVFNya2VaZkZJY3RxcFVtY0hQNUN2SWc2Z2xnTXVCaWlVa0FnIiwicCI6IjFIQnNjOE5oT201TXVkVmZGYldldjE4akRuclcyZ25GOXNMV1JKemE0VFJYZVZZeVpDWDZQb0I4dFp1cmJTUklNbjNqTEZFMGFCOWFsXzYwZDdhRi1VdTl2VGtfSUxPMU15aVNTWmpyYjNvd0FxaTk4WjlUYWxBRHpXWWdXZjJIbTZ5VWp1YTcyMXkxOUtldHlrQmphdHhWTGtUMzZ1NExYY2dJNm1MSzlqayIsInEiOiIwX2tpSThGQ21qWGxaZ2hNTkI2cHBfZmZ5aW5BWHR2cmlNbllTNllPNTAwSHJCYnBHejRrNGNfNDJqQTlEekUxaXVqNkFvR2lyZWF5YU9fQ0NHVmM5UVItZm4wM3Noc2h6cTlkWTN0bmRYN2lYYzhkdmlUTl9pNjU5NDQyb19XaVBreG1QYURhMzFDdGxrcWZfNW45NlBwbWZ1Z2lJc1JYaWI4Wlp6bjh3ZDAiLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; - String serverEncryptionKeyBase64 = "eyJraWQiOiIwMzZhOTQ2MS01NDAxLTQzNTItYjQ0Ni02ZWNmNGQyNmUwOGEiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoiaHlmZjlHVVZSRzJnQ1Z6MnhUUTAzYlA1dzVCS2FEenRMYmhHT0REeExJaDRVSGU5VWVpSWJiZ1FKd3lTMHZKWHNaRjVTRDRPamo2WlNOQXhwbkRYdVdXcHI4Yk0xWWFMaklVYldtUTc3ZVBWT0o5bVExak1DdnlSVkJ4RVNtQUo2MVdtTjhQZ012SDBhVjJ6SFZQSXpPS0ZCLVFGQkNkZjJWaEprYlRjcF9wd25wVGZnRVlTdzNWYXdyM0RfZExIWHFMWE9HRGRQUDM4NHluTS1LSEZqMmplZ3NjaThEek9XcmtNbVdoM2tYSHU4WVFwVnBsb0hpdkVjRGM1QkNXQ2Q2NlFHZ1hkcEFzSnJfNVN2SEhsLVZJOXM3UDN1dlNraExJRGRNYWZqWm1NTURRa1pselZZWXRMQk1iVDB2NmhRVVZSaTQ2RVNkQUNMNVE5aVpGR3dRIiwiZSI6IkFRQUIiLCJkIjoiREVLZ3ZUSENPUl9jcVp6R1FlTlhmRmtNS2lKWHJaY0JTT2x6YlR0N1ZUZlgtaXl5ZnRDaU41bV8xVnI5b3FjYkwxOXI2aEtfRFVZLWIyMTdZNGJPLXVGdkFDUF9oc3NhczVlTGdLcWhDUlptekNraGhMQjBhZmE1VkREd1BQTHpVMmJFbWtCcGdSV1R2MDhocFdKcFQ3U29ycXVQak8zcGN2VGdUNWhoZjlkRkZqbjlVUkxMWGltejlnLW9KaDdETVdvVnBkS2hnU1FFR0FUUGVFelBYZFlrd3pXYml2VGRoV3hiZ2pLQjE4Y3VNaDNrTU9TYXZzbl8tU3JTdjJLTW4xWjBLTldvbHFHN1JDaWZNelZlS29pcWtKLWVUZ0ttbGtHVU8tcksxT05uM1A3VUJSZG1mNjRaZjNISTVRdERQSXJCNURnRzBHUDNrVXZvZENQWU5RIiwiZHAiOiJrOTVGRTJpZDVMMGdwWTBwUGFyQjV6d3QtS2lvbG1FcTJlMjhVaVZiSHJYRmEwbVdsMjlrak5SUi10MTk0WUNwMFd5c2VHako3Qjd3a0U3TFM4TEszaHoxelUwLU9CM3VJdmdMbHZYNk05MHgtZF81S0p3WFB0eHk1ZVdYTndGMVg5Q1ZybUNZUGlKNDFoUXY5aE40b293aEJ4dnV2MldGTS1VRkZYbS03UDAiLCJkcSI6ImtLcmRtN0pkWl9SSkMtTjJBLUw3dEo1M3RfNjlweUZkYXdwS1RlNlNGeGNabkRHSGRUNDZXdDM3dzBFZ0tGdlRYWlVzXzB3M2doUDg4YVJBLUFDb1FqdUFReWkwVVNfZUlzUWRnQ21jZ2pHOU1uVWJXYW9LeEg0eGJNNUxmYlJCMDJRdGRnWkZKdm5nWkp3R0VLZjJOVVZwM2dTNXFEZmZIMllSUUpoSnZScyIsInFpIjoibVNEV2lvaDMyblRlRWdOTTNPZ09kWXBZbmhuMjdrVE1peGNNaElKeEdnWFFER0IxNmFzTjlaZ3dLdThIMVA1TkJfVG5CUHlWUmh6ZmtEd1dVM2hjc0lRMTFxbHFNbjdaaU1Vbm81NWtNNUZENzBsaXltZVNSc3AzVTZnNnVfOEc2MXhpWFdkeHZoLVFXaEhxQnZFdWE5aXdVcUxxbXZKTnNxT3phUFBjMGFZIiwicCI6Ino2NkFVbW0zYWNmZlJjNWdLQ015ajdVbTdKVURoRlBLXzJ2eTlzZ0RudzA0X0hOUFFwcG53ZVo0cTk3cE5GMG5MQ0phdWc2Yk0wMGhNQkV1U1FBdDA0UTFIcE1fcUxtd2YzMmpjOGViaTdBYnNJYVZiVk45T1VPUlJ6UVNHNkhzZERXMUx3SUFHazRZeDJ1WXlHdkpla1ZqVHVNQ2drLXA4SFFCeFBCX2ZtcyIsInEiOiJwcG05Sl9vc3pqdVNpNlJVdXFjS3gtajgxdmFNR1EtTFlwS0U3ZE5ydldrd2dOQUYzRU5pWmcxdEZCa3dQajFyaUNXVkV5NmpmZFR0aGZ0Rk9paURpLWRwOW9mYnppaVFTT3VjSXZVb1NFcGlDZ3Ewa2RPamZQVG03UVViWmxubk1iWkJ4SVZVUS12dksweVB2SHFmSFVLdEVic2NJZjh5UWVnMDBzUTBRb00iLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; - String serverSignatureKeyBase64 = "eyJraWQiOiI0Yjg2NGRiZi02NGRkLTQ1Y2EtOGI2OS1jZmVjMDQ1NjRiNTAiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoib1hsOS1hd2xtODNFRUhrOEVpS3dFRUJLMmhPZVMzYnVQdjVDX2xqdW9TVHZGLVlwSUdoclZEZ1hjTEF4ZmFLT0ZKS0FTUUFJTWhDSlI2a2owWGdEend1NUdrMkNmQXFuS0RMc050MHVJZEZLMFprcmJHU01RNkRyUW8zUHRaTl9Ja2N6Yi1ZeVlLQ05aMXJKZTRmRjE5VlZlT05jNTkwcTM1M21CX3UtTDFPTWZtSGNnNTM5aHdBT3JqWjhjdXIzZkotSW1NOW9naFJXLVp2UE94eXJ0Mmpsak9NancycDgzN09kdUQ0UGx5NG02RmY0c0pDUFNwYjVUUDV3OWdzeFdxQVVucjlmLTYzanYyX2RZdXZVOUpBQnB2MEprQTRSeHp5MWpJQlJoemNMWFp2TnZDSllPOFlBaGpSOGJzSEpBa0FLMXVDRFhzeXhEUFRnS0VPNXFRIiwiZSI6IkFRQUIiLCJkIjoiRWRzTWFpSjJHaTk3d2RLV0tPODdCdUVGSmU1TGI4N2I4NDFNUFRINldVbHJRdnBKaV9MZ0EzVWNhbktoVm1JMlVlSU5XNFVzWXRUZlNWUlR5S0w3ME5aY0JxT1JqVVBrVGhhcmRqbXBFMFpBZnNMd1FWRXhEWDFxNW5ZbUJNOGxuTlhBdzF2eU1Dc3cxN183VGJTcTFQNGJNSDM3MVF2bzVNZGlHM25rQXZtTnB5VVFqX1VWeVJSM3dJaEUwNnJPV0VOem83VnVQdUZvMl9OZWZtZC1WcWRMMVNDS2lPS1hiMGNOd29nTHRrMV9BVWhNNXVWY1dEU0poVmhTTzFxcEJFOHlOQ2xTR25YdWtQYlp6N3lLTnJLRUc2djBiWEJXV3d3SmRlUnhoZ0pjMFI4blVYWi14ZDlnTXhwVWM0eFU2ZmNHU3k3WHpfUzBlcVRuNGRhOVBRIiwiZHAiOiJKZHc4Mm1SM1N6X1Y4Vk8ySlRiVXpLektHTEpicUx4LWhTcFRxSktZYm5qS3NPd1R0RG1NZkFGY1VBRzZ5enJlbC02ZW50dWd0Y0o1bVZGVnVKQW44Vm1Yd2VSeFNBN3hLdUJoYUtqOWdjRTh2UzlHc21nWjF5MGZYT0VNcjBmMUFXdlV1V3RqZFh0RHdtSDQyVU03QWJILXlFaGNwRlA5aVlMOC1sUVFYYzAiLCJkcSI6Ikp2X0R5RlIzdXFxNlBkSFBrSTNBcHpKVzNmTkdrSGM4aGhUU01wd1ZzcmYyTHdKMGh5dVc2aVFnc1RaS1RoUmpyMUFZMjE1VGJsVWd1OV9rd3dEb2tnZU5LZmZwam9VTFBUSGdMOEN3c0ZKQ3A5UTE1Wl9GSEZtQzBiM291bDIzMjY1bVVFMHJwZjRZZFZLX29DWVBuRUJ4T2t6MnN6bDA3VUtlNEJzMWVGTSIsInFpIjoiaFNUWnBMM2NUSUJGaFlGUkFCd1V5QU16eVJrWExhdVVHQjRZelJEY0hvQzBBMUNXZ3k4eU1GbW1ZUWVTNlFwNUZaemV3Vy1zUnhyTkZJSFZOZTVHOE81dnhQSUFpMXF5Sk8wRWJIRHpPT0NiYXpaX2pRRXZtS0dPWGRqN2NqMDdlM2Rkdkp2cFl6UF85cDVFVGVVbEE0Q1IzMjNjbjhaNzVCY0FCTkFCamljIiwicCI6IjdlVkRqLW1vSDVlUlNJdVl2VGF2aDk1a2tqTGRkOVNXUU9xcW0xLVo2N1VGTWtsQm83NDg2S0UzZElucFB3V3dwSHA5dEZ3VXBzajBqcUJfZTJnNmpSNjFPWDBDaEE0cTh0VkFGajlIc0QtVkpLdUR2MTZBc2ExbGF4TFc2NlRNb3pGakpFZVg4OHRvS0pjVDNNR0VIeVdwd2RVRlJQeGROVVpPeFhaU2F0cyIsInEiOiJyY05nZ2pCSDFIWmRlSDJ1NXZwbVA5czFXV2lPZ0lLTXIwQUFJUnVnUVdaRUdrRy0xTzBuRVdleEphQzRiQ21YbXBCYXM3UGpNSjYyQ0I4UGRBZGZQRDBLVF9sZ3l2ckIwWXpGejVpeUdUZk1QYnNTX0Rlci1WekVsZ212V214VURXZmk0Snh0MTJpZ0NqaE5VMWdDYUVDelBoV2lNYXkwb21pOTB2V0lXc3MiLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; - - @Test - public void protectRequestEmptyKeysTest() throws Exception{ - HttpMessageSecurity messagesecurity = getMessageSecurityWithoutKeys(); - - Request request = getRequest(); - Request protectedRequest = messagesecurity.protectRequest(request); - - Assert.assertTrue(getRequestBody(protectedRequest).equals(getRequestBody(request))); - Assert.assertTrue(protectedRequest.method().equals(request.method())); - - Assert.assertTrue("Bearer Token".equals(protectedRequest.header("Authorization"))); - } - - @Test - public void unprotectRequestEmptyKeysTest() throws Exception{ - HttpMessageSecurity messagesecurity = new HttpMessageSecurity("Token", "", "", null, "", true); - - Request request = getRequest(); - Response response = getResponse(); - - Response unprotectedResponse = messagesecurity.unprotectResponse(response); - - Assert.assertTrue(response.body().equals(unprotectedResponse.body())); - } - - @Test - public void protectRequestTest() throws Exception{ - String expectedEncryptedRequestBody = new String(Base64.decodeBase64("eyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpZME9UWTFaR05pTFRKbE5qUXROR0V5TkMxaVlXTXdMV1ExWWpjMFkySXhaamRqTkNJc0ltRjBJam9pVkc5clpXNGlMQ0owY3lJNk1Dd2ljQ0k2Ym5Wc2JDd2lkSGx3SWpvaVVHOVFJbjAiLCJwYXlsb2FkIjoiZXlKd2NtOTBaV04wWldRaU9pSmxlVXBvWWtkamFVOXBTbE5WTUVWMFZEQkdSbFZEU1hOSmJYUndXa05KTmtscVFYcE9iVVUxVGtSWmVFeFVWVEJOUkVWMFRrUk5NVTFwTVdsT1JGRXlURlJhYkZreVdUQmFSRWt5V2xSQk5GbFRTWE5KYlZaMVdYbEpOa2xyUlhoTmFtaEVVV3ROZEZOR1RYbE9WRmxwWmxFaUxDSmxibU55ZVhCMFpXUmZhMlY1SWpvaVlUSldOU0lzSW1sMklqb2lWa1ZXVkZaRVJYbE5lbEpWVWxaT1ZVMVVTWHBPUVNJc0ltTnBjR2hsY25SbGVIUWlPaUpsYmpGTGRYZ3pSSE40ZERNellqbEtaRlI2UzNweVEzcGhlVkpsWldoR2VqaGZiMVpoUzE5V1QwVnphMEpUV214a1N6WmFieTFsVDJGblNVaFNha3BKY1VacllXcDFWblYwU0ZkUFkwaE5jV0Z3UVdjMGJtaE9kV1kxYlhKcFIzbFVRbWgxYTJWNFUzWlZNeTFaY0dGMVF6RkhXbGhhUjI1dFp6SjFOazVZYVVaVWEwVlZUWEpNUVcwdE5GWkRiWEZtUlhRdFFtSjRZMXBIWVdKMVJtNXlWVGxIUlhWTk5sWmpSVFZvVUZSNWFGUjFZelZoYkU1S1NpMXBNMFpQTW05dFdGUm5iUzFuVXpSUVVYRTVaRjk0U0VaQlVrcHZRM2gxTVdkSFJVcHFZbG8xUlRkeVNGZ3dRak5yV2xKaE1uUlJabXBmV1d0MFFqVTFVbmMzWW1SVlIxZDNSa05wWlhaWE9GVmhjakpJYms1dVZrWnRhWFpmUWpFeGVsUnVhRVp4VTFkd2VtbFdVV1JRVmprNE0wMVRNR2N4U2sxYVdERktWbTlVTFcxMFJWODRMWGhxTlhOTVdVZFBkbmxGTm5JdFprUlRPRFZoUTFOUlNtRkRVMUJ0TkVWM1JIbGlOVVZNUVc5WGFXTjJWMFpsVWtVNFdVZG9jekIzWDFSYVdqZENPSFk0VUdKTE1uWnFiRW8wUlc1ME4yRm1kMHRKVkd0bVRrMTZUM1pyWWprM1JWVjRSVkZRWlVOSWFYZFVUbHBRY1dGalUwUktOMEpWV0d4cFlVcE9WSGRXUkhaSFEzVlVTVE0wZUhOdVNYUkhlVXREUldocFRXbDRVR3B2ZWpaSmRYcFBTMTk1V0RWWWNrbEZMVXRmVVVSdVFYcEhkVmhVTUdkWFRYWkZVSFZJWjJScVZYbDVWSFpJWDFOWGEwcDBVelZZUzJOZmFIZExRVGRpTTNsSVpUTm1lbGRTWDNCc05GZEhhbmgxWlZKbmNFd3dUSFpQV1doMWVqZERibE5hVlZFNVpHcHRiMUJCU0VkUlowbHFhWGM0YTA5S2FHNHRVbEZoVHpoRVlXdGtkMUJKVmxKc2RYSlBRbU5qU21kT2IybEhWR0pDY2pRM1VIQTNTVE5NWlZSb1YyNVJObmwwVGtWdk5YTktZVk5SWlU1aFUwODRPV3hQVWpGRVpIUk5SRTF6VDBWc1ZXZFNRbE5vUTJWWFZta3hNalJwTUdOZlUzbFVSV1l5UkRVeFpYVXRNbFY2V1MxSU4wVTJiWGREYmxWamEzVlBkRkE0Ums5NVJrUXpVM0YzWXpCSWRGZHhaMmRRTVc1MGRIUnZVVkpTU0hwTWJFTjZaazF4TTBOamNYVmtiV0UzWW1vMk5teEpablE0VkZoV1gxSnFTWFpHY0VORGQxRmhOR2gxZFdwR1JrZ3haRFpCSWl3aWRHRm5Jam9pWjJKU05WbEtkWGwwTkZZMWRsUk9lazFRV0RScWR5SjkiLCJzaWduYXR1cmUiOiJtdVhWcmN1TjUzanhYY0xmc0Q5MlF2YW43cm41UGhHZW9qdTJaSGtEX3E3YlpHVGU0R0NzRkZuNnRsdzRDTVhNcDZsQ3N6VmRyMkJadjVDeFZHbGFFMVluSUh2bkg2Y3JWMklFVERUMUhiZ3NjMHF4NUtGaHI2cklXUjhJdm91X001MGlFc2UzZDRyN19ZR3dxbDhyWFN6N2NPWXFHRE91bEZyY1FaZ2xwZU15TVdRS19nQXRJSjBlTUk3ZGk5ZG5fQ0pKLUhKUlNUWWJsNkF4czgzOFAtR3pfcV9HNXNtSldfVmN2bVRFVlhRNGliLWNjUlpxYklZNUxSYmpkZl9UaWJ0XzUwZndkT3h2OHZWY1MyQUlISHduWVM1bmhUSGFfZ1hvdmtSU1lJVEw2SXd0Q1Y0TzRuTm12cHFQcDNiLW5ndnl4a2VQbVgzRE1KZHp2aml4Y2cifQ==")); - HttpMessageSecurity messagesecurity = getMessageSecurityWithKeys(); - - Request request = getRequest(); - Request protectedRequest = messagesecurity.protectRequest(request); - - Assert.assertTrue(getRequestBody(protectedRequest).equals(expectedEncryptedRequestBody)); - Assert.assertTrue(protectedRequest.method().equals(request.method())); - - Assert.assertTrue("Bearer Token".equals(protectedRequest.header("Authorization"))); - } - - @Test - public void unprotectResponseTest() throws Exception{ - String expectedResponse = new String(Base64.decodeBase64("eyJraWQiOiJ0ZXN0IiwicmVrIjp7Imp3ayI6eyJraWQiOiIwMzZhOTQ2MS01NDAxLTQzNTItYjQ0Ni02ZWNmNGQyNmUwOGEiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpbImVuY3J5cHQiLCJ3cmFwS2V5IiwidmVyaWZ5Il0sIm4iOiJoeWZmOUdVVlJHMmdDVnoyeFRRMDNiUDV3NUJLYUR6dExiaEdPRER4TEloNFVIZTlVZWlJYmJnUUp3eVMwdkpYc1pGNVNENE9qajZaU05BeHBuRFh1V1dwcjhiTTFZYUxqSVViV21RNzdlUFZPSjltUTFqTUN2eVJWQnhFU21BSjYxV21OOFBnTXZIMGFWMnpIVlBJek9LRkItUUZCQ2RmMlZoSmtiVGNwX3B3bnBUZmdFWVN3M1Zhd3IzRF9kTEhYcUxYT0dEZFBQMzg0eW5NLUtIRmoyamVnc2NpOER6T1dya01tV2gza1hIdThZUXBWcGxvSGl2RWNEYzVCQ1dDZDY2UUdnWGRwQXNKcl81U3ZISGwtVkk5czdQM3V2U2toTElEZE1hZmpabU1NRFFrWmx6VllZdExCTWJUMHY2aFFVVlJpNDZFU2RBQ0w1UTlpWkZHd1EiLCJlIjoiQVFBQiIsImQiOm51bGwsImRwIjpudWxsLCJkcSI6bnVsbCwicWkiOm51bGwsInAiOm51bGwsInEiOm51bGwsImsiOm51bGwsImtleV9oc20iOm51bGx9fX0=")); - HttpMessageSecurity messagesecurity = getMessageSecurityWithKeys(); - Response response = getResponse(); - - Response unprotectedResponse = messagesecurity.unprotectResponse(response); - - Assert.assertTrue(expectedResponse.equals(unprotectedResponse.body().string())); - } - - private HttpMessageSecurity getMessageSecurityWithoutKeys() throws Exception{ - return new HttpMessageSecurity("Token", "", "", "", "", true); - } - - private HttpMessageSecurity getMessageSecurityWithKeys() throws Exception{ - return new HttpMessageSecurity("Token", - new String(Base64.decodeBase64(clientEncryptionKeyBase64)), - new String(Base64.decodeBase64(clientSignatureKeyBase64)), - new String(Base64.decodeBase64(serverEncryptionKeyBase64)), - new String(Base64.decodeBase64(serverSignatureKeyBase64)), - true); - } - - private Request getRequest(){ - RequestBody requestBody = RequestBody.create(MediaType.parse("application/jose+json"), "{\"kid\":\"test\"}"); - return (new Request.Builder()).url("http://www.contoso.com").post(requestBody).build(); - } - - private Response getResponse(){ - String responseBodyString = new String(Base64.decodeBase64("eyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpSaU9EWTBaR0ptTFRZMFpHUXRORFZqWVMwNFlqWTVMV05tWldNd05EVTJOR0kxTUNJc0ltRjBJam9pVkc5clpXNGlMQ0owY3lJNk1Dd2ljQ0k2Ym5Wc2JDd2lkSGx3SWpvaVVHOVFJbjAiLCJwYXlsb2FkIjoiZXlKd2NtOTBaV04wWldRaU9pSmxlVXBvWWtkamFVOXBTbE5WTUVWMFZEQkdSbFZEU1hOSmJYUndXa05KTmtscVdUQlBWRmt4V2tkT2FVeFVTbXhPYWxGMFRrZEZlVTVETVdsWlYwMTNURmRSTVZscVl6QlpNa2w0V21wa2FrNURTWE5KYlZaMVdYbEpOa2xyUlhoTmFtaEVVV3ROZEZOR1RYbE9WRmxwWmxFaUxDSmxibU55ZVhCMFpXUmZhMlY1SWpvaVFsVnNkVEJIWDJObldVSm9iVFYzUm5WaGEzZHViekEwUkZVd1kxTkRYemxVWjNwRGVsVlNRMWd5Y1VkdWRqRldaRTFRU0RVelpFcE1TbkZJT0ROc2IyWmplVTVSV0hGWWEwRlZkbVUxYVhVdFNGVlpXRmRwVmpOYVNsaGhWRVZRTUZKb2RHZHdaMkl3VUhGMFZtSlVibWRHU25VNVJ6Rm5VMWswTmxaTVdYaGtWek41ZGtsTFpFRmhRalV5Ums4M1MyOVlZVWw2T1ROblgxOHdjMnhuV1hSTlkxSjNkRm80VlZaTVpFVjNOemxXZUY5elMybGZNbVZyVm5VeFFYaE1iV0o2ZWxKeVNYQnplblJhUWpKWWNIWlRSak16VFRoVE1XSXRWVnBSU2s5QlVqWmpaQzE0UkVsRFYzVTRWbEJLZUVaalFWSlVaVlpHT1ZCaGNqbFBSMEpKV1ZOd1NXMXdTRlpYTUVWWE4yTkVSVVl6YWpCU2NFaEVRMko1YUZoeGFtVmpUMEZsVlV4MVRtaExOa0ZLYVhwTmF6Rldha3RFVldzM09HSlVhbkpSYkZOV1ZHWmxOamxTYVdGYVJsUXRabmhtYVhCQklpd2lhWFlpT2lKV1JWWlVWa1JGZVUxNlVsVlNWazVWVFZSSmVrNUJJaXdpWTJsd2FHVnlkR1Y0ZENJNkltVnVNVXQxZURORWMzaDBNek5pT1Vwa1ZIcExlbkpEZW1GNVVtVmxhRVo2T0Y5dlZtRkxYMVpQUlhWa2NXb3pkVGt3WWxWamFqVlllV2xyVVdGSFMyUXlZa0V3T0hsaWVuaHRUalZMVFVkbVRGSjBRbWMwVGpOMFNEQmhXRGxFWHpKSk4wdFZVRk5SY25GQ1dGTkpaSFZtV0RsaFdrUnZaRTl4ZW0xMWFWRmpkWFJUVWtWVFJtRkJUa2xTWHpCS2FsUkpORmhOVW1RMk5uQXdiVFJLVjA5TlluSmZkRlJ3VDNwVmJtbEhXRzloYUdZMU1sSk5kV3MxVlRCWFNrOU9aSGRxWlhwdll6bHdWM0JLTUdSTVZVVmlhVGhQVjJzMk9IVkdkemR3TFRWc1JIcFRSbGx4WVhOQ2FsaHFXSFJLV1c1alUzRnZUbTU0Y1VFMWVtTjBSSGxpUm5NNFMzSXRWSGRCYUU1S2JYQnJUVzVpYkZoTWVrczRVMGxZWkc1alZEbHJRWEJFWVZKWFQzWkNVa014ZVdaNlFUTmhhemd6VmpaSlFUZzRRMGt5WVRWcmMzSm9lakZIWTNKWllVVkRkWEY1ZFROMFNsZ3RMVVIyWlhSRWIwSlpkbDgzWlY5eWN6RnNWMVIzV0VOdk9FdG5MVVZzTTA1VFVFTnJjM2xFT1RWWFRYRkhSVWx6Y1V4aU1XVllWazEwWVd4aE5scGZYMHQyVTFSWVRVa3pZa0pVYkRoTFJITklNME5GTW5FNWNFdGxSbXBvTFROdVVuQnNibGcwYVdWcldsUjFRbWxrVDJaT1ozQktkRk13TTFSM05uVlJRbTB0WXpaWVRrUlNTR00xTUZjMFJ6WTFOemMxWDJJMmFFZGZjbmcxYkZSV2NYUTNaamRRTkZGeU1tRnFPSE5RTUdwaVJYWk1SRkJYWlhKYVdtNXpUak55T0VscmIwcFpPVTVLT0ZSelJuRXpSemMyVDE5U1gyVnJNRlZQY0Vob2VTMDFWR3B0UW1wTWFYSm1SMGRaZW5RNGJEWkRkVGd4YzBJdExVZG1SSEYwVkRNNVQxTTJaM2RvYWsxQlUxSjRORzQwYkRCVmRFbFNiMlpCWVdNd1IzWkNhVUZrV2xRMVIzcEVYekZZYUdSdGVGSnhNbmR1Vms0eE1XaDRSeTFTTUY5ZlFYQlNVVUY1WVdwaWNGQnFhMkYxWDE5ck5qVnFibTFWYWxGcGNXbHNjM1Z4UkZkR2JVWXlja1V0VlUwMFFXRkxSVlI2TUdWdFJtd3diakZ5WVRWRlNYVkpXRXczVFVjNVgybDZVMlZ2UlRaT1lWWnRkMnRHWnpKbFpqTnRNbk0xWTFKMlRGZ3hSeUlzSW5SaFp5STZJbUZIWTAwelVrWnJOR2xQVG5KZmVGUjBURkpQV21jaWZRIiwic2lnbmF0dXJlIjoiSXYzMzZ4Z1ZMVjNjOXpVb1RIcVRPd3Z6cHg2VTBySXpYaVRqS1Fxak8zSmZsbUJWczJ1OEw0STNDVFhSbGZuU0U5Y0plSXNuazR1Nmh1ZzhhakN0eHdVczBaUjVJREtPaDlfYjJoTG5vZEhQaE9Fb1dEMTBaWEJSZFlKb2dqVDd6cXhNSkd2NC1Mdmg5aGp5TE5BLUZ5TXd0dG9QVmQxdjRfOVlNQzNGczhUTHAyZTlrRHdreUxYUXpDYXN1ZkpRSGVybW82MDFJcXFfUVVZbTZnaWJCVXFMOWI4NEk3OHNOSVRLcWxkb0tGLXVKeHcxNzJRM2NMbEZycEJIWWhDalB2OFYtZnJHOGtMOVBhXzdaRjJBME4ycTNkR1ltMDAzWGo3VllmUDBkVU1rTFRnLUppakJNUzNnMDlqVTdLck5xRjlkUF9xejhjXzFjaG1JWFhxa3VRIn0=")); - - ResponseBody responseBody = ResponseBody.create(MediaType.parse("application/jose+json"), responseBodyString); - return (new Response.Builder()) - .header("content-type", "application/jose+json") - .body(responseBody) - .request(getRequest()) - .protocol(okhttp3.Protocol.HTTP_2) - .code(200) - .message("OK") - .build(); - } - - private String getRequestBody(Request request) throws Exception{ - Buffer buffer = new Buffer(); - request.body().writeTo(buffer); - return buffer.readUtf8(); - } -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.microsoft.azure.keyvault.test; + +import com.microsoft.azure.keyvault.messagesecurity.HttpMessageSecurity; + +import org.junit.Assert; +import org.junit.Test; +import org.apache.commons.codec.binary.Base64; + +import okhttp3.Request; +import okhttp3.RequestBody; +import okhttp3.MediaType; +import okhttp3.Response; +import okhttp3.ResponseBody; + +import okio.Buffer; + + + +public class EnhancedKeyVaultTest { + String clientEncryptionKeyBase64 = "eyJraWQiOiI2NDk2NWRjYi0yZTY0LTRhMjQtYmFjMC1kNWI3NGNiMWY3YzQiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoici1kbkVZRElaemoxbVc4eXdKamJuV3BWQ2pzRXFjZ3BXTm1yRWdsWW10MUtnZnZpZTAxMEwyX05UTnZnYW5FTWY1Z2I2ZUp0UjZkOE9SN2kybXpIOVpHV1pkbVBfbkstNUJWOG9pRjdEeVpMTXptS0NtQUluazJVZV94Q0dqb0dDOUR4R1pHZWhOUWpJU2J2LURtTW4wY0UzVGh1YTVXRWt3b1h3Xzg4d1VhU2tsMk5EQXUyUjYtY1kwVldkMVFuWldrZE5qRllaZ1Uzc0tnWnRJRFh2b1oxNFBoTGY1T2tXMDlmRkdGQVUxaTRiLXkyWktyNndRQnljTUhmR1pqZ0owYXVrYWVXcTZQMnRwTmVJc1I5SDYxbkZjUkxOamw5dWptVWVNbWd6RWFzN2VtTGhNY1pDVURWbzh4aG8yU1NQTlh6RDVXQUN1MkNYSGxlWGZPSU5RIiwiZSI6IkFRQUIiLCJkIjoiTUZidE1oZ3Itb0hpckdtc2p0VHk5VTExVlR4bXlhbWlBekstR2xUTExyUEZkX2NhaER3Q3c4NTdvcldCOUg1Z3F1ZklNX3Z2Z0JOOHhjM0JGYmx6TWY3eVQ4YjhGVGFfVXJxODUybEFBaWZKM3FmZlVYNlduN28tSmR4cTVmNHdEeXM2Tm9hWUEzU3d1cm1TbEtwc0JKRmx1czE1T3NONkRWWm10WXY4ekRmLUNYem1hSEdaeG00RHZFdGJVYXMyLWo0TWRkN2U3VXNVZlg1ajBQMXNTS2YzS2ZfeGIxSVR2MC1mOFJDTy04SWozcGVQN19sRkVFTTZYRTRPS3JiSFlRc1VDVHhiZHVBMElzTGxNMHp3UFJ1NU04ZnFmLTR5VjRoc3ZMOHNGWElnWHdNRkpWc1hjek5iQldfLWtsVDczdDgxZVVubllJR21qeDQtLVE3clFRIiwiZHAiOiJ4Z1NGRXVMcm5pdHlHVVpxZXpIdjV6SW0yemhsVEpnUGp4UE41ZWJQbjF2S3JhOUxDVTdkRTZWd21WZWhVdnFlMFhIR2IyakNFTXdwQmNURk0xRlBVRERwaTVmdzMtcWkzQ3pWTHdUN2I4M1ZNcVZYYUFHN0h6MjJUWjhFU04ycHFkSVVKNS1yTzY0UGJSMWZRVWNEWkhnOGJnU2Jrc0NRbDduOWxYekE4d0UiLCJkcSI6IkNxTlJKRXc1cEhXWi1xSGwtU09remdveGpfckNiY0JKdE1hMGRTOXpSZ1ptb1N0UkxZM1QyZ1ZPN3R4RzVERkxCNXFqbVdhYUhISWNlQW00U2lXVUliUEZDV0lOWG9IZ0UzaFhqbnVOLUthU2c3UzJRR21tY09BMWN3Z1BFX0ZxNEFlRGhncEJrYjJCeUs0Y0UzN044RmhJdG91OTB0TFp0YzhDWGx6Wm8zMCIsInFpIjoiZzRZb3Z5UnRWMVAtM0tnUnIzRHd6VWxrSFpReUJUS0szVzljOXRnOEhQS2dwT3hoaXpOU29YVjBQT0RLZmRLTmFvSEx5d3AxR3dDMWxueW1ORnNVVTRXMnhDa2FuMmJKMlVRTzh5bnEtNjlRZlY0MmtPcjhNQm5vNXQ5MVdXTjJwV2NSRnZVVFNya2VaZkZJY3RxcFVtY0hQNUN2SWc2Z2xnTXVCaWlVa0FnIiwicCI6IjFIQnNjOE5oT201TXVkVmZGYldldjE4akRuclcyZ25GOXNMV1JKemE0VFJYZVZZeVpDWDZQb0I4dFp1cmJTUklNbjNqTEZFMGFCOWFsXzYwZDdhRi1VdTl2VGtfSUxPMU15aVNTWmpyYjNvd0FxaTk4WjlUYWxBRHpXWWdXZjJIbTZ5VWp1YTcyMXkxOUtldHlrQmphdHhWTGtUMzZ1NExYY2dJNm1MSzlqayIsInEiOiIwX2tpSThGQ21qWGxaZ2hNTkI2cHBfZmZ5aW5BWHR2cmlNbllTNllPNTAwSHJCYnBHejRrNGNfNDJqQTlEekUxaXVqNkFvR2lyZWF5YU9fQ0NHVmM5UVItZm4wM3Noc2h6cTlkWTN0bmRYN2lYYzhkdmlUTl9pNjU5NDQyb19XaVBreG1QYURhMzFDdGxrcWZfNW45NlBwbWZ1Z2lJc1JYaWI4Wlp6bjh3ZDAiLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; + String clientSignatureKeyBase64 = "eyJraWQiOiI2NDk2NWRjYi0yZTY0LTRhMjQtYmFjMC1kNWI3NGNiMWY3YzQiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoici1kbkVZRElaemoxbVc4eXdKamJuV3BWQ2pzRXFjZ3BXTm1yRWdsWW10MUtnZnZpZTAxMEwyX05UTnZnYW5FTWY1Z2I2ZUp0UjZkOE9SN2kybXpIOVpHV1pkbVBfbkstNUJWOG9pRjdEeVpMTXptS0NtQUluazJVZV94Q0dqb0dDOUR4R1pHZWhOUWpJU2J2LURtTW4wY0UzVGh1YTVXRWt3b1h3Xzg4d1VhU2tsMk5EQXUyUjYtY1kwVldkMVFuWldrZE5qRllaZ1Uzc0tnWnRJRFh2b1oxNFBoTGY1T2tXMDlmRkdGQVUxaTRiLXkyWktyNndRQnljTUhmR1pqZ0owYXVrYWVXcTZQMnRwTmVJc1I5SDYxbkZjUkxOamw5dWptVWVNbWd6RWFzN2VtTGhNY1pDVURWbzh4aG8yU1NQTlh6RDVXQUN1MkNYSGxlWGZPSU5RIiwiZSI6IkFRQUIiLCJkIjoiTUZidE1oZ3Itb0hpckdtc2p0VHk5VTExVlR4bXlhbWlBekstR2xUTExyUEZkX2NhaER3Q3c4NTdvcldCOUg1Z3F1ZklNX3Z2Z0JOOHhjM0JGYmx6TWY3eVQ4YjhGVGFfVXJxODUybEFBaWZKM3FmZlVYNlduN28tSmR4cTVmNHdEeXM2Tm9hWUEzU3d1cm1TbEtwc0JKRmx1czE1T3NONkRWWm10WXY4ekRmLUNYem1hSEdaeG00RHZFdGJVYXMyLWo0TWRkN2U3VXNVZlg1ajBQMXNTS2YzS2ZfeGIxSVR2MC1mOFJDTy04SWozcGVQN19sRkVFTTZYRTRPS3JiSFlRc1VDVHhiZHVBMElzTGxNMHp3UFJ1NU04ZnFmLTR5VjRoc3ZMOHNGWElnWHdNRkpWc1hjek5iQldfLWtsVDczdDgxZVVubllJR21qeDQtLVE3clFRIiwiZHAiOiJ4Z1NGRXVMcm5pdHlHVVpxZXpIdjV6SW0yemhsVEpnUGp4UE41ZWJQbjF2S3JhOUxDVTdkRTZWd21WZWhVdnFlMFhIR2IyakNFTXdwQmNURk0xRlBVRERwaTVmdzMtcWkzQ3pWTHdUN2I4M1ZNcVZYYUFHN0h6MjJUWjhFU04ycHFkSVVKNS1yTzY0UGJSMWZRVWNEWkhnOGJnU2Jrc0NRbDduOWxYekE4d0UiLCJkcSI6IkNxTlJKRXc1cEhXWi1xSGwtU09remdveGpfckNiY0JKdE1hMGRTOXpSZ1ptb1N0UkxZM1QyZ1ZPN3R4RzVERkxCNXFqbVdhYUhISWNlQW00U2lXVUliUEZDV0lOWG9IZ0UzaFhqbnVOLUthU2c3UzJRR21tY09BMWN3Z1BFX0ZxNEFlRGhncEJrYjJCeUs0Y0UzN044RmhJdG91OTB0TFp0YzhDWGx6Wm8zMCIsInFpIjoiZzRZb3Z5UnRWMVAtM0tnUnIzRHd6VWxrSFpReUJUS0szVzljOXRnOEhQS2dwT3hoaXpOU29YVjBQT0RLZmRLTmFvSEx5d3AxR3dDMWxueW1ORnNVVTRXMnhDa2FuMmJKMlVRTzh5bnEtNjlRZlY0MmtPcjhNQm5vNXQ5MVdXTjJwV2NSRnZVVFNya2VaZkZJY3RxcFVtY0hQNUN2SWc2Z2xnTXVCaWlVa0FnIiwicCI6IjFIQnNjOE5oT201TXVkVmZGYldldjE4akRuclcyZ25GOXNMV1JKemE0VFJYZVZZeVpDWDZQb0I4dFp1cmJTUklNbjNqTEZFMGFCOWFsXzYwZDdhRi1VdTl2VGtfSUxPMU15aVNTWmpyYjNvd0FxaTk4WjlUYWxBRHpXWWdXZjJIbTZ5VWp1YTcyMXkxOUtldHlrQmphdHhWTGtUMzZ1NExYY2dJNm1MSzlqayIsInEiOiIwX2tpSThGQ21qWGxaZ2hNTkI2cHBfZmZ5aW5BWHR2cmlNbllTNllPNTAwSHJCYnBHejRrNGNfNDJqQTlEekUxaXVqNkFvR2lyZWF5YU9fQ0NHVmM5UVItZm4wM3Noc2h6cTlkWTN0bmRYN2lYYzhkdmlUTl9pNjU5NDQyb19XaVBreG1QYURhMzFDdGxrcWZfNW45NlBwbWZ1Z2lJc1JYaWI4Wlp6bjh3ZDAiLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; + String serverEncryptionKeyBase64 = "eyJraWQiOiIwMzZhOTQ2MS01NDAxLTQzNTItYjQ0Ni02ZWNmNGQyNmUwOGEiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoiaHlmZjlHVVZSRzJnQ1Z6MnhUUTAzYlA1dzVCS2FEenRMYmhHT0REeExJaDRVSGU5VWVpSWJiZ1FKd3lTMHZKWHNaRjVTRDRPamo2WlNOQXhwbkRYdVdXcHI4Yk0xWWFMaklVYldtUTc3ZVBWT0o5bVExak1DdnlSVkJ4RVNtQUo2MVdtTjhQZ012SDBhVjJ6SFZQSXpPS0ZCLVFGQkNkZjJWaEprYlRjcF9wd25wVGZnRVlTdzNWYXdyM0RfZExIWHFMWE9HRGRQUDM4NHluTS1LSEZqMmplZ3NjaThEek9XcmtNbVdoM2tYSHU4WVFwVnBsb0hpdkVjRGM1QkNXQ2Q2NlFHZ1hkcEFzSnJfNVN2SEhsLVZJOXM3UDN1dlNraExJRGRNYWZqWm1NTURRa1pselZZWXRMQk1iVDB2NmhRVVZSaTQ2RVNkQUNMNVE5aVpGR3dRIiwiZSI6IkFRQUIiLCJkIjoiREVLZ3ZUSENPUl9jcVp6R1FlTlhmRmtNS2lKWHJaY0JTT2x6YlR0N1ZUZlgtaXl5ZnRDaU41bV8xVnI5b3FjYkwxOXI2aEtfRFVZLWIyMTdZNGJPLXVGdkFDUF9oc3NhczVlTGdLcWhDUlptekNraGhMQjBhZmE1VkREd1BQTHpVMmJFbWtCcGdSV1R2MDhocFdKcFQ3U29ycXVQak8zcGN2VGdUNWhoZjlkRkZqbjlVUkxMWGltejlnLW9KaDdETVdvVnBkS2hnU1FFR0FUUGVFelBYZFlrd3pXYml2VGRoV3hiZ2pLQjE4Y3VNaDNrTU9TYXZzbl8tU3JTdjJLTW4xWjBLTldvbHFHN1JDaWZNelZlS29pcWtKLWVUZ0ttbGtHVU8tcksxT05uM1A3VUJSZG1mNjRaZjNISTVRdERQSXJCNURnRzBHUDNrVXZvZENQWU5RIiwiZHAiOiJrOTVGRTJpZDVMMGdwWTBwUGFyQjV6d3QtS2lvbG1FcTJlMjhVaVZiSHJYRmEwbVdsMjlrak5SUi10MTk0WUNwMFd5c2VHako3Qjd3a0U3TFM4TEszaHoxelUwLU9CM3VJdmdMbHZYNk05MHgtZF81S0p3WFB0eHk1ZVdYTndGMVg5Q1ZybUNZUGlKNDFoUXY5aE40b293aEJ4dnV2MldGTS1VRkZYbS03UDAiLCJkcSI6ImtLcmRtN0pkWl9SSkMtTjJBLUw3dEo1M3RfNjlweUZkYXdwS1RlNlNGeGNabkRHSGRUNDZXdDM3dzBFZ0tGdlRYWlVzXzB3M2doUDg4YVJBLUFDb1FqdUFReWkwVVNfZUlzUWRnQ21jZ2pHOU1uVWJXYW9LeEg0eGJNNUxmYlJCMDJRdGRnWkZKdm5nWkp3R0VLZjJOVVZwM2dTNXFEZmZIMllSUUpoSnZScyIsInFpIjoibVNEV2lvaDMyblRlRWdOTTNPZ09kWXBZbmhuMjdrVE1peGNNaElKeEdnWFFER0IxNmFzTjlaZ3dLdThIMVA1TkJfVG5CUHlWUmh6ZmtEd1dVM2hjc0lRMTFxbHFNbjdaaU1Vbm81NWtNNUZENzBsaXltZVNSc3AzVTZnNnVfOEc2MXhpWFdkeHZoLVFXaEhxQnZFdWE5aXdVcUxxbXZKTnNxT3phUFBjMGFZIiwicCI6Ino2NkFVbW0zYWNmZlJjNWdLQ015ajdVbTdKVURoRlBLXzJ2eTlzZ0RudzA0X0hOUFFwcG53ZVo0cTk3cE5GMG5MQ0phdWc2Yk0wMGhNQkV1U1FBdDA0UTFIcE1fcUxtd2YzMmpjOGViaTdBYnNJYVZiVk45T1VPUlJ6UVNHNkhzZERXMUx3SUFHazRZeDJ1WXlHdkpla1ZqVHVNQ2drLXA4SFFCeFBCX2ZtcyIsInEiOiJwcG05Sl9vc3pqdVNpNlJVdXFjS3gtajgxdmFNR1EtTFlwS0U3ZE5ydldrd2dOQUYzRU5pWmcxdEZCa3dQajFyaUNXVkV5NmpmZFR0aGZ0Rk9paURpLWRwOW9mYnppaVFTT3VjSXZVb1NFcGlDZ3Ewa2RPamZQVG03UVViWmxubk1iWkJ4SVZVUS12dksweVB2SHFmSFVLdEVic2NJZjh5UWVnMDBzUTBRb00iLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; + String serverSignatureKeyBase64 = "eyJraWQiOiI0Yjg2NGRiZi02NGRkLTQ1Y2EtOGI2OS1jZmVjMDQ1NjRiNTAiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpudWxsLCJuIjoib1hsOS1hd2xtODNFRUhrOEVpS3dFRUJLMmhPZVMzYnVQdjVDX2xqdW9TVHZGLVlwSUdoclZEZ1hjTEF4ZmFLT0ZKS0FTUUFJTWhDSlI2a2owWGdEend1NUdrMkNmQXFuS0RMc050MHVJZEZLMFprcmJHU01RNkRyUW8zUHRaTl9Ja2N6Yi1ZeVlLQ05aMXJKZTRmRjE5VlZlT05jNTkwcTM1M21CX3UtTDFPTWZtSGNnNTM5aHdBT3JqWjhjdXIzZkotSW1NOW9naFJXLVp2UE94eXJ0Mmpsak9NancycDgzN09kdUQ0UGx5NG02RmY0c0pDUFNwYjVUUDV3OWdzeFdxQVVucjlmLTYzanYyX2RZdXZVOUpBQnB2MEprQTRSeHp5MWpJQlJoemNMWFp2TnZDSllPOFlBaGpSOGJzSEpBa0FLMXVDRFhzeXhEUFRnS0VPNXFRIiwiZSI6IkFRQUIiLCJkIjoiRWRzTWFpSjJHaTk3d2RLV0tPODdCdUVGSmU1TGI4N2I4NDFNUFRINldVbHJRdnBKaV9MZ0EzVWNhbktoVm1JMlVlSU5XNFVzWXRUZlNWUlR5S0w3ME5aY0JxT1JqVVBrVGhhcmRqbXBFMFpBZnNMd1FWRXhEWDFxNW5ZbUJNOGxuTlhBdzF2eU1Dc3cxN183VGJTcTFQNGJNSDM3MVF2bzVNZGlHM25rQXZtTnB5VVFqX1VWeVJSM3dJaEUwNnJPV0VOem83VnVQdUZvMl9OZWZtZC1WcWRMMVNDS2lPS1hiMGNOd29nTHRrMV9BVWhNNXVWY1dEU0poVmhTTzFxcEJFOHlOQ2xTR25YdWtQYlp6N3lLTnJLRUc2djBiWEJXV3d3SmRlUnhoZ0pjMFI4blVYWi14ZDlnTXhwVWM0eFU2ZmNHU3k3WHpfUzBlcVRuNGRhOVBRIiwiZHAiOiJKZHc4Mm1SM1N6X1Y4Vk8ySlRiVXpLektHTEpicUx4LWhTcFRxSktZYm5qS3NPd1R0RG1NZkFGY1VBRzZ5enJlbC02ZW50dWd0Y0o1bVZGVnVKQW44Vm1Yd2VSeFNBN3hLdUJoYUtqOWdjRTh2UzlHc21nWjF5MGZYT0VNcjBmMUFXdlV1V3RqZFh0RHdtSDQyVU03QWJILXlFaGNwRlA5aVlMOC1sUVFYYzAiLCJkcSI6Ikp2X0R5RlIzdXFxNlBkSFBrSTNBcHpKVzNmTkdrSGM4aGhUU01wd1ZzcmYyTHdKMGh5dVc2aVFnc1RaS1RoUmpyMUFZMjE1VGJsVWd1OV9rd3dEb2tnZU5LZmZwam9VTFBUSGdMOEN3c0ZKQ3A5UTE1Wl9GSEZtQzBiM291bDIzMjY1bVVFMHJwZjRZZFZLX29DWVBuRUJ4T2t6MnN6bDA3VUtlNEJzMWVGTSIsInFpIjoiaFNUWnBMM2NUSUJGaFlGUkFCd1V5QU16eVJrWExhdVVHQjRZelJEY0hvQzBBMUNXZ3k4eU1GbW1ZUWVTNlFwNUZaemV3Vy1zUnhyTkZJSFZOZTVHOE81dnhQSUFpMXF5Sk8wRWJIRHpPT0NiYXpaX2pRRXZtS0dPWGRqN2NqMDdlM2Rkdkp2cFl6UF85cDVFVGVVbEE0Q1IzMjNjbjhaNzVCY0FCTkFCamljIiwicCI6IjdlVkRqLW1vSDVlUlNJdVl2VGF2aDk1a2tqTGRkOVNXUU9xcW0xLVo2N1VGTWtsQm83NDg2S0UzZElucFB3V3dwSHA5dEZ3VXBzajBqcUJfZTJnNmpSNjFPWDBDaEE0cTh0VkFGajlIc0QtVkpLdUR2MTZBc2ExbGF4TFc2NlRNb3pGakpFZVg4OHRvS0pjVDNNR0VIeVdwd2RVRlJQeGROVVpPeFhaU2F0cyIsInEiOiJyY05nZ2pCSDFIWmRlSDJ1NXZwbVA5czFXV2lPZ0lLTXIwQUFJUnVnUVdaRUdrRy0xTzBuRVdleEphQzRiQ21YbXBCYXM3UGpNSjYyQ0I4UGRBZGZQRDBLVF9sZ3l2ckIwWXpGejVpeUdUZk1QYnNTX0Rlci1WekVsZ212V214VURXZmk0Snh0MTJpZ0NqaE5VMWdDYUVDelBoV2lNYXkwb21pOTB2V0lXc3MiLCJrIjpudWxsLCJrZXlfaHNtIjpudWxsfQ=="; + + @Test + public void protectRequestEmptyKeysTest() throws Exception{ + HttpMessageSecurity messagesecurity = getMessageSecurityWithoutKeys(); + + Request request = getRequest(); + Request protectedRequest = messagesecurity.protectRequest(request); + + Assert.assertTrue(getRequestBody(protectedRequest).equals(getRequestBody(request))); + Assert.assertTrue(protectedRequest.method().equals(request.method())); + + Assert.assertTrue("Bearer Token".equals(protectedRequest.header("Authorization"))); + } + + @Test + public void unprotectRequestEmptyKeysTest() throws Exception{ + HttpMessageSecurity messagesecurity = new HttpMessageSecurity("Token", "", "", null, "", true); + + Request request = getRequest(); + Response response = getResponse(); + + Response unprotectedResponse = messagesecurity.unprotectResponse(response); + + Assert.assertTrue(response.body().equals(unprotectedResponse.body())); + } + + @Test + public void protectRequestTest() throws Exception{ + String expectedEncryptedRequestBody = new String(Base64.decodeBase64("eyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpZME9UWTFaR05pTFRKbE5qUXROR0V5TkMxaVlXTXdMV1ExWWpjMFkySXhaamRqTkNJc0ltRjBJam9pVkc5clpXNGlMQ0owY3lJNk1Dd2ljQ0k2Ym5Wc2JDd2lkSGx3SWpvaVVHOVFJbjAiLCJwYXlsb2FkIjoiZXlKd2NtOTBaV04wWldRaU9pSmxlVXBvWWtkamFVOXBTbE5WTUVWMFZEQkdSbFZEU1hOSmJYUndXa05KTmtscVFYcE9iVVUxVGtSWmVFeFVWVEJOUkVWMFRrUk5NVTFwTVdsT1JGRXlURlJhYkZreVdUQmFSRWt5V2xSQk5GbFRTWE5KYlZaMVdYbEpOa2xyUlhoTmFtaEVVV3ROZEZOR1RYbE9WRmxwWmxFaUxDSmxibU55ZVhCMFpXUmZhMlY1SWpvaVlUSldOU0lzSW1sMklqb2lWa1ZXVkZaRVJYbE5lbEpWVWxaT1ZVMVVTWHBPUVNJc0ltTnBjR2hsY25SbGVIUWlPaUpsYmpGTGRYZ3pSSE40ZERNellqbEtaRlI2UzNweVEzcGhlVkpsWldoR2VqaGZiMVpoUzE5V1QwVnphMEpUV214a1N6WmFieTFsVDJGblNVaFNha3BKY1VacllXcDFWblYwU0ZkUFkwaE5jV0Z3UVdjMGJtaE9kV1kxYlhKcFIzbFVRbWgxYTJWNFUzWlZNeTFaY0dGMVF6RkhXbGhhUjI1dFp6SjFOazVZYVVaVWEwVlZUWEpNUVcwdE5GWkRiWEZtUlhRdFFtSjRZMXBIWVdKMVJtNXlWVGxIUlhWTk5sWmpSVFZvVUZSNWFGUjFZelZoYkU1S1NpMXBNMFpQTW05dFdGUm5iUzFuVXpSUVVYRTVaRjk0U0VaQlVrcHZRM2gxTVdkSFJVcHFZbG8xUlRkeVNGZ3dRak5yV2xKaE1uUlJabXBmV1d0MFFqVTFVbmMzWW1SVlIxZDNSa05wWlhaWE9GVmhjakpJYms1dVZrWnRhWFpmUWpFeGVsUnVhRVp4VTFkd2VtbFdVV1JRVmprNE0wMVRNR2N4U2sxYVdERktWbTlVTFcxMFJWODRMWGhxTlhOTVdVZFBkbmxGTm5JdFprUlRPRFZoUTFOUlNtRkRVMUJ0TkVWM1JIbGlOVVZNUVc5WGFXTjJWMFpsVWtVNFdVZG9jekIzWDFSYVdqZENPSFk0VUdKTE1uWnFiRW8wUlc1ME4yRm1kMHRKVkd0bVRrMTZUM1pyWWprM1JWVjRSVkZRWlVOSWFYZFVUbHBRY1dGalUwUktOMEpWV0d4cFlVcE9WSGRXUkhaSFEzVlVTVE0wZUhOdVNYUkhlVXREUldocFRXbDRVR3B2ZWpaSmRYcFBTMTk1V0RWWWNrbEZMVXRmVVVSdVFYcEhkVmhVTUdkWFRYWkZVSFZJWjJScVZYbDVWSFpJWDFOWGEwcDBVelZZUzJOZmFIZExRVGRpTTNsSVpUTm1lbGRTWDNCc05GZEhhbmgxWlZKbmNFd3dUSFpQV1doMWVqZERibE5hVlZFNVpHcHRiMUJCU0VkUlowbHFhWGM0YTA5S2FHNHRVbEZoVHpoRVlXdGtkMUJKVmxKc2RYSlBRbU5qU21kT2IybEhWR0pDY2pRM1VIQTNTVE5NWlZSb1YyNVJObmwwVGtWdk5YTktZVk5SWlU1aFUwODRPV3hQVWpGRVpIUk5SRTF6VDBWc1ZXZFNRbE5vUTJWWFZta3hNalJwTUdOZlUzbFVSV1l5UkRVeFpYVXRNbFY2V1MxSU4wVTJiWGREYmxWamEzVlBkRkE0Ums5NVJrUXpVM0YzWXpCSWRGZHhaMmRRTVc1MGRIUnZVVkpTU0hwTWJFTjZaazF4TTBOamNYVmtiV0UzWW1vMk5teEpablE0VkZoV1gxSnFTWFpHY0VORGQxRmhOR2gxZFdwR1JrZ3haRFpCSWl3aWRHRm5Jam9pWjJKU05WbEtkWGwwTkZZMWRsUk9lazFRV0RScWR5SjkiLCJzaWduYXR1cmUiOiJtdVhWcmN1TjUzanhYY0xmc0Q5MlF2YW43cm41UGhHZW9qdTJaSGtEX3E3YlpHVGU0R0NzRkZuNnRsdzRDTVhNcDZsQ3N6VmRyMkJadjVDeFZHbGFFMVluSUh2bkg2Y3JWMklFVERUMUhiZ3NjMHF4NUtGaHI2cklXUjhJdm91X001MGlFc2UzZDRyN19ZR3dxbDhyWFN6N2NPWXFHRE91bEZyY1FaZ2xwZU15TVdRS19nQXRJSjBlTUk3ZGk5ZG5fQ0pKLUhKUlNUWWJsNkF4czgzOFAtR3pfcV9HNXNtSldfVmN2bVRFVlhRNGliLWNjUlpxYklZNUxSYmpkZl9UaWJ0XzUwZndkT3h2OHZWY1MyQUlISHduWVM1bmhUSGFfZ1hvdmtSU1lJVEw2SXd0Q1Y0TzRuTm12cHFQcDNiLW5ndnl4a2VQbVgzRE1KZHp2aml4Y2cifQ==")); + HttpMessageSecurity messagesecurity = getMessageSecurityWithKeys(); + + Request request = getRequest(); + Request protectedRequest = messagesecurity.protectRequest(request); + + Assert.assertTrue(getRequestBody(protectedRequest).equals(expectedEncryptedRequestBody)); + Assert.assertTrue(protectedRequest.method().equals(request.method())); + + Assert.assertTrue("Bearer Token".equals(protectedRequest.header("Authorization"))); + } + + @Test + public void unprotectResponseTest() throws Exception{ + String expectedResponse = new String(Base64.decodeBase64("eyJraWQiOiJ0ZXN0IiwicmVrIjp7Imp3ayI6eyJraWQiOiIwMzZhOTQ2MS01NDAxLTQzNTItYjQ0Ni02ZWNmNGQyNmUwOGEiLCJrdHkiOiJSU0EiLCJrZXlfb3BzIjpbImVuY3J5cHQiLCJ3cmFwS2V5IiwidmVyaWZ5Il0sIm4iOiJoeWZmOUdVVlJHMmdDVnoyeFRRMDNiUDV3NUJLYUR6dExiaEdPRER4TEloNFVIZTlVZWlJYmJnUUp3eVMwdkpYc1pGNVNENE9qajZaU05BeHBuRFh1V1dwcjhiTTFZYUxqSVViV21RNzdlUFZPSjltUTFqTUN2eVJWQnhFU21BSjYxV21OOFBnTXZIMGFWMnpIVlBJek9LRkItUUZCQ2RmMlZoSmtiVGNwX3B3bnBUZmdFWVN3M1Zhd3IzRF9kTEhYcUxYT0dEZFBQMzg0eW5NLUtIRmoyamVnc2NpOER6T1dya01tV2gza1hIdThZUXBWcGxvSGl2RWNEYzVCQ1dDZDY2UUdnWGRwQXNKcl81U3ZISGwtVkk5czdQM3V2U2toTElEZE1hZmpabU1NRFFrWmx6VllZdExCTWJUMHY2aFFVVlJpNDZFU2RBQ0w1UTlpWkZHd1EiLCJlIjoiQVFBQiIsImQiOm51bGwsImRwIjpudWxsLCJkcSI6bnVsbCwicWkiOm51bGwsInAiOm51bGwsInEiOm51bGwsImsiOm51bGwsImtleV9oc20iOm51bGx9fX0=")); + HttpMessageSecurity messagesecurity = getMessageSecurityWithKeys(); + Response response = getResponse(); + + Response unprotectedResponse = messagesecurity.unprotectResponse(response); + + Assert.assertTrue(expectedResponse.equals(unprotectedResponse.body().string())); + } + + private HttpMessageSecurity getMessageSecurityWithoutKeys() throws Exception{ + return new HttpMessageSecurity("Token", "", "", "", "", true); + } + + private HttpMessageSecurity getMessageSecurityWithKeys() throws Exception{ + return new HttpMessageSecurity("Token", + new String(Base64.decodeBase64(clientEncryptionKeyBase64)), + new String(Base64.decodeBase64(clientSignatureKeyBase64)), + new String(Base64.decodeBase64(serverEncryptionKeyBase64)), + new String(Base64.decodeBase64(serverSignatureKeyBase64)), + true); + } + + private Request getRequest(){ + RequestBody requestBody = RequestBody.create(MediaType.parse("application/jose+json"), "{\"kid\":\"test\"}"); + return (new Request.Builder()).url("http://www.contoso.com").post(requestBody).build(); + } + + private Response getResponse(){ + String responseBodyString = new String(Base64.decodeBase64("eyJwcm90ZWN0ZWQiOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpSaU9EWTBaR0ptTFRZMFpHUXRORFZqWVMwNFlqWTVMV05tWldNd05EVTJOR0kxTUNJc0ltRjBJam9pVkc5clpXNGlMQ0owY3lJNk1Dd2ljQ0k2Ym5Wc2JDd2lkSGx3SWpvaVVHOVFJbjAiLCJwYXlsb2FkIjoiZXlKd2NtOTBaV04wWldRaU9pSmxlVXBvWWtkamFVOXBTbE5WTUVWMFZEQkdSbFZEU1hOSmJYUndXa05KTmtscVdUQlBWRmt4V2tkT2FVeFVTbXhPYWxGMFRrZEZlVTVETVdsWlYwMTNURmRSTVZscVl6QlpNa2w0V21wa2FrNURTWE5KYlZaMVdYbEpOa2xyUlhoTmFtaEVVV3ROZEZOR1RYbE9WRmxwWmxFaUxDSmxibU55ZVhCMFpXUmZhMlY1SWpvaVFsVnNkVEJIWDJObldVSm9iVFYzUm5WaGEzZHViekEwUkZVd1kxTkRYemxVWjNwRGVsVlNRMWd5Y1VkdWRqRldaRTFRU0RVelpFcE1TbkZJT0ROc2IyWmplVTVSV0hGWWEwRlZkbVUxYVhVdFNGVlpXRmRwVmpOYVNsaGhWRVZRTUZKb2RHZHdaMkl3VUhGMFZtSlVibWRHU25VNVJ6Rm5VMWswTmxaTVdYaGtWek41ZGtsTFpFRmhRalV5Ums4M1MyOVlZVWw2T1ROblgxOHdjMnhuV1hSTlkxSjNkRm80VlZaTVpFVjNOemxXZUY5elMybGZNbVZyVm5VeFFYaE1iV0o2ZWxKeVNYQnplblJhUWpKWWNIWlRSak16VFRoVE1XSXRWVnBSU2s5QlVqWmpaQzE0UkVsRFYzVTRWbEJLZUVaalFWSlVaVlpHT1ZCaGNqbFBSMEpKV1ZOd1NXMXdTRlpYTUVWWE4yTkVSVVl6YWpCU2NFaEVRMko1YUZoeGFtVmpUMEZsVlV4MVRtaExOa0ZLYVhwTmF6Rldha3RFVldzM09HSlVhbkpSYkZOV1ZHWmxOamxTYVdGYVJsUXRabmhtYVhCQklpd2lhWFlpT2lKV1JWWlVWa1JGZVUxNlVsVlNWazVWVFZSSmVrNUJJaXdpWTJsd2FHVnlkR1Y0ZENJNkltVnVNVXQxZURORWMzaDBNek5pT1Vwa1ZIcExlbkpEZW1GNVVtVmxhRVo2T0Y5dlZtRkxYMVpQUlhWa2NXb3pkVGt3WWxWamFqVlllV2xyVVdGSFMyUXlZa0V3T0hsaWVuaHRUalZMVFVkbVRGSjBRbWMwVGpOMFNEQmhXRGxFWHpKSk4wdFZVRk5SY25GQ1dGTkpaSFZtV0RsaFdrUnZaRTl4ZW0xMWFWRmpkWFJUVWtWVFJtRkJUa2xTWHpCS2FsUkpORmhOVW1RMk5uQXdiVFJLVjA5TlluSmZkRlJ3VDNwVmJtbEhXRzloYUdZMU1sSk5kV3MxVlRCWFNrOU9aSGRxWlhwdll6bHdWM0JLTUdSTVZVVmlhVGhQVjJzMk9IVkdkemR3TFRWc1JIcFRSbGx4WVhOQ2FsaHFXSFJLV1c1alUzRnZUbTU0Y1VFMWVtTjBSSGxpUm5NNFMzSXRWSGRCYUU1S2JYQnJUVzVpYkZoTWVrczRVMGxZWkc1alZEbHJRWEJFWVZKWFQzWkNVa014ZVdaNlFUTmhhemd6VmpaSlFUZzRRMGt5WVRWcmMzSm9lakZIWTNKWllVVkRkWEY1ZFROMFNsZ3RMVVIyWlhSRWIwSlpkbDgzWlY5eWN6RnNWMVIzV0VOdk9FdG5MVVZzTTA1VFVFTnJjM2xFT1RWWFRYRkhSVWx6Y1V4aU1XVllWazEwWVd4aE5scGZYMHQyVTFSWVRVa3pZa0pVYkRoTFJITklNME5GTW5FNWNFdGxSbXBvTFROdVVuQnNibGcwYVdWcldsUjFRbWxrVDJaT1ozQktkRk13TTFSM05uVlJRbTB0WXpaWVRrUlNTR00xTUZjMFJ6WTFOemMxWDJJMmFFZGZjbmcxYkZSV2NYUTNaamRRTkZGeU1tRnFPSE5RTUdwaVJYWk1SRkJYWlhKYVdtNXpUak55T0VscmIwcFpPVTVLT0ZSelJuRXpSemMyVDE5U1gyVnJNRlZQY0Vob2VTMDFWR3B0UW1wTWFYSm1SMGRaZW5RNGJEWkRkVGd4YzBJdExVZG1SSEYwVkRNNVQxTTJaM2RvYWsxQlUxSjRORzQwYkRCVmRFbFNiMlpCWVdNd1IzWkNhVUZrV2xRMVIzcEVYekZZYUdSdGVGSnhNbmR1Vms0eE1XaDRSeTFTTUY5ZlFYQlNVVUY1WVdwaWNGQnFhMkYxWDE5ck5qVnFibTFWYWxGcGNXbHNjM1Z4UkZkR2JVWXlja1V0VlUwMFFXRkxSVlI2TUdWdFJtd3diakZ5WVRWRlNYVkpXRXczVFVjNVgybDZVMlZ2UlRaT1lWWnRkMnRHWnpKbFpqTnRNbk0xWTFKMlRGZ3hSeUlzSW5SaFp5STZJbUZIWTAwelVrWnJOR2xQVG5KZmVGUjBURkpQV21jaWZRIiwic2lnbmF0dXJlIjoiSXYzMzZ4Z1ZMVjNjOXpVb1RIcVRPd3Z6cHg2VTBySXpYaVRqS1Fxak8zSmZsbUJWczJ1OEw0STNDVFhSbGZuU0U5Y0plSXNuazR1Nmh1ZzhhakN0eHdVczBaUjVJREtPaDlfYjJoTG5vZEhQaE9Fb1dEMTBaWEJSZFlKb2dqVDd6cXhNSkd2NC1Mdmg5aGp5TE5BLUZ5TXd0dG9QVmQxdjRfOVlNQzNGczhUTHAyZTlrRHdreUxYUXpDYXN1ZkpRSGVybW82MDFJcXFfUVVZbTZnaWJCVXFMOWI4NEk3OHNOSVRLcWxkb0tGLXVKeHcxNzJRM2NMbEZycEJIWWhDalB2OFYtZnJHOGtMOVBhXzdaRjJBME4ycTNkR1ltMDAzWGo3VllmUDBkVU1rTFRnLUppakJNUzNnMDlqVTdLck5xRjlkUF9xejhjXzFjaG1JWFhxa3VRIn0=")); + + ResponseBody responseBody = ResponseBody.create(MediaType.parse("application/jose+json"), responseBodyString); + return (new Response.Builder()) + .header("content-type", "application/jose+json") + .body(responseBody) + .request(getRequest()) + .protocol(okhttp3.Protocol.HTTP_2) + .code(200) + .message("OK") + .build(); + } + + private String getRequestBody(Request request) throws Exception{ + Buffer buffer = new Buffer(); + request.body().writeTo(buffer); + return buffer.readUtf8(); + } +} diff --git a/keyvault/data-plane/azure-keyvault/src/test/java/resources/MockUserTokenCredentials.java b/keyvault/data-plane/azure-keyvault/src/test/java/resources/MockUserTokenCredentials.java index e7fed19ba8c66..0b316adca7a8f 100644 --- a/keyvault/data-plane/azure-keyvault/src/test/java/resources/MockUserTokenCredentials.java +++ b/keyvault/data-plane/azure-keyvault/src/test/java/resources/MockUserTokenCredentials.java @@ -1,61 +1,61 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package resources; - -import java.io.IOException; -import java.util.Date; - -import com.microsoft.azure.AzureEnvironment; -import com.microsoft.azure.credentials.UserTokenCredentials; -import com.microsoft.aad.adal4j.AuthenticationResult; - - - -public class MockUserTokenCredentials extends UserTokenCredentials { - - private AuthenticationResult authenticationResult; - - - public MockUserTokenCredentials(String clientId, String domain, String username, String password, - AzureEnvironment environment) { - super(clientId, domain, username, password, environment); - } - - public MockUserTokenCredentials() { - this("","","","", AzureEnvironment.AZURE); - } - @Override - public String getToken(String resource) throws IOException { - if (authenticationResult != null - && authenticationResult.getExpiresOnDate().before(new Date())) { - acquireAccessTokenFromRefreshToken(); - } else { - acquireAccessToken(); - } - return authenticationResult.getAccessToken(); - } - - private void acquireAccessToken() throws IOException { - this.authenticationResult = new AuthenticationResult( - null, - "token1", - "refresh", - 1, - null, - null, - false); - } - - private void acquireAccessTokenFromRefreshToken() throws IOException { - this.authenticationResult = new AuthenticationResult( - null, - "token2", - "refresh", - 1, - null, - null, - false); - } -} - +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package resources; + +import java.io.IOException; +import java.util.Date; + +import com.microsoft.azure.AzureEnvironment; +import com.microsoft.azure.credentials.UserTokenCredentials; +import com.microsoft.aad.adal4j.AuthenticationResult; + + + +public class MockUserTokenCredentials extends UserTokenCredentials { + + private AuthenticationResult authenticationResult; + + + public MockUserTokenCredentials(String clientId, String domain, String username, String password, + AzureEnvironment environment) { + super(clientId, domain, username, password, environment); + } + + public MockUserTokenCredentials() { + this("","","","", AzureEnvironment.AZURE); + } + @Override + public String getToken(String resource) throws IOException { + if (authenticationResult != null + && authenticationResult.getExpiresOnDate().before(new Date())) { + acquireAccessTokenFromRefreshToken(); + } else { + acquireAccessToken(); + } + return authenticationResult.getAccessToken(); + } + + private void acquireAccessToken() throws IOException { + this.authenticationResult = new AuthenticationResult( + null, + "token1", + "refresh", + 1, + null, + null, + false); + } + + private void acquireAccessTokenFromRefreshToken() throws IOException { + this.authenticationResult = new AuthenticationResult( + null, + "token2", + "refresh", + 1, + null, + null, + false); + } +} + diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/backupRestoreForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/backupRestoreForKeyOperationsTest.json index 8f0f5a1fe626e..0c33073b1e10a 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/backupRestoreForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/backupRestoreForKeyOperationsTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:39 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "35050443-83b0-401d-81bc-4c0dbe512bce", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:39 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "67273b35-58a1-44a9-9705-700dfed36036", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/backup?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:40 GMT", - "content-length" : "20136", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "db9c4813-a2a4-4e94-950e-8869ef8c22af", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQ0lzSW1WdVl5STZJa0V4TWpoRFFrTXRTRk15TlRZaWZRLmZsZnRHZnpJNW01MW1FeDkycmVuN292c3FpNmFxRXVIUHo0b2ZKdy1nemE4SnFMUEpXbW9PY1c4VHM4a0dqUEg1MU5HU19aOFZyb290VGRTbU05SlFuNmpfVmotcU9aSlNRcTFoUkgyaTNDV2dIN1laRm9OQ3dLM0tVT1JSZkNfMFVOdW04MjhweU9BSC1GT1Q5VjEzbmdXdkNmTlQ1V2wyZWsxckxIczRlRGJMUWVfR0RuYlhncFFEazh1Y0NRQ1BjdTNaa2xRV3o4dDJIb21xUHdzSEEyeXprTGc2ZGRaQWxqTDFGeklvQTBFUHRVTU5Gekl6OWpQWjBkLUVmSlNJTHNIYzRoMjlkSVpQaFlWcHlQMmVmTVVaTHhRbE5hclZ4bTFDdVFMX0NJSk0xbk8zSXhoSkNjOVVkRDc2UnlhbmN1ZER4dVgtREJLd2R5Z0JGcnFVUS5fcG5hUkpCTXV3QjRhY0hyN2RaVlBBLlhhTUZiN2VlcUtKUTlYaXNQYklwS2NKNGE1QjI5eWo0OWNiWUtlLUtsc2RMbHY5SzlDcG1SOTlVNWg2NHFNaElqWHhSdWpkYkRCU3hTcDR4elJOdDR4dHMyR3lDRmFDYm1VVURkZHJCVWpUQlVlTFNPRGdURkprYjdVbXpyZHQ0N0dKcEJMSDNXVE16UVdieWNEV3paSHRjNVRuck10bmdLX2l0U19GS1hxcjJ3Q0RqYnVva2dQRWVrbmhpUXJmUjBwSjBJVlFFU0F2WF90VmMzblhSbkhEeVlqVFZyb1hQR2lQMlpkdzJhZUN6SDhKSUozcE9NeUhUZlZ6RkhtYXpVZFlLRjMxa2NlUGFVbk5ScXRMSTB3WkFvT0pUeXJ6TXdvR09hQlVBX2RmVGxGSFhkWWRlMUEzMEFnZFVuZHFfUUswQU1LTHJOejh3U3RyTjIzRk9hT1R6TExIQlFOZ2EzRWliRXdfSVdFWUtYcE5UcVg5U0NITEtPZkNLekhibWdwNHc5ekdmZnlMdjdhTzBYWVRqUjBHSzc0WFgtOXFlT2FESzR4SUQ3TFZ2U3hyNEFxZFRmVnpRZHlxb1FfY2hQMjB4XzlKYXVFVUU3Tk5CSVk3UUs0T1R6akxGMWYyZk04VV9rS3hJVDNoZjVyWi1IeTd6ZU1MampfQmRlLUJSNzBJSTc2WmlOclRqQjh3Zjc5blZTQll4R1pUZzlRMTluVm1GR3A1dEdPbVlnbFZxdnhkNW1zMFk0Yms0WGExM2o2YlRRVV9QUXpkYWxYY01DUk1wSDNnbURGWGFyX3RMOHRvMkZIS0pWdWxrQjlaa05tdTZzQmRpb2o5c0syS0RpQktnX2F1anVpcHBxMHpJbjBUOS02d3FJV1Y3bTN6cUZyV0VldnhuOU1xRHhYUWxiVERJa1NRZUVDbmhHYTZVZ1ROZHlETmdHWlFpMlRxQy1BRTB0dklKY3BSTk9wZXJWaTZTaV9TS212ekxXWk1lTVJxQm1Qd0d4WlV3b3loN1pjX2NRcFdVNzdqU0lkaFhYVWZrVlh1YmtNVmpEa2xMdTZRdW5fdjYtZXUwd1p3N29CVGZaSDJOOG44SGJVZlhsQzJ2RkdJWWlTWXRTQWhYdFlVY0FVNE4wWkpNcXdiWDk4OE4yazdFY2hVMWM1clFXQW1HWkhYUTNhM0VFTzZZZWs1UmdvdzJoU0ZxVjRaNzdneFlsSmk4VUpqVnE5aGJkOFY2QXVndTVSM29nMWlTQVZmMnhzOG15cllLUTQxdkZoSk12bUN6ekJHQVMyNUt3TkNWa2t1am91cXdaTWZLRDdJWHdXU1MwQTVPWWRtcjdVS2huekhvNlNCeFh2akJaUjNwMWduMEZrNzdLbE0tbDROalNidTJia2xaeFdSZlhmY0Flc1FXRm9HWHl0MHhjZG1LSXFEblM2NDhZYWt0N25GYk1jQnNBOXFzdTBuMnVlVmdySXNfTXdwblRfb290UWU4RV9oY0psaTAzY21nU2puRVNWd1VyOHU2aXloWHhhS2FQRWRaT0pNY2dEd1pTN1dJdFowcndfdnRFVzlYNVdtWTk3SDJEcUhTcy1ZMGtqZlRORmQ1SzZCcG1pbGpXeXM5NktWdTFvWDh4emZJMFpvcFlsRnhUVGtxQjBhZU1PdlpDblgxYjgwejE5akNFcDFtdHN0SGVTaE5hbkZGNHlLZC0yMGpxVWcyZ19yUGVnMFlqcHIxOXB3VG1acEFvUkcwZHlvakZUN2R0QmtVUS1VTEI2S3N2ZlhXeGhwdFFNYUVmM203alJ6VkZCMVNDVWloM2tUN0hhVnBMRHY3RVVxRW5MdzZhVjFtSzQ2UEF5Wjc2cFBvUzEtUnNOVFBwakExemlma2RwVjhUeXZRdDU0MlZjODh0eWNIZVhseFhtVUNZclpZV0pNN2NZRktFZDNLVTMtUVhqZTFHNjgxNmYxZ3Rsa0ltUDlDcko0X3JtSzJ3R2FsRTV6NmYxZTg5S196TXcyazNyb3Z2WXZ0VGhzUzE2R2FMN0dXVkJIaVNocmkwb3l3WVVyOG5XclFzTHFJOHA2NzhpQ21FaHdYYUJnR3BYNFZHekUzalFYRzNaUkxEakRvNzZqa3RMUkxocUJtTnJZR3R4WUE4cHFHdkFaQnl2TjZNV21Rd0pxekExQTlPaWlkTmNhQnVuMV90NGk5ZlVESlBBeFhjODllbDBiSU9wclRBOUFiMUFUcm94clNVd1BHUHU0Um5WSWh5LVlFbWNqS1RhSjNiX1g5QXRBaDg4Zm9KNWVWZmpqY2xjUG9CMXFXbXc2QXNzQVdIb3ExTUtqaTZMRDVfWVluVXREQVJRY2Z3Nk1FRWEtQjFDc2laMmQ2SHltbVVDY1NNSkhzdFRkWmhNLTc3WmI5cnFiMkx5Znd5b2dWRHQ4bGlkRHYwLUZobU5hWmNvLVFpSVVTYVM0T2cyVTZJTUc3NDVSMXFpRUx4ZnowcFdQMXhHTkxERWtSMGtTSFllNXc0ZmpOc0ZsM29Gdm43RTE2dUVBdF9Calg3NDFYbHo2eWo1Zl8yTXNkMWFzTnhDaDlIYUlxRTRWdUZqemk4SEZoMHM5WWJ4U2FteUktTzRyeEpsVUo3Y1FPUHBhUXBoOXRnWWswWHd1QU1VQkZuQUhqMmJiWFM5UThUNlNGM1ZwUXk2cENIRkk1dl9MTnNyTE5fM3Nub1djbk1hcnFUYUlRTVVCdXNHMU9Xd0dqNjZvMkZBSWRmRmtacUxsQkNwaWhUWDFheWYtUjlncnYwVFNJQTNwTXY3Qy13RmpuZGRubjZzM1lEZTZERmVxMjNRbVdmTUp2QlBpY01oT1VfcUtqV28wWFZqOHpzb1o1UnNUWmZGcWMwb25zN29sclprc2xlcjJrN3RKc2MtNllSMnY5UzMzdnlFQ3B3OHdycEpzU0UwOXlTcFRCNjQxR09QaGtKOWNGTDA0MWV0ZGVNZE9uYV9IMGFnaWM1Y09UYVdERi00bXA5bnZJWXRpZ2Z1TENlOEtQX01qTkpQQUJkeE9lRXV1c1o2bVJhcElPYVJFUlpQVUtacWVhMHFUR3p2c2pvU3drd1NKRHpLS2NFLU5uUjlGdTdDSmtUYlgxbjBzT1AzaTIxc2ZZYzZDSzRERW9QdEEzOU5zS2RMWkFZMW5NQlNpQjJIZ2FPRk1NQ2dIbW1CdnFJWl9lcjlqdmh0WmNheTk3QTBSdV9FQnpQNU81WTd5MkQ3V1AxR1h3eTN1a0ZtM0VPM0c1WWxzNldTMmFkZ3JLWTQ4TlJIUjI5V0F1MmFMWGZMZ3JxVkctd0liY19TMlZLMk1XS0pyX1lYWmN4UUN2Wm1tT0hFdVgtYXVFaFJoWmRhaldZaTBBcEJXam5tbjVoVllqMlpyTHpCc2pHQVlTX2lnMHJnYnEzTkNXZDdGSUFocElGbFNHejJmbG0wX3I5YThHU192cjNNdlZQem1jWFdFdTJmdnk0MzlCUXhYUGhwZS1WVkREajRVUmFZTTFPd2lNTnBvYkE2RUhCQU0zdXo5bEVjeGxQMkxUQ0tzN0RWYWFTUTZHTkNTME9Jbkd5Nm0wUEdjSmZGb2FBS0ZnVGxSMW9qT3BHRWtmTVR5RmhIQ0RXMU8xNExvbUZwNkpYYmZlWkh3cjdaNHZFemhqZzIzMlFHd2wwaXVFQjdzWnpLOWEteXhDQTh5d3dLR2pXbzNsM3ZrSGk1NnA5N0F6UVNSeTNRT1BqcGlvWVBaMDJJVkNzUWhKaTRxOFBfbG1VOFoyUGROMnM5VjdnM21KNl9VUFQwb3RWOTA1ckdNZS1QTEVDUWNaTlZibzY2YTB3VG5SeHNULWxrVndJYVBoMTRoQU5JUDNTbVpKLXhHOERXblJVM0pLZ2VqM1BkRm1PajhCRy0wVGZULXNKZDBxZjlPNkV1ZGNDaVRhX2VfZVVmUk1iMTU0cW1CS1k5R0pTdVdrN0F3cFVPWk9nc2lZbDNsbUVhTHRfdkRpb19QcW51MzlxbGpidlQ3cnNXSzFDaUZXM2dVU1pmRGdGYnpzV3RoRjhTaGZEVXpiaERLcHFoMy11bTdseVEzRzhGbHpLNm9URG9PbTRJSVJzOVQyZzBMbWFBYmRrS1FuZUV2UmpCakVHZXg5SGtrdklTZDd5ZV9YVkZhbVo5dlhLcHZzMElaVk9TeHo1eEdLRjZpN0pkZ1FMNU1GeHV3NDdueFNsUGN1ZkI0cUV1Q3psU3docmhrU19fNEFadmp1X1g2aGZvd1NBUkd4aGhNNDB1ZVhadTJXUHVfUVVqUEg3V2ZKX2lfaDhjUjVKMndVMzdtc0ZtZ3FJUlpNRjhubEF1MHBuWEE3eFJEVGJGelB1OWxiVEF2NDVuUks0NXljVmZQYkM4QnZEY2FiT21iTTUzT3EyanJTSG9nbmx0c3YtZnRpamw3VDl3THBwSkkzY2RXWU53bG5UMk1pZWhXR0I1ZVhjbjRMN3E1VFg1OXZsdkpEbXl5czdpUnFNcV8wVFd5WHpzWFVkekx3azlzM1hCMGhrSGFoRjZoTk14WTZOZFBOZDBuZTJmYS1FNFRkTTNfY0dSRlVOVTVGbUl5Z1B1QzFrUHU5N2JLOVlDUHhJTEh3Vk5fR0dWN01vZjgzTTQ4QnFDaWhyUFJlSXFaUGMzNjdzT2JQVXZOMkJ5ekcwLWQwcGx2SW5LVGFKMHdJQm9nVE9tRVJhTGM5SlI0di1Cc2h4dUpBTl9ZZU9temViRk9kVlI4RGtKMUMzd1Z1TVkwRm1nVFpWcG4zN2NuLVFpMm44WFc1QzBrNHhISThDNGpwQ1VhQUh0NEZzS1J0ZzRNQXZfVzV2MEtVdFowQUdxakpHdzU2eGFJOG1vbFFKN1l0aXRHN3EwMHNUT09lLThpN0E0dEFMNWE5cUlSZHhKblBrQktfT3FhWk9NYjBrVG8ySHRNTjRFNlBSVzF5ODlDOFYwdzd1UlpFRGc5aXFvamlGd0tzaXBZdUI5TWhQUEZUVEhwMDZzUjVPcEYxaWhqNExHQ2FXdHJRMm1SUU93SnEtSUctRzg3Z05tYzByZE0wUEVVZXFLeVJNaFNJMzdvRGdaaEZEbG52NlNHOE5PMzQ2Sk0xTWFiV1p2TkdBUDRhU3ExQ3BzdjJWWVV5Um9ra1RwcFItZ3pkODE0dHhIWlRydWVjYndFZEpCcnlxc3k4NUNzRWo5MDExLVhuM1Z5em95RTVyMkRZUWdzS3NSQ2U2Q3dQaFlHLXJnWGNYSlp4cmloR0FtZ3JjSFc2LXFpbXZfc0dPSTREQ0diTGtpMko2NzMzV1RrTlZ5MUt1cEJXdldQc080cVlIRXJfa2NpYW1rQnZ5VXRpN2N1STVDdE9yMzZWYTZKQUQtVEJfbWZfeHZVNHpSX3ppaU5DODlJeDdDbjFMVGtlcnM4bHJyTy1ReHZlZlYzb19DN1h4cXExWXJBekxVU2VxUlZpanNLUEJINEwtMzdDVTM0Vk1QSDZJaXdsNndHN2RmQ1dJQ2dIRE9SOGN5R3pweDNZQWxHVFdURVRTLXJnN2VTS3hBLV9oTW1LeVduTTRKRmR2Wm5wSHBoeGxPRVBoWkdTWDdnWUx5a1E5YzVzQWI4VlI4dkU0c3I0R0VaMkc2RHM4elIyQjUxTFNFbmtQZ2V2TkdTMS1RTUFpVXJuS0V2UUpTS010bEpxaHdCdDhxVEs0bG9NTUFINFZORFF5NXFIbENWWHRDRWdhenJpV0d1UUpNRm56TUJpSDRpa29LRnBsNVNUOEhsQjZ1WW5CdnY5TV83aDVQNjhlZDNRQ21sLXItN3oxbnQ3QWx4cWJrSDd2Q21PZFJwMFQzYW8yRFpOTElScWFNeF9LYjZ1dmRjMGxNQk5LZzRha3czdmMxb0JJbXY0UWc5a3BXNWl6WEJ0YXJhUnJzMU11QnVvUldwNnJ4UlZ2WDIwWFh6ODlqcVZ6Z3ZmNnpUQmZuenM5aTBKc0FBSzVCd0xkbjJ3eWVYM2IwRTR1RjZVLUhLZXkwcm9FSTBwQTFuMVV1enJReHRmWEFTbjMwcm01Tko3ekdiMmk5UEI5OTljcVU0eTRiaks1UUp4dlBhSjQ5S3NMQ1p6dm00M24yT19MNVlhUnJOQlhvU2RhSTc5dExGRFFxQU45Rm4tM2FfVERSMmpCejl5NUJrNG9YNVN5Q19IeUpvS3lZUXlfWDR4UWNkOGdpYjBnQ1lhb2pQV1A4TElvVjVSQUpxb1pVVENuS0FKWXllS1RRRTJyVFdwOVV1LXYzRVBmNnZrRm1GM0pIcUVRbWZDN2VrbnhyZFhYUFBvZkdQWEM2OTh2RWxhWTJTaERaTFhOa044T3Y2c2ZsUFhTNjFKLTg2dkhuUTA4WVlhbHZzT2xDMW9GcS1CYWdhOGhIemU4VV94bmxDbHM0c1JpNlBsbUROdjFtdHhOQnlWSDN4dTBadm5KRjNZWW5BR19CdExLdF90T1ViVFlQM19iRkNYRE9UZFJacnhVdXo5b1dHZl83ZjFOSGpfOWpMU1ZQWWl0ajUzMVpuamlFS204RWpsNTlvSm1lX0pLbkxIWTBVNUtCQlo5eE96bWZtZ1I5alVQT2JjYUZIV2ticHpwNG5pLXh3RkdLaEpWODRudG8wUzhtdm4zV3E3SHYyeExrSUdfekR4czZQRVB6Nlg2VFF3MVMzWS1JWDVLcGdlckExZVdCRW5PclFmVjlRUENiNGd6bjU4Vjk5YWh5ekgxMXVmd1pBdWlLRXdjbEQ5RTZMWUNORkR0STNTejNJQldTZU50WktyQWFqVXowX0d4SHFfOVFWMGtVNGZRMnYzaHZwS0JzSkRuVDhVSkpxcXlqSEZmV29HWjdnLUstbDRmRlZaY1Vjc3BRa1o2eGN2X2o4b1BRVXAtQkt2N2tDS1hSUXgxQ0Ewa090MENlY1FMWjRwR3BEUWV6UU13X0lpbWJQczFpTU1iaDEtNmoxVWhKVUlTUTF5MVZwMzJXQXc5VWR2QlR3UHlqSlJEQnZwUS14QnYwRW50QmhIa1ZBWGhjcVZ3NmdJODlIZWt4MlhENUtBMXlSSDJadzZ2TkJKR3poaDJRT0tsVlZGcU5wbXc5QW1scWtnTkFYbmQ3NHZFdFU3VWJWTGt3ZXI5TVRLZG9CdUFNRUNPODY3ajA0Uk92bk83ZzJpb3dZUV9MNDZSZTd4anJmSmxfS2VzQnc0WVExclBkeTlvUmxHQnBCbV9QcXk0RldYY2hQVS1uUWNuVFlyUDJ6R0ZoczNLUWpuZ2VRSlZvemZ1aTFRX1RhY1hYenlyRDA0NHItejFaQXlQdG5BcldfY05Yc2FDWFJnNGVEQmktWXBDeFhJbmVsVkI3cXhPZDJVeGxuUmxVSklOUXVocE15aVNMTldRcFZZTmtzTklaRDlDcmZSTi1peDZtVnFPRWI1Nk5DTzczdmRqUjFqY1cyc2NYanpESldnamZPamhkUFFwdWNWRnJuMkJiTzBMZXF6NU0yNUNoTUhWb0VzRDRXN2VQR3ltOHozblhYQ01xSjBMbHFtZkM5UTFFYTIzQzdXcGc2UXByNlNzeXp6WlNTNUFiM0cxV1gxZ1ZBWnVFd0ZiUWI5OUJDQlR4cG1keWhWN3locjByM1pQVGR4V21yOF85OTg4UGNKUTRSXzdIMnFTMXBfLUdMTUl3V1ZvTmE5V0xDZS1md0JtYWZPN0tXOHRWX0pYN0lPbmJjNE84Zy1XWjlhR19tcUU4RXdFSzNPM3RKQXE1aVNIMHR2djluTk1WdUY3WFZwU0JnX3RXYk52aUU3bWNFNWp2Y3FrV2lhdHQyZi1sZGcyWThGYUZONlB6SHFuaTYwQXJSUDlVMDllZTNUQnBnUG1tSEJ1YW5XNk04RlRnWVlEb0pmWVV1Wmk3MDdxYTdYWXNUaGFFck5nVlJNREZ6R0pwdzd4c0ROSXVleTJuRDV2ZWhsMEg1WmdNMldJaG5memN3a3dFWERydDB0UklHdnpmSlNEcnpnVUlCVGhfVEFhUUFoZ1Y5WXpUTkh5aGRyQ3ZaOHFtZWNtMDFlTEpyWkhvOURiVUJRbGZEY1l2Y3ZMRV9VTk55dzBlNEhULXVZaml2QWNhbEQzSW8wNy1HS0wzTktIZ2p5VDVyc01pQUJhbEYwUEhHS3hEX3RQQndPcGdKRnRuX3dnSTNjQm9qd205U3huWXhVQ0FyVTNsajRKbnJrSVVSQzNRR25GcEpvdGhCajRtaGE2aTZDQVlVSGloUW1iZHY3Sjlwd2N0dk82blpEb2t0a3Fjako5b0JXcEE5NzNGT1BiM0w0YU5JSnB5Sks4VE4zYTBXYV9Bb1ZpLU16OUZCQ3A5S2FSblFoT19QbHc4ZVlfb2R1UFRxSjAzdHN6U2Y3MkVHSlhESEJST0FpWGp0SlJ3RHNMd1o0b2tLWG5QZk1za01FNmYyQmZEY2JaMG5XZFJXaTBlMTAzSG92N0ZtcEs5d3RnOVNjMi1YakJMNGlmRXAteVc0MFM2NFlvSHBQN3kwOWpIdFpNV09FQmZoZVhobnNxdWg1M0xFMFNTb2QtV2tHOHpMdGpBenlTeWRBekhmNUMyNWt6YjhXYjIxTDZrWkJkZDJ1cjQ3a2RsU3FGRWhqa1JlVEhPNjZheldvUjJoUUJza2hVcXNXWFpHVE54dGxuTmdBYUJIOE40dmxJWFcwaXJ0eWptaVN6alNtaTIxaFVuZkhwaHMtZ1BOUmVlZkpTSFBZQ0JlTkdCbDlGd0h1V3doaUlrTHFtSkdXak1CM0JRMDFMMWVyc0xWaWstLXdBbUgxb2RCdUZRdXlZejVGQnZwZ1lZQ2NaR1Nud1RMQmE2YjBwTkE0RXU5VkpTdDhCcmZwMmJNSzRjZ19oV0Riei0wVjRPQWhIaU1kcHBCTjBpWXMyZ256OTNudGtkZkNBQjladFlJTTd1NGtyRnd5b3laTHJuZGFPclBVQWQ4X1o1YTF1SW9vZVBXS2pjdXFydG9oMHdqMldBNkpvV29tM1NIYUhFaUJ1SWNrY2w0Rnp3TU93Wk5tbDcwaDFsT1BmOEdZSFFRNUV1YXpWQ2VZeXdvYnBiVmo4amlXSVBzMkxZbVcxbkpDSlFJMDFaMVNJWGJJVGpCc0s0QWhWbUcxYk1KTG12M1BULV9XTUpyUmZKN0hVbDJ6Q0VWMTVTNGdxMTBPdkc1bXFlR0hGNW03UlhicHBOeXI0ZGhVSXcxWGJMVnliYUNpOTc3VjhxMjVkTFZoQmtTdXBUZHl2dnk1RGhBOW1rUEpyQng2ZERLb0tBZ1lyc1hWa2pxRlQ0d180T19oTm1QVUFKWEE2RlhFS2xPZ2JCcm14UmlqM2ZENzZBMG11YjBSQzRJSVJPa3Q0ZHB4ZUVnTjVYdlduNDE4d2I2QzNmU2c2X3lBWHMwUE1PVTZ6UEN0ZGZVU2dhTnhLaU84V0NORGJrT2lRaVZoUkdnTW9nU3REWl84UUd3dWVkSk9BY0M5Y2hnZ0xGZFRBWWdrU0tPMHRXRGxyQUI5czlxZ2ZnaXB0b1haLThyLVROUThMUENvUVZIQUdydGh4Smt6d0pQbVZCeGphYjFBQ2h4OG5wVmw1THUyb0ZrLUpxMEN2SGtIS2xtWU9IcWdTd0k2NWd6Wi15ZGRJS3l6alpvbXNsVUpXc3F3Vll4RS1uaEdTSWh2UEtqaDRzRy12d2ZFdmJNelVJVy1mM0h3VFBMSU9tRmptZ2pwcWh1WTV5RjA0VXl3WW02V2hUY3l4dnI0R3BzUUZ5RGZwUUhMaG5fcWZ6UFhOZmh3eWNJdjBfVjNqMWwwZGcxWUpJclFYMjJ3NVNwX2Q0YXBIbnJUTUdyWnNUOEdYellLZTgtNndYeTRxMFB5R2FlUTAtZjZFUGluQ2F5NGdUaGxmQS1UWjJBeVVmcnFLMXRvNXRtaXZCSThZWGQ5cVhsSWd4aHlKVkVzamlaR1VwbTRQR3F2T1VFekxidE5sd0dpVlVyM0h0VHZPWjRxYWhXd096bjVKWF9oaE5fXzNvdm5pbkNUZ0hvMXhzV0w4djNDVE9GTEhMV0Y2OE1sU1p3TGMyRU10eFhtTEhSeVg0YXhkR05WWVhqTjY2YXk3S1d4bkRSYnZraGQ5R3hJMGFDVEgwNGNtU1NmTDN5eWxjcVU3enpXSlo4bHFsME5fcmoycnZZUUJDMG85M0gwTzZMOG9yZmU4blhwUHRiX1RfLS1TOHY0RlA5M0FOLXMzZnNTYmVzdEc0bC1uamRidTljSDNzVTBGeTRSM1d1RktiOGdNcE5hVEJIWDdpc05hcGo4UWUxd1hxQmVsUU9xSEpHWWM3OTkwTnBVcmFtSFhpR3NWRjNSUVVPWndNLXpmM3VOZTB6TzdpZmQyTGZ5S1VZa3NrNFkxRXduck1ZQ0xPdUxfZzJ6aFdQUW9SS0R2czBKTzhBNGx6MVY0UDBRSFNBLWszZ2oycmxXWno4LW1HUlV0Ylh4ZkItcFNXbmNEb3RfeEFySHg5d2dhdmVHcUZOWXNucEdJX2hoMEFPaU45Y1paMjZGdHl6NlNjb3ZoVzdBWEpCT2hHaDZsRTgxYk5yaTJVd0cwdUsyU0syN09CVGxsV29OUm1ZX3NxWnFpMkRval9fdjRaR3N6Qk9PQTdRT21fVHFTYWVGcEdGaTQ4U0dpRGMwRUdaLXp5akV4dDlpWVVsZF9hVldEQzRtUVFXRFBRMlVlSzlCdWdxZDk2N3ZTUGhUd3ZMeE5aLU5uTWwwU2p4ZTFNdElTM195azZNbkgxdUVDUWNwbWdYMlRaWFpfbVpaaVlWV1hzRzExZzFKU3hLb0tCeVR6d1ZEcTJKc0ZNWWdtYUs0QVVPT1lROTlWQkp0Vnp6OWU4OEhNTnJRbzJrY09fZkQ1UV9TdkFzUDYxSWkxRFpHWXV0TENlOXFjRTNoaGJTQ0xpa24zbWlNTWtwc3dwcWgwcGcxa3Rkd1NYQjlhT0cxVkJpRDE4Z215U1NxdEhJOW8xaDFIdHNhWEY1emVMTTBCSElPTlZaMkgxY09nUWVwWUJpVzRTMlVvZU1VNHR4dVV6WDZHM2J2cGFIZlFGMmVOaU9yYzZpYTJvRGZEQTRVMGU3MWpNZjJSRHlqR1JqYlRJMHBZR1pVNFg4bC1IYTVqaDFjUU81eUNRQ0wxRTVRZl9kOUpOWnExNlBzQWU0WlJvUmhvOGVNQzZJQ3Y0WUdVazB2RHNMM01HTDdjMVRUbUVaVURFdEJBUElNNGxNX3VsUXB2d1ZwQ3pGLUZSdGlKNGR0WXVxdmZTdUJ2REhPM3VvU283THF4TUlCOXUwTl9qaHp2S2xFTTJPdnpPNnRBckYxUkc2YmhKQjhzSmlXZzhnblFOcEZJdlpkQWtEdTJTUVd4cF9HVlMzVkhETWdEa2w4Rks5bUJ6anVLVWdhN3Z3TVJSbmtfcVQ5eEN0WktKc0JGazlzRkNGNGtBVTZaWlNKQXcwMjJxZTAyNzZCU2J1Z05TNVBEOWJrX1ZQRzZKcmRJcWdWUFlRNW9GeDBRUHF3RjJUQ1Y3YlJPUUJNWUxEOFdlTWVWZ3Y4N01EajVZWlNSY0w0ZkVmRHl2ZW1uNUtMVEtuaUtMN1U4Tk02dFNUNHJqcjZMX1lzaC1XbUxPVkJYcS1WZUN5bEFFVGlfZWVYdGhVQldkTVJDWTJJQzExSzRZbjlMcnVJVEV4ZDh3SGEyd3hSOTZPcEpGU1JiekJoU0NvRndkdmZyOHV2M1pzNXpvaXFrVnVYbXNpTlZINjVGNkdCS0tCV1RtN0xGQmVHcTFlRjBWTHZVc213SGR2Wm12ZmJiR2VTbjRrRnduR3pOUFV3V2kxWWVzbmgwQm9ra0puc3p0TUF5bXR4bklGQVhlZl9KUDVwdGpMdnprMnpkR0JDcXVCU2xTbHgwTTljb2hmcnU2cWRtb0JxaEZNRmx0M1VqN2gxQjUzWXFVMElrcndzRE8wMlpMMUczTl80M2Mtb0JNYmk0UWhKUTltSmtna29NUURvNmpldTh2VmtvS2ROeHgwTmVrbF9acnZFU3VkVlU1WXBobW5kZVdweVhWU3RYaWQ2T3JwNU9JUXRRVm8tekY0YVNTQ0lLMFRhR0NiQ0xNem9fWlgwbG5QRzhGVU5JM0tpSUJOeDBwY3IxdGkwS09xNkZrelN5RG40WG5McFlibjBGdkg5Z1hhNHpCLTNkc0tQT1g2NXFwTmt5OGpSVFp5LVhlTVF3bVRoMlRHdDZnNlVZNDJjNDNYUFJpNlhocGxUY24yYV9mUVZWRW1Calc0NUpLR2l1aUVWSUxfdWVKNUdlY0IwR09vVEJ6anpUTkNWYVFlS3h0bkFjSzMwOENVX3dZQ1B5STFxZmxZemFqR3hVaGV5TmJhRnNCS0dzZWFjVlpaUy1zM2ctOGtjNFNQM3E0aUJreGprRGgydXpHaFFhMGRFY2NfcjFXS2pSZ1ladW40bjg5WXBYWEZ0R2hZVWJmUHpGdXczdkdfZXpUVURpdFVxWVdFNWt1QkRfNW5vMFpWV2xTVE1nTUJwUWpBUWlxT05QZGZzZXFmalJQZkhmNlRuM21MUVkzNkRHNjdQYVprYXI3WnllMGVqV3UxMktQQnJ3a0dlNVBTSU12aG1VcUQweGF1Zm9nemh3dXpNaW5ZY2hlNzNiOGJvNGdqcHFjUjBBeURMRVRhd2lhejR6OFdpR3FWR2hqWFJwdzUzaTBud0FSSDUxM01iWlJtNWxSR2ZEbnROUU50YmoxVktiX2U1LWFTNDNZYzh3dGdWSWpfckVJV0doZnl3U3hDMGFTM0dZdjd4ZW1mTTBYZUZoYTVJU1o1c1FIeHVDTlA0R0dQeXBiMVBEc21tMElvdm53WkFaSWd5bkJTSzZlMlJJbFNtVy1JdVBnaGFuQlJLXzZfaWd3Y1RkUEN2NXZob3hrQndrYVpOd1NvYkhKaktVemo4QmUtUzV4Y0owZ3VEQ2ZINWdqem1xaTJHZVE2c1RXZEVwR3Zmc19RWFpRSGdqdHFRZjJ6LXJ2UUJWRnBZZDZnNHFkSVNuaG5RcXl0MUN5cktSU2pNUERVSGFUSHZtZm40cWtUb3VUaHl1aU1uU3Zic3A0MFZvem1tdlFKTWF6Tzd3WTZnc2wzYU9ibEF0X195QUlhNEpWZnh2T0I4LUt3aE4xVTdSeldsdnFVV0NOUU1WVDNTaHB6MkI1Zlpmazk2SjI4NGhHMGc0Q08xVEM0SHJlWS02dVJiQ1BtbkNjQ1VGTmZuWW1XUjRqN0VmcEhWbjRHUVpmbGVJUmtZZlZOeHc2MUQ3WWNQR2pGV1Q1MkFNZDdtQW1KOXZWNFo0QlFQLURZZVNHcXg0RHVYU1FMM2xpRTZTaERNMW9kY0dfMU5EdGhibExpeWJhYjlPUjFxZjhibmtGS29GeFlpSXdHTFNTSTRyVUJQVmE2aEdfdjV3Y0tfZW9hZEhQU09ldTZnbmtWb09VN1hJendZZVJmUnBETG52czdGeEt0VEIyRXhyXzdrTGlWRi1sMGh0VEQzRU5QSVZYcXBYRUxqTWZNaWctUHQ2MzdoQlZxbG5nbWNTaWsxQVVOQ1kxclhCUzBZQmdqSlV5d3EyUzRDMVJ3ekhuaEdSamt0b01rVmRSRTJSaXk2aUtyMkt2QWNrUkJ2dUp1RmJKTXA1dndkOEJsWGtuQ0FiQmlkdkVMU1lhLThqLWVieEtGRjNXWXdhN3Z4MFNZZGF6NXFGdVY3Q19qLUt6X0xjTzh3Q195alM0TUs4ZF94RmRyOGxLdTNWMk1lbnFCSEpHOEZOMGdMbmRnajdJUTFQMnI0NmxQVHdhLU1zWm1WRm45dTdNQ1dyVXBPdzU0MGpqMFA3eC1VV2FadmlVaDBCZExscFVSUmFDbldjZnk5dVF2MnBZNHFQVVRRdkliNWNGNFVYcEpqTFJURnoxVXo3SzVFWlZyWE5Sd3A2RnV5eHpmWjN1RFEtbkU0OVV5NS04LXFsN1JtZU45VzdlQWtIdkR5TVJzNlp2OGFsVG9DVnF6cDFaRXdEYjNLUWJ0V1ZDS3dGRTgwTHhYXzJkNjBJMjhZWDhMaXYxMDVrdmVQU2VUY1R4NThETFZJY0M3bld1bHFnSkhsM3E4cklJU0cwX2gzNjAzTzRzcXI2REU4X01mODRIdGZqYlhKZV9MTmlCSmRCTDNxR09oNFdBUEN4SkFMSHRKeE83SzFOR0dXWTljaDNBMDZXeWlOay04b3djcXNJaVdtcThYd0ZIMTRWOHJBX2dYcmpxRFdwUHZqd0lpMmE0eUptRXpiZVFZMkU1MWNqTDhVQ0hCb0lPVEYtNWxoY205dEJ4QV9VbzJ3V1V6Qzl2YTRfRGFVWHI5ZXFZTVZlUE1STU91dHZlQkRYaTZRU2xfWk1Tb0F4emxDaXBDVFZpWHQzaW1JWGprTzZnZVNDbmxjdGlHRlVZR1E5ZFZzLXBaZ0gweTRiSHdWVzR4X0YweWswd1B4MjJmMmZzZHNuQ2lKb0pQN1R6X3B0Sll5YXAxWFQ3RmY5NkdtTWplMUItd0ZuYm95YnJmcEsyLU1oYWRwbXB6ZU9MTmtGcl9ycElGTE5rNWRhQ0pvZU0yS0tJclo5cDdPYXFUckFYMkk2SVUxUFBNUlZmdGdIcHlTUU5xZUgyRmRUMlpPc0JDMk15aWJjUG5ueEN1NFVuUndWSFE2SGFzTEItZDRhbFYwWFl4SzgwdmQ1b2RURVZrWnp6OHhzc1RBZS1NRnN2dUxWYmhraEhOa2tMbUV6ZXIxV0FMeVotNmpjdTZiYWdHRjMxWkVjVUNwYmRKRFRvZVZoRk1PWXJWMnZNTHRIYnVDaDR6U25Yb3I0WHJNamJfTkx0UUJidEo2eTVMcnNnSlAteUoxZFVlWThVWTZSamVsTU1pUHRNWDN6LXVqOXh2aHQyVFdOY0pqOVJuRHgxcmVtMUlLb3FwbEFfTlJnZDJwTm9uRTFjaWJGVm1pTmZtb0JiVDBGeTIzNWdvWW9ULU1zR3ZJbHBoWVh6RW1NMk1kWGNFWUZzRHhTOUxWX3duQUgwQmt3Rm83Rkh5WnZ5V3U2d0ZONDVUT2tINnpIRjh5UndBMHpRTVFZRmp3VEZuMnVwMjJPazRXbE1jUjRrcWVUWUc4Tk9uMExaSXJLN00zb0hTZVpuLVI5NzBTcy1zUndObmNrSTFVd2hzS09xaHA3S0Ftc05kWGZmSjRnQnJ6X1A3Y2RWbDdDZVhGWkZGeWRSV2VmMVdhUm5YdGtKdk05Y3FYbHk3QUJsejdPa1Uwc3BqUmVFTzRITVFvOG8tUHUxZ3RncDM1NVFHWi13ZjA5aFVJNXI2RlNGTk04OTFVSWVxTEtZYThlNHYzemJCbXBjc0RmUkZTdU5hejRkRkdoRkNpcEI5TS1zTzgyU1JRdnd6dFh1dUU2UXhsQkFUUFBUYmZNcGMwRnZCYlBhWEdIMm1XOEJGYzRNVGJaN1AzZ1pRMlYtc043SG5NR3JDRmtqRXBEbi1wUWZMcUVRSEVUdTFrX2x1UHNsbHhmbVVCazRPOXJHSE1LU2ZXaXJNa3JUeF8xSUY5VjB3QlVUZ1o4Mng3NElsSHNiU1R2bzdDQlJVOU00UkNCNmNLcnlXd2NXdGRJTHFCc2Z2RW1SX0JnVklQYWNBTE5BLU5pVjlxbjRFZEZ0YkJaNzV0ZTR5RlhuT0tvUnV1QlZYM1FKTHhZMVhleVdhWDZ0cEVSRWpiNXpHTDBla2FUWkpxZ2VQVmhXRnNXRndacW1INmlpbzM3ZDQzdGNDT3IxcENBcFVNYTNGY0toa2swdVFGN09vTUNKOGZaSWRLTWc3Z2VLNjJVTzRxaGdxUktyQlhULVRaSS1lRFlWc1poaW5HaVV6YzhQQ3UtTlBObWtSTHlJMm5LNFVKRWNuZ2JEY0dVMnBpNW9HN3FCM0prMmNJT0RDem95RzliM0Q3aEJmLXdDMHRRckk4am4zQkpiaG5ZektIQzN2THVNbFNQVlpCN1FxMEk4d3VNWUc2VW1fTkhPTnNWNzdKQ0NWbTkyMjQ1UXNHTEppZlRPcVRvQ2pqTE5FTkRxOXVndmFYX1N4QUF6OS0xVEYtYjJfUVZpQWN4YTVBS055T29CVEpQMWt1Q19LOE5GZ0VrV0ROVDcwX21ReXVIWTc0OV91Um9IUTc4LVViTTBHVHRGU1ZnZmpZeUlNY01NRE9UT0NoZWdPU3FsRzNxQkh2WmdXUGRQT1ppaWh0OFZaX0RfVjV3Ukxsd2NzSlFxSGVSa3FQYzlHOGFMb0laRW9UTmN4OVZkVjZteXJMNFlTZlZXNE1weHgtTno3SU02cl9ESVNsX1ZXUm5lM3l6NHo0NGprcFdJcjJSelVqV0FxaUxpbU1PSzZVcXJmZWc5cTBNbFI5Nm1RaHB2NERQLVhJMWsyaWd5VE5QMTYzVEZ1eTJhYjdReWRaaGc3QXhJWFBWTUNzMW1wbTF6QUpGYjU1bDE4TUNxNkRZSjBtbWJTcW5FZ2JnTy00U1lFbVFZd0pZR0lYSnp1UVhfZEZwNzd6WlJ1ZmVSWEItWXg1eEZUTVFNTDBTeU13XzVHR3JIa0o2Z0FPU1JPQjFVUHJsYXVLXzN4MElnZzdJOVFDRGtHRzdTbXZ3dWQ5MWNHb0E2RWVlSG1ENllCa3ZqdHNmRjkyTmVmNTljRzVNMmoxZGhWWG01ZHdZV1NKd05pcHlqRkQyRGRwY0ZKLVJLNjRqZURaem4wcTRBUWFtakJVTnNZY214SnVWN1JwTUFWWU85d2ZBWXNnUkJOREx2RWdXUWJwM0phUXlzUDFuZHBmNU1PZ3NuVkphRWpOcDRDenNvS05jZlJMeWJQUHdVY2NBUWwwakdMSmkyQTNpbTFJMFFzOTFIbzAyQUhCWjlLSWZHYjBOVkhyN0U3cUpnal9NaDZDRE5LLWN4UGEza1ppbEt4Q1NfVWVnSnplU0JuRExYRDlzUXNGcTdfVTVGVXRPNDlHZXZqLU5xcnhMTlNfOVhqdnRKeFFvZ3ZTNDVfd185OUx2TktvZmVORjYzYS1tMlNhV1pyb3lTb1ljWTVEZ2FqR25iMmlXQ0hDenRtWlhyTVJoeU9VeUxkUUlkeFNaNDQ0TFBEckdXV09lTUJNYUpjSkxUcG5UVUE3UnFINVp6bVVRcFRTSDJlTFpwOVh4MUNESXAzRnFaU2xmczFRSFlWNXo4Y05qdVdiVTBQUTNKamNXREp5WDdPZVF0YlJ0V3dNR1NMUFY5d0FEN3B6VERqMzNPZFRQVjYxMGNUUnZ6VWt1Z2ZGYmozMWpkam8zbkJpZkRiUGtfaUg4aDkxcUJJZ2FkTXk0ZUxWV3ZYb2VkVEFxYWsxakNTVzZ2UlBmcUl5MFZxbkVWcFNLR0Zxb2RCX2RQdTFHT2V5MWpMQ2l1VUM1M1JQMzVJUGJ5bjhCWHozY3pmcXoxS3c4TTd2ZFR4d1ZIbUlqN0ktR1BDQmlhNnctQUk3M3R0QkxNUjNVWWxPZUQ2OEpCM2R2QkRaT1lRbXVKWUw2dnBjMERDWFB5WW92eFNwTkFlcklpbk1WYnl3M09Md29SYmpVcXVwdWtxNTVFUThvR2Zua1FSNDFWd2lMb1dOZU9NQXlKVFR5WUZ6czVNV19Id0N6SXQySHZMOHZUS2hncnN0bmd2YWZnVkNxOGdpRFdKWE9EX1duY2FZN0xvOFJ1dHFCWE9vY2dDNEd4N3p0Smk2RWM2NlBqM1F1MkVDS1l5QzhxX0xtRHNJN3pTMlU0eXVSUVlYaFh2dlVsSERnc2dvVmNSdG1ndzhqc08zTTZROHU4YmZUaUU3eU1GTF9hNE9DaU8yNjczLW15c1BldnA1Mm9SbWpLellDSWNVZGlyZkFBTU1DZE1GelYyeHROVy1GOUdFb3Z0dXA3WkFhdFM4NjNPaUZYdG9Ra1IxMHlnZkc1MDEzSGNxUG1EMHRZejRZOVpKbDRWWG9VS0JrYUVWSHo1SHN5dFRXemtwek9NR2p3a1d6Si1pWFlqWW5IR1EtYzd2TEtJTjFjQktoaVpoZzVnazE3Q19ERDVXQXhkWjY3TEZFMU9rR3B2WXlTaTQzaUliSHp2V3hNZXl5amtsRVBFNmxlSWJzTU1BdTkxX0JRUm40dEU3WmZMbnN2VXI1NC1TS0FPa1o5eUdaTTA4MS05WEN5ejJiTDBtN21FUTBoM0RxdlZuRU9jc1dMSHNRa3Q4b2lMdEpEd3hkeGs0Z0FBM1J0R3p4UWJEcjBHZ1JQRlVidzB4OWpncUJueWxST0JIM3F5TW1WeFZGU2k3akJ4YUZIT3c0Y0lRN09ObmZwZUhJQTBrVmo2NFlqVzBkaFNUb2piMmZ5NE1LTEY2aG50czY1dFB2d0NLRGQyX3BKWHE0T0NrZWVnLVlKbDZrajgzWDNpUC1lMkRNU01kd2JMR0duMU9uY1piTmlIOGZXRGtQemdKRHJMaE9XdElqZ19SZTlGZ3pRa2xiMmNQeXJseV92WDBrdlV3UFpObVdzMmtvTFNsdHNFMGJxNDA3dlhvZlByMm1Fc0NSNjBIbzExRkt0c1k1N1NpekVIWFBwdjNPSlpGV0FVc0w4eWdpNTZ6bWNsUVdLNmp4RjhOeTdDSzR5VGh4MGRoa09NLU16NGczYl9aUHFNU1FWUDFUOGFqLUlZZC03Q3E4bWZvSWFGTm0zYXByS3lfT0FReGJKUmV2YkltU0ZPWDNzWE8yMi0wd0RjT3JmYk1mdVNKZW13ZllGYzVqb3ZTVjFBUjdfN2ZmeFBXMk1OQmxEOWdRelhqUk1kM2hEb21DMm5xM3dQZzJrMWdLWWdGcmFZdFBTTHhmTGNpbTNCaFJDUTFZaEtJUnFMc3phVGJmNGgwd3dvUnlBRWxkUmNQaURsUWc4aWJIM05rUldaSHFCX2NkYy1JYXZvUlIyN3NXQ25IbDFrTlBLUThOekNuUmRiX2hQSkxybXV1VEdIRE8wYXB6SlAzd1ZTZGE4amdKUXE1M3VicXFvR2Fpbk8yQ0ZtVlVFbVNRUjRNeHRLZGZ6a29ZcVl4Mk5QczBsaHc1LU45TU5SRmZGUWs4MnRGd05qMlJhbUFwcnpOcG9lS3hHcUhVYmVqazRQZ0VmdFNwQ3lmNk5NZVFCYUVTVW5ia3J2SXdPYXlraWZTV0FwX3BaN3FMRG9nOUdmd1VtYmRHTWo3VXRyRDZuSFlhRkdlaDRMMTVYQ05TVWdsT0dxZmZDTENsTkNBVXVJZWVINXU4Uzd6M0VHeEF4VVVJUHNkZzNzVDBtVGZoWmF4R1dYdWxZVkotYlBBdWNZdldXSmNlYVZwX3JLY0tabWR1YXVscUc4MEw1blNwUS5SZENHQ25uOVlBM3RycHJ0Nk5UWE5B\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:22:00 GMT", - "content-length" : "791", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3dd807e6-f46b-4b3e-87ff-d1012a54bdf7", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151721,\"scheduledPurgeDate\":1554927721,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:22:01 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "79f19993-719c-4ce4-8590-b02e95089f0d", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:22:12 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "654f991b-d2ac-409f-9035-486ec2a24013", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:22:22 GMT", - "content-length" : "791", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8dcba1bb-d9ed-4023-b5db-10af0f3cd8aa", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151721,\"scheduledPurgeDate\":1554927721,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:22:22 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9d7f4149-c7ec-4215-a67f-99bd997c6a78", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/restore?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:02 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "49a20074-f3c1-4342-ab6f-23a428087c6e", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:39 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "35050443-83b0-401d-81bc-4c0dbe512bce", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:39 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "67273b35-58a1-44a9-9705-700dfed36036", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/backup?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:40 GMT", + "content-length" : "20136", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "db9c4813-a2a4-4e94-950e-8869ef8c22af", + "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQ0lzSW1WdVl5STZJa0V4TWpoRFFrTXRTRk15TlRZaWZRLmZsZnRHZnpJNW01MW1FeDkycmVuN292c3FpNmFxRXVIUHo0b2ZKdy1nemE4SnFMUEpXbW9PY1c4VHM4a0dqUEg1MU5HU19aOFZyb290VGRTbU05SlFuNmpfVmotcU9aSlNRcTFoUkgyaTNDV2dIN1laRm9OQ3dLM0tVT1JSZkNfMFVOdW04MjhweU9BSC1GT1Q5VjEzbmdXdkNmTlQ1V2wyZWsxckxIczRlRGJMUWVfR0RuYlhncFFEazh1Y0NRQ1BjdTNaa2xRV3o4dDJIb21xUHdzSEEyeXprTGc2ZGRaQWxqTDFGeklvQTBFUHRVTU5Gekl6OWpQWjBkLUVmSlNJTHNIYzRoMjlkSVpQaFlWcHlQMmVmTVVaTHhRbE5hclZ4bTFDdVFMX0NJSk0xbk8zSXhoSkNjOVVkRDc2UnlhbmN1ZER4dVgtREJLd2R5Z0JGcnFVUS5fcG5hUkpCTXV3QjRhY0hyN2RaVlBBLlhhTUZiN2VlcUtKUTlYaXNQYklwS2NKNGE1QjI5eWo0OWNiWUtlLUtsc2RMbHY5SzlDcG1SOTlVNWg2NHFNaElqWHhSdWpkYkRCU3hTcDR4elJOdDR4dHMyR3lDRmFDYm1VVURkZHJCVWpUQlVlTFNPRGdURkprYjdVbXpyZHQ0N0dKcEJMSDNXVE16UVdieWNEV3paSHRjNVRuck10bmdLX2l0U19GS1hxcjJ3Q0RqYnVva2dQRWVrbmhpUXJmUjBwSjBJVlFFU0F2WF90VmMzblhSbkhEeVlqVFZyb1hQR2lQMlpkdzJhZUN6SDhKSUozcE9NeUhUZlZ6RkhtYXpVZFlLRjMxa2NlUGFVbk5ScXRMSTB3WkFvT0pUeXJ6TXdvR09hQlVBX2RmVGxGSFhkWWRlMUEzMEFnZFVuZHFfUUswQU1LTHJOejh3U3RyTjIzRk9hT1R6TExIQlFOZ2EzRWliRXdfSVdFWUtYcE5UcVg5U0NITEtPZkNLekhibWdwNHc5ekdmZnlMdjdhTzBYWVRqUjBHSzc0WFgtOXFlT2FESzR4SUQ3TFZ2U3hyNEFxZFRmVnpRZHlxb1FfY2hQMjB4XzlKYXVFVUU3Tk5CSVk3UUs0T1R6akxGMWYyZk04VV9rS3hJVDNoZjVyWi1IeTd6ZU1MampfQmRlLUJSNzBJSTc2WmlOclRqQjh3Zjc5blZTQll4R1pUZzlRMTluVm1GR3A1dEdPbVlnbFZxdnhkNW1zMFk0Yms0WGExM2o2YlRRVV9QUXpkYWxYY01DUk1wSDNnbURGWGFyX3RMOHRvMkZIS0pWdWxrQjlaa05tdTZzQmRpb2o5c0syS0RpQktnX2F1anVpcHBxMHpJbjBUOS02d3FJV1Y3bTN6cUZyV0VldnhuOU1xRHhYUWxiVERJa1NRZUVDbmhHYTZVZ1ROZHlETmdHWlFpMlRxQy1BRTB0dklKY3BSTk9wZXJWaTZTaV9TS212ekxXWk1lTVJxQm1Qd0d4WlV3b3loN1pjX2NRcFdVNzdqU0lkaFhYVWZrVlh1YmtNVmpEa2xMdTZRdW5fdjYtZXUwd1p3N29CVGZaSDJOOG44SGJVZlhsQzJ2RkdJWWlTWXRTQWhYdFlVY0FVNE4wWkpNcXdiWDk4OE4yazdFY2hVMWM1clFXQW1HWkhYUTNhM0VFTzZZZWs1UmdvdzJoU0ZxVjRaNzdneFlsSmk4VUpqVnE5aGJkOFY2QXVndTVSM29nMWlTQVZmMnhzOG15cllLUTQxdkZoSk12bUN6ekJHQVMyNUt3TkNWa2t1am91cXdaTWZLRDdJWHdXU1MwQTVPWWRtcjdVS2huekhvNlNCeFh2akJaUjNwMWduMEZrNzdLbE0tbDROalNidTJia2xaeFdSZlhmY0Flc1FXRm9HWHl0MHhjZG1LSXFEblM2NDhZYWt0N25GYk1jQnNBOXFzdTBuMnVlVmdySXNfTXdwblRfb290UWU4RV9oY0psaTAzY21nU2puRVNWd1VyOHU2aXloWHhhS2FQRWRaT0pNY2dEd1pTN1dJdFowcndfdnRFVzlYNVdtWTk3SDJEcUhTcy1ZMGtqZlRORmQ1SzZCcG1pbGpXeXM5NktWdTFvWDh4emZJMFpvcFlsRnhUVGtxQjBhZU1PdlpDblgxYjgwejE5akNFcDFtdHN0SGVTaE5hbkZGNHlLZC0yMGpxVWcyZ19yUGVnMFlqcHIxOXB3VG1acEFvUkcwZHlvakZUN2R0QmtVUS1VTEI2S3N2ZlhXeGhwdFFNYUVmM203alJ6VkZCMVNDVWloM2tUN0hhVnBMRHY3RVVxRW5MdzZhVjFtSzQ2UEF5Wjc2cFBvUzEtUnNOVFBwakExemlma2RwVjhUeXZRdDU0MlZjODh0eWNIZVhseFhtVUNZclpZV0pNN2NZRktFZDNLVTMtUVhqZTFHNjgxNmYxZ3Rsa0ltUDlDcko0X3JtSzJ3R2FsRTV6NmYxZTg5S196TXcyazNyb3Z2WXZ0VGhzUzE2R2FMN0dXVkJIaVNocmkwb3l3WVVyOG5XclFzTHFJOHA2NzhpQ21FaHdYYUJnR3BYNFZHekUzalFYRzNaUkxEakRvNzZqa3RMUkxocUJtTnJZR3R4WUE4cHFHdkFaQnl2TjZNV21Rd0pxekExQTlPaWlkTmNhQnVuMV90NGk5ZlVESlBBeFhjODllbDBiSU9wclRBOUFiMUFUcm94clNVd1BHUHU0Um5WSWh5LVlFbWNqS1RhSjNiX1g5QXRBaDg4Zm9KNWVWZmpqY2xjUG9CMXFXbXc2QXNzQVdIb3ExTUtqaTZMRDVfWVluVXREQVJRY2Z3Nk1FRWEtQjFDc2laMmQ2SHltbVVDY1NNSkhzdFRkWmhNLTc3WmI5cnFiMkx5Znd5b2dWRHQ4bGlkRHYwLUZobU5hWmNvLVFpSVVTYVM0T2cyVTZJTUc3NDVSMXFpRUx4ZnowcFdQMXhHTkxERWtSMGtTSFllNXc0ZmpOc0ZsM29Gdm43RTE2dUVBdF9Calg3NDFYbHo2eWo1Zl8yTXNkMWFzTnhDaDlIYUlxRTRWdUZqemk4SEZoMHM5WWJ4U2FteUktTzRyeEpsVUo3Y1FPUHBhUXBoOXRnWWswWHd1QU1VQkZuQUhqMmJiWFM5UThUNlNGM1ZwUXk2cENIRkk1dl9MTnNyTE5fM3Nub1djbk1hcnFUYUlRTVVCdXNHMU9Xd0dqNjZvMkZBSWRmRmtacUxsQkNwaWhUWDFheWYtUjlncnYwVFNJQTNwTXY3Qy13RmpuZGRubjZzM1lEZTZERmVxMjNRbVdmTUp2QlBpY01oT1VfcUtqV28wWFZqOHpzb1o1UnNUWmZGcWMwb25zN29sclprc2xlcjJrN3RKc2MtNllSMnY5UzMzdnlFQ3B3OHdycEpzU0UwOXlTcFRCNjQxR09QaGtKOWNGTDA0MWV0ZGVNZE9uYV9IMGFnaWM1Y09UYVdERi00bXA5bnZJWXRpZ2Z1TENlOEtQX01qTkpQQUJkeE9lRXV1c1o2bVJhcElPYVJFUlpQVUtacWVhMHFUR3p2c2pvU3drd1NKRHpLS2NFLU5uUjlGdTdDSmtUYlgxbjBzT1AzaTIxc2ZZYzZDSzRERW9QdEEzOU5zS2RMWkFZMW5NQlNpQjJIZ2FPRk1NQ2dIbW1CdnFJWl9lcjlqdmh0WmNheTk3QTBSdV9FQnpQNU81WTd5MkQ3V1AxR1h3eTN1a0ZtM0VPM0c1WWxzNldTMmFkZ3JLWTQ4TlJIUjI5V0F1MmFMWGZMZ3JxVkctd0liY19TMlZLMk1XS0pyX1lYWmN4UUN2Wm1tT0hFdVgtYXVFaFJoWmRhaldZaTBBcEJXam5tbjVoVllqMlpyTHpCc2pHQVlTX2lnMHJnYnEzTkNXZDdGSUFocElGbFNHejJmbG0wX3I5YThHU192cjNNdlZQem1jWFdFdTJmdnk0MzlCUXhYUGhwZS1WVkREajRVUmFZTTFPd2lNTnBvYkE2RUhCQU0zdXo5bEVjeGxQMkxUQ0tzN0RWYWFTUTZHTkNTME9Jbkd5Nm0wUEdjSmZGb2FBS0ZnVGxSMW9qT3BHRWtmTVR5RmhIQ0RXMU8xNExvbUZwNkpYYmZlWkh3cjdaNHZFemhqZzIzMlFHd2wwaXVFQjdzWnpLOWEteXhDQTh5d3dLR2pXbzNsM3ZrSGk1NnA5N0F6UVNSeTNRT1BqcGlvWVBaMDJJVkNzUWhKaTRxOFBfbG1VOFoyUGROMnM5VjdnM21KNl9VUFQwb3RWOTA1ckdNZS1QTEVDUWNaTlZibzY2YTB3VG5SeHNULWxrVndJYVBoMTRoQU5JUDNTbVpKLXhHOERXblJVM0pLZ2VqM1BkRm1PajhCRy0wVGZULXNKZDBxZjlPNkV1ZGNDaVRhX2VfZVVmUk1iMTU0cW1CS1k5R0pTdVdrN0F3cFVPWk9nc2lZbDNsbUVhTHRfdkRpb19QcW51MzlxbGpidlQ3cnNXSzFDaUZXM2dVU1pmRGdGYnpzV3RoRjhTaGZEVXpiaERLcHFoMy11bTdseVEzRzhGbHpLNm9URG9PbTRJSVJzOVQyZzBMbWFBYmRrS1FuZUV2UmpCakVHZXg5SGtrdklTZDd5ZV9YVkZhbVo5dlhLcHZzMElaVk9TeHo1eEdLRjZpN0pkZ1FMNU1GeHV3NDdueFNsUGN1ZkI0cUV1Q3psU3docmhrU19fNEFadmp1X1g2aGZvd1NBUkd4aGhNNDB1ZVhadTJXUHVfUVVqUEg3V2ZKX2lfaDhjUjVKMndVMzdtc0ZtZ3FJUlpNRjhubEF1MHBuWEE3eFJEVGJGelB1OWxiVEF2NDVuUks0NXljVmZQYkM4QnZEY2FiT21iTTUzT3EyanJTSG9nbmx0c3YtZnRpamw3VDl3THBwSkkzY2RXWU53bG5UMk1pZWhXR0I1ZVhjbjRMN3E1VFg1OXZsdkpEbXl5czdpUnFNcV8wVFd5WHpzWFVkekx3azlzM1hCMGhrSGFoRjZoTk14WTZOZFBOZDBuZTJmYS1FNFRkTTNfY0dSRlVOVTVGbUl5Z1B1QzFrUHU5N2JLOVlDUHhJTEh3Vk5fR0dWN01vZjgzTTQ4QnFDaWhyUFJlSXFaUGMzNjdzT2JQVXZOMkJ5ekcwLWQwcGx2SW5LVGFKMHdJQm9nVE9tRVJhTGM5SlI0di1Cc2h4dUpBTl9ZZU9temViRk9kVlI4RGtKMUMzd1Z1TVkwRm1nVFpWcG4zN2NuLVFpMm44WFc1QzBrNHhISThDNGpwQ1VhQUh0NEZzS1J0ZzRNQXZfVzV2MEtVdFowQUdxakpHdzU2eGFJOG1vbFFKN1l0aXRHN3EwMHNUT09lLThpN0E0dEFMNWE5cUlSZHhKblBrQktfT3FhWk9NYjBrVG8ySHRNTjRFNlBSVzF5ODlDOFYwdzd1UlpFRGc5aXFvamlGd0tzaXBZdUI5TWhQUEZUVEhwMDZzUjVPcEYxaWhqNExHQ2FXdHJRMm1SUU93SnEtSUctRzg3Z05tYzByZE0wUEVVZXFLeVJNaFNJMzdvRGdaaEZEbG52NlNHOE5PMzQ2Sk0xTWFiV1p2TkdBUDRhU3ExQ3BzdjJWWVV5Um9ra1RwcFItZ3pkODE0dHhIWlRydWVjYndFZEpCcnlxc3k4NUNzRWo5MDExLVhuM1Z5em95RTVyMkRZUWdzS3NSQ2U2Q3dQaFlHLXJnWGNYSlp4cmloR0FtZ3JjSFc2LXFpbXZfc0dPSTREQ0diTGtpMko2NzMzV1RrTlZ5MUt1cEJXdldQc080cVlIRXJfa2NpYW1rQnZ5VXRpN2N1STVDdE9yMzZWYTZKQUQtVEJfbWZfeHZVNHpSX3ppaU5DODlJeDdDbjFMVGtlcnM4bHJyTy1ReHZlZlYzb19DN1h4cXExWXJBekxVU2VxUlZpanNLUEJINEwtMzdDVTM0Vk1QSDZJaXdsNndHN2RmQ1dJQ2dIRE9SOGN5R3pweDNZQWxHVFdURVRTLXJnN2VTS3hBLV9oTW1LeVduTTRKRmR2Wm5wSHBoeGxPRVBoWkdTWDdnWUx5a1E5YzVzQWI4VlI4dkU0c3I0R0VaMkc2RHM4elIyQjUxTFNFbmtQZ2V2TkdTMS1RTUFpVXJuS0V2UUpTS010bEpxaHdCdDhxVEs0bG9NTUFINFZORFF5NXFIbENWWHRDRWdhenJpV0d1UUpNRm56TUJpSDRpa29LRnBsNVNUOEhsQjZ1WW5CdnY5TV83aDVQNjhlZDNRQ21sLXItN3oxbnQ3QWx4cWJrSDd2Q21PZFJwMFQzYW8yRFpOTElScWFNeF9LYjZ1dmRjMGxNQk5LZzRha3czdmMxb0JJbXY0UWc5a3BXNWl6WEJ0YXJhUnJzMU11QnVvUldwNnJ4UlZ2WDIwWFh6ODlqcVZ6Z3ZmNnpUQmZuenM5aTBKc0FBSzVCd0xkbjJ3eWVYM2IwRTR1RjZVLUhLZXkwcm9FSTBwQTFuMVV1enJReHRmWEFTbjMwcm01Tko3ekdiMmk5UEI5OTljcVU0eTRiaks1UUp4dlBhSjQ5S3NMQ1p6dm00M24yT19MNVlhUnJOQlhvU2RhSTc5dExGRFFxQU45Rm4tM2FfVERSMmpCejl5NUJrNG9YNVN5Q19IeUpvS3lZUXlfWDR4UWNkOGdpYjBnQ1lhb2pQV1A4TElvVjVSQUpxb1pVVENuS0FKWXllS1RRRTJyVFdwOVV1LXYzRVBmNnZrRm1GM0pIcUVRbWZDN2VrbnhyZFhYUFBvZkdQWEM2OTh2RWxhWTJTaERaTFhOa044T3Y2c2ZsUFhTNjFKLTg2dkhuUTA4WVlhbHZzT2xDMW9GcS1CYWdhOGhIemU4VV94bmxDbHM0c1JpNlBsbUROdjFtdHhOQnlWSDN4dTBadm5KRjNZWW5BR19CdExLdF90T1ViVFlQM19iRkNYRE9UZFJacnhVdXo5b1dHZl83ZjFOSGpfOWpMU1ZQWWl0ajUzMVpuamlFS204RWpsNTlvSm1lX0pLbkxIWTBVNUtCQlo5eE96bWZtZ1I5alVQT2JjYUZIV2ticHpwNG5pLXh3RkdLaEpWODRudG8wUzhtdm4zV3E3SHYyeExrSUdfekR4czZQRVB6Nlg2VFF3MVMzWS1JWDVLcGdlckExZVdCRW5PclFmVjlRUENiNGd6bjU4Vjk5YWh5ekgxMXVmd1pBdWlLRXdjbEQ5RTZMWUNORkR0STNTejNJQldTZU50WktyQWFqVXowX0d4SHFfOVFWMGtVNGZRMnYzaHZwS0JzSkRuVDhVSkpxcXlqSEZmV29HWjdnLUstbDRmRlZaY1Vjc3BRa1o2eGN2X2o4b1BRVXAtQkt2N2tDS1hSUXgxQ0Ewa090MENlY1FMWjRwR3BEUWV6UU13X0lpbWJQczFpTU1iaDEtNmoxVWhKVUlTUTF5MVZwMzJXQXc5VWR2QlR3UHlqSlJEQnZwUS14QnYwRW50QmhIa1ZBWGhjcVZ3NmdJODlIZWt4MlhENUtBMXlSSDJadzZ2TkJKR3poaDJRT0tsVlZGcU5wbXc5QW1scWtnTkFYbmQ3NHZFdFU3VWJWTGt3ZXI5TVRLZG9CdUFNRUNPODY3ajA0Uk92bk83ZzJpb3dZUV9MNDZSZTd4anJmSmxfS2VzQnc0WVExclBkeTlvUmxHQnBCbV9QcXk0RldYY2hQVS1uUWNuVFlyUDJ6R0ZoczNLUWpuZ2VRSlZvemZ1aTFRX1RhY1hYenlyRDA0NHItejFaQXlQdG5BcldfY05Yc2FDWFJnNGVEQmktWXBDeFhJbmVsVkI3cXhPZDJVeGxuUmxVSklOUXVocE15aVNMTldRcFZZTmtzTklaRDlDcmZSTi1peDZtVnFPRWI1Nk5DTzczdmRqUjFqY1cyc2NYanpESldnamZPamhkUFFwdWNWRnJuMkJiTzBMZXF6NU0yNUNoTUhWb0VzRDRXN2VQR3ltOHozblhYQ01xSjBMbHFtZkM5UTFFYTIzQzdXcGc2UXByNlNzeXp6WlNTNUFiM0cxV1gxZ1ZBWnVFd0ZiUWI5OUJDQlR4cG1keWhWN3locjByM1pQVGR4V21yOF85OTg4UGNKUTRSXzdIMnFTMXBfLUdMTUl3V1ZvTmE5V0xDZS1md0JtYWZPN0tXOHRWX0pYN0lPbmJjNE84Zy1XWjlhR19tcUU4RXdFSzNPM3RKQXE1aVNIMHR2djluTk1WdUY3WFZwU0JnX3RXYk52aUU3bWNFNWp2Y3FrV2lhdHQyZi1sZGcyWThGYUZONlB6SHFuaTYwQXJSUDlVMDllZTNUQnBnUG1tSEJ1YW5XNk04RlRnWVlEb0pmWVV1Wmk3MDdxYTdYWXNUaGFFck5nVlJNREZ6R0pwdzd4c0ROSXVleTJuRDV2ZWhsMEg1WmdNMldJaG5memN3a3dFWERydDB0UklHdnpmSlNEcnpnVUlCVGhfVEFhUUFoZ1Y5WXpUTkh5aGRyQ3ZaOHFtZWNtMDFlTEpyWkhvOURiVUJRbGZEY1l2Y3ZMRV9VTk55dzBlNEhULXVZaml2QWNhbEQzSW8wNy1HS0wzTktIZ2p5VDVyc01pQUJhbEYwUEhHS3hEX3RQQndPcGdKRnRuX3dnSTNjQm9qd205U3huWXhVQ0FyVTNsajRKbnJrSVVSQzNRR25GcEpvdGhCajRtaGE2aTZDQVlVSGloUW1iZHY3Sjlwd2N0dk82blpEb2t0a3Fjako5b0JXcEE5NzNGT1BiM0w0YU5JSnB5Sks4VE4zYTBXYV9Bb1ZpLU16OUZCQ3A5S2FSblFoT19QbHc4ZVlfb2R1UFRxSjAzdHN6U2Y3MkVHSlhESEJST0FpWGp0SlJ3RHNMd1o0b2tLWG5QZk1za01FNmYyQmZEY2JaMG5XZFJXaTBlMTAzSG92N0ZtcEs5d3RnOVNjMi1YakJMNGlmRXAteVc0MFM2NFlvSHBQN3kwOWpIdFpNV09FQmZoZVhobnNxdWg1M0xFMFNTb2QtV2tHOHpMdGpBenlTeWRBekhmNUMyNWt6YjhXYjIxTDZrWkJkZDJ1cjQ3a2RsU3FGRWhqa1JlVEhPNjZheldvUjJoUUJza2hVcXNXWFpHVE54dGxuTmdBYUJIOE40dmxJWFcwaXJ0eWptaVN6alNtaTIxaFVuZkhwaHMtZ1BOUmVlZkpTSFBZQ0JlTkdCbDlGd0h1V3doaUlrTHFtSkdXak1CM0JRMDFMMWVyc0xWaWstLXdBbUgxb2RCdUZRdXlZejVGQnZwZ1lZQ2NaR1Nud1RMQmE2YjBwTkE0RXU5VkpTdDhCcmZwMmJNSzRjZ19oV0Riei0wVjRPQWhIaU1kcHBCTjBpWXMyZ256OTNudGtkZkNBQjladFlJTTd1NGtyRnd5b3laTHJuZGFPclBVQWQ4X1o1YTF1SW9vZVBXS2pjdXFydG9oMHdqMldBNkpvV29tM1NIYUhFaUJ1SWNrY2w0Rnp3TU93Wk5tbDcwaDFsT1BmOEdZSFFRNUV1YXpWQ2VZeXdvYnBiVmo4amlXSVBzMkxZbVcxbkpDSlFJMDFaMVNJWGJJVGpCc0s0QWhWbUcxYk1KTG12M1BULV9XTUpyUmZKN0hVbDJ6Q0VWMTVTNGdxMTBPdkc1bXFlR0hGNW03UlhicHBOeXI0ZGhVSXcxWGJMVnliYUNpOTc3VjhxMjVkTFZoQmtTdXBUZHl2dnk1RGhBOW1rUEpyQng2ZERLb0tBZ1lyc1hWa2pxRlQ0d180T19oTm1QVUFKWEE2RlhFS2xPZ2JCcm14UmlqM2ZENzZBMG11YjBSQzRJSVJPa3Q0ZHB4ZUVnTjVYdlduNDE4d2I2QzNmU2c2X3lBWHMwUE1PVTZ6UEN0ZGZVU2dhTnhLaU84V0NORGJrT2lRaVZoUkdnTW9nU3REWl84UUd3dWVkSk9BY0M5Y2hnZ0xGZFRBWWdrU0tPMHRXRGxyQUI5czlxZ2ZnaXB0b1haLThyLVROUThMUENvUVZIQUdydGh4Smt6d0pQbVZCeGphYjFBQ2h4OG5wVmw1THUyb0ZrLUpxMEN2SGtIS2xtWU9IcWdTd0k2NWd6Wi15ZGRJS3l6alpvbXNsVUpXc3F3Vll4RS1uaEdTSWh2UEtqaDRzRy12d2ZFdmJNelVJVy1mM0h3VFBMSU9tRmptZ2pwcWh1WTV5RjA0VXl3WW02V2hUY3l4dnI0R3BzUUZ5RGZwUUhMaG5fcWZ6UFhOZmh3eWNJdjBfVjNqMWwwZGcxWUpJclFYMjJ3NVNwX2Q0YXBIbnJUTUdyWnNUOEdYellLZTgtNndYeTRxMFB5R2FlUTAtZjZFUGluQ2F5NGdUaGxmQS1UWjJBeVVmcnFLMXRvNXRtaXZCSThZWGQ5cVhsSWd4aHlKVkVzamlaR1VwbTRQR3F2T1VFekxidE5sd0dpVlVyM0h0VHZPWjRxYWhXd096bjVKWF9oaE5fXzNvdm5pbkNUZ0hvMXhzV0w4djNDVE9GTEhMV0Y2OE1sU1p3TGMyRU10eFhtTEhSeVg0YXhkR05WWVhqTjY2YXk3S1d4bkRSYnZraGQ5R3hJMGFDVEgwNGNtU1NmTDN5eWxjcVU3enpXSlo4bHFsME5fcmoycnZZUUJDMG85M0gwTzZMOG9yZmU4blhwUHRiX1RfLS1TOHY0RlA5M0FOLXMzZnNTYmVzdEc0bC1uamRidTljSDNzVTBGeTRSM1d1RktiOGdNcE5hVEJIWDdpc05hcGo4UWUxd1hxQmVsUU9xSEpHWWM3OTkwTnBVcmFtSFhpR3NWRjNSUVVPWndNLXpmM3VOZTB6TzdpZmQyTGZ5S1VZa3NrNFkxRXduck1ZQ0xPdUxfZzJ6aFdQUW9SS0R2czBKTzhBNGx6MVY0UDBRSFNBLWszZ2oycmxXWno4LW1HUlV0Ylh4ZkItcFNXbmNEb3RfeEFySHg5d2dhdmVHcUZOWXNucEdJX2hoMEFPaU45Y1paMjZGdHl6NlNjb3ZoVzdBWEpCT2hHaDZsRTgxYk5yaTJVd0cwdUsyU0syN09CVGxsV29OUm1ZX3NxWnFpMkRval9fdjRaR3N6Qk9PQTdRT21fVHFTYWVGcEdGaTQ4U0dpRGMwRUdaLXp5akV4dDlpWVVsZF9hVldEQzRtUVFXRFBRMlVlSzlCdWdxZDk2N3ZTUGhUd3ZMeE5aLU5uTWwwU2p4ZTFNdElTM195azZNbkgxdUVDUWNwbWdYMlRaWFpfbVpaaVlWV1hzRzExZzFKU3hLb0tCeVR6d1ZEcTJKc0ZNWWdtYUs0QVVPT1lROTlWQkp0Vnp6OWU4OEhNTnJRbzJrY09fZkQ1UV9TdkFzUDYxSWkxRFpHWXV0TENlOXFjRTNoaGJTQ0xpa24zbWlNTWtwc3dwcWgwcGcxa3Rkd1NYQjlhT0cxVkJpRDE4Z215U1NxdEhJOW8xaDFIdHNhWEY1emVMTTBCSElPTlZaMkgxY09nUWVwWUJpVzRTMlVvZU1VNHR4dVV6WDZHM2J2cGFIZlFGMmVOaU9yYzZpYTJvRGZEQTRVMGU3MWpNZjJSRHlqR1JqYlRJMHBZR1pVNFg4bC1IYTVqaDFjUU81eUNRQ0wxRTVRZl9kOUpOWnExNlBzQWU0WlJvUmhvOGVNQzZJQ3Y0WUdVazB2RHNMM01HTDdjMVRUbUVaVURFdEJBUElNNGxNX3VsUXB2d1ZwQ3pGLUZSdGlKNGR0WXVxdmZTdUJ2REhPM3VvU283THF4TUlCOXUwTl9qaHp2S2xFTTJPdnpPNnRBckYxUkc2YmhKQjhzSmlXZzhnblFOcEZJdlpkQWtEdTJTUVd4cF9HVlMzVkhETWdEa2w4Rks5bUJ6anVLVWdhN3Z3TVJSbmtfcVQ5eEN0WktKc0JGazlzRkNGNGtBVTZaWlNKQXcwMjJxZTAyNzZCU2J1Z05TNVBEOWJrX1ZQRzZKcmRJcWdWUFlRNW9GeDBRUHF3RjJUQ1Y3YlJPUUJNWUxEOFdlTWVWZ3Y4N01EajVZWlNSY0w0ZkVmRHl2ZW1uNUtMVEtuaUtMN1U4Tk02dFNUNHJqcjZMX1lzaC1XbUxPVkJYcS1WZUN5bEFFVGlfZWVYdGhVQldkTVJDWTJJQzExSzRZbjlMcnVJVEV4ZDh3SGEyd3hSOTZPcEpGU1JiekJoU0NvRndkdmZyOHV2M1pzNXpvaXFrVnVYbXNpTlZINjVGNkdCS0tCV1RtN0xGQmVHcTFlRjBWTHZVc213SGR2Wm12ZmJiR2VTbjRrRnduR3pOUFV3V2kxWWVzbmgwQm9ra0puc3p0TUF5bXR4bklGQVhlZl9KUDVwdGpMdnprMnpkR0JDcXVCU2xTbHgwTTljb2hmcnU2cWRtb0JxaEZNRmx0M1VqN2gxQjUzWXFVMElrcndzRE8wMlpMMUczTl80M2Mtb0JNYmk0UWhKUTltSmtna29NUURvNmpldTh2VmtvS2ROeHgwTmVrbF9acnZFU3VkVlU1WXBobW5kZVdweVhWU3RYaWQ2T3JwNU9JUXRRVm8tekY0YVNTQ0lLMFRhR0NiQ0xNem9fWlgwbG5QRzhGVU5JM0tpSUJOeDBwY3IxdGkwS09xNkZrelN5RG40WG5McFlibjBGdkg5Z1hhNHpCLTNkc0tQT1g2NXFwTmt5OGpSVFp5LVhlTVF3bVRoMlRHdDZnNlVZNDJjNDNYUFJpNlhocGxUY24yYV9mUVZWRW1Calc0NUpLR2l1aUVWSUxfdWVKNUdlY0IwR09vVEJ6anpUTkNWYVFlS3h0bkFjSzMwOENVX3dZQ1B5STFxZmxZemFqR3hVaGV5TmJhRnNCS0dzZWFjVlpaUy1zM2ctOGtjNFNQM3E0aUJreGprRGgydXpHaFFhMGRFY2NfcjFXS2pSZ1ladW40bjg5WXBYWEZ0R2hZVWJmUHpGdXczdkdfZXpUVURpdFVxWVdFNWt1QkRfNW5vMFpWV2xTVE1nTUJwUWpBUWlxT05QZGZzZXFmalJQZkhmNlRuM21MUVkzNkRHNjdQYVprYXI3WnllMGVqV3UxMktQQnJ3a0dlNVBTSU12aG1VcUQweGF1Zm9nemh3dXpNaW5ZY2hlNzNiOGJvNGdqcHFjUjBBeURMRVRhd2lhejR6OFdpR3FWR2hqWFJwdzUzaTBud0FSSDUxM01iWlJtNWxSR2ZEbnROUU50YmoxVktiX2U1LWFTNDNZYzh3dGdWSWpfckVJV0doZnl3U3hDMGFTM0dZdjd4ZW1mTTBYZUZoYTVJU1o1c1FIeHVDTlA0R0dQeXBiMVBEc21tMElvdm53WkFaSWd5bkJTSzZlMlJJbFNtVy1JdVBnaGFuQlJLXzZfaWd3Y1RkUEN2NXZob3hrQndrYVpOd1NvYkhKaktVemo4QmUtUzV4Y0owZ3VEQ2ZINWdqem1xaTJHZVE2c1RXZEVwR3Zmc19RWFpRSGdqdHFRZjJ6LXJ2UUJWRnBZZDZnNHFkSVNuaG5RcXl0MUN5cktSU2pNUERVSGFUSHZtZm40cWtUb3VUaHl1aU1uU3Zic3A0MFZvem1tdlFKTWF6Tzd3WTZnc2wzYU9ibEF0X195QUlhNEpWZnh2T0I4LUt3aE4xVTdSeldsdnFVV0NOUU1WVDNTaHB6MkI1Zlpmazk2SjI4NGhHMGc0Q08xVEM0SHJlWS02dVJiQ1BtbkNjQ1VGTmZuWW1XUjRqN0VmcEhWbjRHUVpmbGVJUmtZZlZOeHc2MUQ3WWNQR2pGV1Q1MkFNZDdtQW1KOXZWNFo0QlFQLURZZVNHcXg0RHVYU1FMM2xpRTZTaERNMW9kY0dfMU5EdGhibExpeWJhYjlPUjFxZjhibmtGS29GeFlpSXdHTFNTSTRyVUJQVmE2aEdfdjV3Y0tfZW9hZEhQU09ldTZnbmtWb09VN1hJendZZVJmUnBETG52czdGeEt0VEIyRXhyXzdrTGlWRi1sMGh0VEQzRU5QSVZYcXBYRUxqTWZNaWctUHQ2MzdoQlZxbG5nbWNTaWsxQVVOQ1kxclhCUzBZQmdqSlV5d3EyUzRDMVJ3ekhuaEdSamt0b01rVmRSRTJSaXk2aUtyMkt2QWNrUkJ2dUp1RmJKTXA1dndkOEJsWGtuQ0FiQmlkdkVMU1lhLThqLWVieEtGRjNXWXdhN3Z4MFNZZGF6NXFGdVY3Q19qLUt6X0xjTzh3Q195alM0TUs4ZF94RmRyOGxLdTNWMk1lbnFCSEpHOEZOMGdMbmRnajdJUTFQMnI0NmxQVHdhLU1zWm1WRm45dTdNQ1dyVXBPdzU0MGpqMFA3eC1VV2FadmlVaDBCZExscFVSUmFDbldjZnk5dVF2MnBZNHFQVVRRdkliNWNGNFVYcEpqTFJURnoxVXo3SzVFWlZyWE5Sd3A2RnV5eHpmWjN1RFEtbkU0OVV5NS04LXFsN1JtZU45VzdlQWtIdkR5TVJzNlp2OGFsVG9DVnF6cDFaRXdEYjNLUWJ0V1ZDS3dGRTgwTHhYXzJkNjBJMjhZWDhMaXYxMDVrdmVQU2VUY1R4NThETFZJY0M3bld1bHFnSkhsM3E4cklJU0cwX2gzNjAzTzRzcXI2REU4X01mODRIdGZqYlhKZV9MTmlCSmRCTDNxR09oNFdBUEN4SkFMSHRKeE83SzFOR0dXWTljaDNBMDZXeWlOay04b3djcXNJaVdtcThYd0ZIMTRWOHJBX2dYcmpxRFdwUHZqd0lpMmE0eUptRXpiZVFZMkU1MWNqTDhVQ0hCb0lPVEYtNWxoY205dEJ4QV9VbzJ3V1V6Qzl2YTRfRGFVWHI5ZXFZTVZlUE1STU91dHZlQkRYaTZRU2xfWk1Tb0F4emxDaXBDVFZpWHQzaW1JWGprTzZnZVNDbmxjdGlHRlVZR1E5ZFZzLXBaZ0gweTRiSHdWVzR4X0YweWswd1B4MjJmMmZzZHNuQ2lKb0pQN1R6X3B0Sll5YXAxWFQ3RmY5NkdtTWplMUItd0ZuYm95YnJmcEsyLU1oYWRwbXB6ZU9MTmtGcl9ycElGTE5rNWRhQ0pvZU0yS0tJclo5cDdPYXFUckFYMkk2SVUxUFBNUlZmdGdIcHlTUU5xZUgyRmRUMlpPc0JDMk15aWJjUG5ueEN1NFVuUndWSFE2SGFzTEItZDRhbFYwWFl4SzgwdmQ1b2RURVZrWnp6OHhzc1RBZS1NRnN2dUxWYmhraEhOa2tMbUV6ZXIxV0FMeVotNmpjdTZiYWdHRjMxWkVjVUNwYmRKRFRvZVZoRk1PWXJWMnZNTHRIYnVDaDR6U25Yb3I0WHJNamJfTkx0UUJidEo2eTVMcnNnSlAteUoxZFVlWThVWTZSamVsTU1pUHRNWDN6LXVqOXh2aHQyVFdOY0pqOVJuRHgxcmVtMUlLb3FwbEFfTlJnZDJwTm9uRTFjaWJGVm1pTmZtb0JiVDBGeTIzNWdvWW9ULU1zR3ZJbHBoWVh6RW1NMk1kWGNFWUZzRHhTOUxWX3duQUgwQmt3Rm83Rkh5WnZ5V3U2d0ZONDVUT2tINnpIRjh5UndBMHpRTVFZRmp3VEZuMnVwMjJPazRXbE1jUjRrcWVUWUc4Tk9uMExaSXJLN00zb0hTZVpuLVI5NzBTcy1zUndObmNrSTFVd2hzS09xaHA3S0Ftc05kWGZmSjRnQnJ6X1A3Y2RWbDdDZVhGWkZGeWRSV2VmMVdhUm5YdGtKdk05Y3FYbHk3QUJsejdPa1Uwc3BqUmVFTzRITVFvOG8tUHUxZ3RncDM1NVFHWi13ZjA5aFVJNXI2RlNGTk04OTFVSWVxTEtZYThlNHYzemJCbXBjc0RmUkZTdU5hejRkRkdoRkNpcEI5TS1zTzgyU1JRdnd6dFh1dUU2UXhsQkFUUFBUYmZNcGMwRnZCYlBhWEdIMm1XOEJGYzRNVGJaN1AzZ1pRMlYtc043SG5NR3JDRmtqRXBEbi1wUWZMcUVRSEVUdTFrX2x1UHNsbHhmbVVCazRPOXJHSE1LU2ZXaXJNa3JUeF8xSUY5VjB3QlVUZ1o4Mng3NElsSHNiU1R2bzdDQlJVOU00UkNCNmNLcnlXd2NXdGRJTHFCc2Z2RW1SX0JnVklQYWNBTE5BLU5pVjlxbjRFZEZ0YkJaNzV0ZTR5RlhuT0tvUnV1QlZYM1FKTHhZMVhleVdhWDZ0cEVSRWpiNXpHTDBla2FUWkpxZ2VQVmhXRnNXRndacW1INmlpbzM3ZDQzdGNDT3IxcENBcFVNYTNGY0toa2swdVFGN09vTUNKOGZaSWRLTWc3Z2VLNjJVTzRxaGdxUktyQlhULVRaSS1lRFlWc1poaW5HaVV6YzhQQ3UtTlBObWtSTHlJMm5LNFVKRWNuZ2JEY0dVMnBpNW9HN3FCM0prMmNJT0RDem95RzliM0Q3aEJmLXdDMHRRckk4am4zQkpiaG5ZektIQzN2THVNbFNQVlpCN1FxMEk4d3VNWUc2VW1fTkhPTnNWNzdKQ0NWbTkyMjQ1UXNHTEppZlRPcVRvQ2pqTE5FTkRxOXVndmFYX1N4QUF6OS0xVEYtYjJfUVZpQWN4YTVBS055T29CVEpQMWt1Q19LOE5GZ0VrV0ROVDcwX21ReXVIWTc0OV91Um9IUTc4LVViTTBHVHRGU1ZnZmpZeUlNY01NRE9UT0NoZWdPU3FsRzNxQkh2WmdXUGRQT1ppaWh0OFZaX0RfVjV3Ukxsd2NzSlFxSGVSa3FQYzlHOGFMb0laRW9UTmN4OVZkVjZteXJMNFlTZlZXNE1weHgtTno3SU02cl9ESVNsX1ZXUm5lM3l6NHo0NGprcFdJcjJSelVqV0FxaUxpbU1PSzZVcXJmZWc5cTBNbFI5Nm1RaHB2NERQLVhJMWsyaWd5VE5QMTYzVEZ1eTJhYjdReWRaaGc3QXhJWFBWTUNzMW1wbTF6QUpGYjU1bDE4TUNxNkRZSjBtbWJTcW5FZ2JnTy00U1lFbVFZd0pZR0lYSnp1UVhfZEZwNzd6WlJ1ZmVSWEItWXg1eEZUTVFNTDBTeU13XzVHR3JIa0o2Z0FPU1JPQjFVUHJsYXVLXzN4MElnZzdJOVFDRGtHRzdTbXZ3dWQ5MWNHb0E2RWVlSG1ENllCa3ZqdHNmRjkyTmVmNTljRzVNMmoxZGhWWG01ZHdZV1NKd05pcHlqRkQyRGRwY0ZKLVJLNjRqZURaem4wcTRBUWFtakJVTnNZY214SnVWN1JwTUFWWU85d2ZBWXNnUkJOREx2RWdXUWJwM0phUXlzUDFuZHBmNU1PZ3NuVkphRWpOcDRDenNvS05jZlJMeWJQUHdVY2NBUWwwakdMSmkyQTNpbTFJMFFzOTFIbzAyQUhCWjlLSWZHYjBOVkhyN0U3cUpnal9NaDZDRE5LLWN4UGEza1ppbEt4Q1NfVWVnSnplU0JuRExYRDlzUXNGcTdfVTVGVXRPNDlHZXZqLU5xcnhMTlNfOVhqdnRKeFFvZ3ZTNDVfd185OUx2TktvZmVORjYzYS1tMlNhV1pyb3lTb1ljWTVEZ2FqR25iMmlXQ0hDenRtWlhyTVJoeU9VeUxkUUlkeFNaNDQ0TFBEckdXV09lTUJNYUpjSkxUcG5UVUE3UnFINVp6bVVRcFRTSDJlTFpwOVh4MUNESXAzRnFaU2xmczFRSFlWNXo4Y05qdVdiVTBQUTNKamNXREp5WDdPZVF0YlJ0V3dNR1NMUFY5d0FEN3B6VERqMzNPZFRQVjYxMGNUUnZ6VWt1Z2ZGYmozMWpkam8zbkJpZkRiUGtfaUg4aDkxcUJJZ2FkTXk0ZUxWV3ZYb2VkVEFxYWsxakNTVzZ2UlBmcUl5MFZxbkVWcFNLR0Zxb2RCX2RQdTFHT2V5MWpMQ2l1VUM1M1JQMzVJUGJ5bjhCWHozY3pmcXoxS3c4TTd2ZFR4d1ZIbUlqN0ktR1BDQmlhNnctQUk3M3R0QkxNUjNVWWxPZUQ2OEpCM2R2QkRaT1lRbXVKWUw2dnBjMERDWFB5WW92eFNwTkFlcklpbk1WYnl3M09Md29SYmpVcXVwdWtxNTVFUThvR2Zua1FSNDFWd2lMb1dOZU9NQXlKVFR5WUZ6czVNV19Id0N6SXQySHZMOHZUS2hncnN0bmd2YWZnVkNxOGdpRFdKWE9EX1duY2FZN0xvOFJ1dHFCWE9vY2dDNEd4N3p0Smk2RWM2NlBqM1F1MkVDS1l5QzhxX0xtRHNJN3pTMlU0eXVSUVlYaFh2dlVsSERnc2dvVmNSdG1ndzhqc08zTTZROHU4YmZUaUU3eU1GTF9hNE9DaU8yNjczLW15c1BldnA1Mm9SbWpLellDSWNVZGlyZkFBTU1DZE1GelYyeHROVy1GOUdFb3Z0dXA3WkFhdFM4NjNPaUZYdG9Ra1IxMHlnZkc1MDEzSGNxUG1EMHRZejRZOVpKbDRWWG9VS0JrYUVWSHo1SHN5dFRXemtwek9NR2p3a1d6Si1pWFlqWW5IR1EtYzd2TEtJTjFjQktoaVpoZzVnazE3Q19ERDVXQXhkWjY3TEZFMU9rR3B2WXlTaTQzaUliSHp2V3hNZXl5amtsRVBFNmxlSWJzTU1BdTkxX0JRUm40dEU3WmZMbnN2VXI1NC1TS0FPa1o5eUdaTTA4MS05WEN5ejJiTDBtN21FUTBoM0RxdlZuRU9jc1dMSHNRa3Q4b2lMdEpEd3hkeGs0Z0FBM1J0R3p4UWJEcjBHZ1JQRlVidzB4OWpncUJueWxST0JIM3F5TW1WeFZGU2k3akJ4YUZIT3c0Y0lRN09ObmZwZUhJQTBrVmo2NFlqVzBkaFNUb2piMmZ5NE1LTEY2aG50czY1dFB2d0NLRGQyX3BKWHE0T0NrZWVnLVlKbDZrajgzWDNpUC1lMkRNU01kd2JMR0duMU9uY1piTmlIOGZXRGtQemdKRHJMaE9XdElqZ19SZTlGZ3pRa2xiMmNQeXJseV92WDBrdlV3UFpObVdzMmtvTFNsdHNFMGJxNDA3dlhvZlByMm1Fc0NSNjBIbzExRkt0c1k1N1NpekVIWFBwdjNPSlpGV0FVc0w4eWdpNTZ6bWNsUVdLNmp4RjhOeTdDSzR5VGh4MGRoa09NLU16NGczYl9aUHFNU1FWUDFUOGFqLUlZZC03Q3E4bWZvSWFGTm0zYXByS3lfT0FReGJKUmV2YkltU0ZPWDNzWE8yMi0wd0RjT3JmYk1mdVNKZW13ZllGYzVqb3ZTVjFBUjdfN2ZmeFBXMk1OQmxEOWdRelhqUk1kM2hEb21DMm5xM3dQZzJrMWdLWWdGcmFZdFBTTHhmTGNpbTNCaFJDUTFZaEtJUnFMc3phVGJmNGgwd3dvUnlBRWxkUmNQaURsUWc4aWJIM05rUldaSHFCX2NkYy1JYXZvUlIyN3NXQ25IbDFrTlBLUThOekNuUmRiX2hQSkxybXV1VEdIRE8wYXB6SlAzd1ZTZGE4amdKUXE1M3VicXFvR2Fpbk8yQ0ZtVlVFbVNRUjRNeHRLZGZ6a29ZcVl4Mk5QczBsaHc1LU45TU5SRmZGUWs4MnRGd05qMlJhbUFwcnpOcG9lS3hHcUhVYmVqazRQZ0VmdFNwQ3lmNk5NZVFCYUVTVW5ia3J2SXdPYXlraWZTV0FwX3BaN3FMRG9nOUdmd1VtYmRHTWo3VXRyRDZuSFlhRkdlaDRMMTVYQ05TVWdsT0dxZmZDTENsTkNBVXVJZWVINXU4Uzd6M0VHeEF4VVVJUHNkZzNzVDBtVGZoWmF4R1dYdWxZVkotYlBBdWNZdldXSmNlYVZwX3JLY0tabWR1YXVscUc4MEw1blNwUS5SZENHQ25uOVlBM3RycHJ0Nk5UWE5B\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:22:00 GMT", + "content-length" : "791", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3dd807e6-f46b-4b3e-87ff-d1012a54bdf7", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151721,\"scheduledPurgeDate\":1554927721,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:22:01 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "79f19993-719c-4ce4-8590-b02e95089f0d", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:22:12 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "654f991b-d2ac-409f-9035-486ec2a24013", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:22:22 GMT", + "content-length" : "791", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8dcba1bb-d9ed-4023-b5db-10af0f3cd8aa", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151721,\"scheduledPurgeDate\":1554927721,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:22:22 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9d7f4149-c7ec-4215-a67f-99bd997c6a78", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/restore?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:02 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "49a20074-f3c1-4342-ab6f-23a428087c6e", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/5557f57e1de6434c9c29c288df722ffc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v_NMPMG3yU13QHDgqHUx7AUBVWK7OIBRvXlWVOmaUVrGyeDnvCMb_h0dT6qATQ3v1HJyh8VwDr10GCHEnKLkBl1PyYcJS7B_ozRHdVz6-5qg-3pZ9vwwPHUeSY2WgOpf79_3Glp3sye6OcQ2U70ojYphsZ1vkA6YGGZB0jELLSnBVF-IR6QuydIcouAExuXgpADpfNVjjlUzbInXQeslm_YqcKrbeMdRZiOF-MIYSBSbKTDgjnGkzA4OrH12y7SK5JDpDSbQNMf1MEcAtGuFE2Jk8uNgD61HUWbJkCeeniin36EwvZ0OCgiiZnjIwlTgjU80MiRPD8EyWqY3RLpnBQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151700,\"updated\":1547151700,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncForAsyncOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncForAsyncOperationsTest.json index 67574476e2471..c245a1e3909ef 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncForAsyncOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncForAsyncOperationsTest.json @@ -1,489 +1,489 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:48 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "045db300-70b7-40d3-ad3c-108e877ed162", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:50 GMT", - "content-length" : "1310", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0&request_id=de936211ac5a47e79041c30baed87c55", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b58124e1-0fd5-4a07-9ba0-4f5416b0466b", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:51 GMT", - "content-length" : "1310", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a29a81b2-e57e-4be4-91e3-ccb4ed6e1642", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:51 GMT", - "content-length" : "1006", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "90077488-fd3c-4060-8fab-d4c00951fa01", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152911}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:52 GMT", - "content-length" : "617", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2009b636-1a02-4907-8804-1c3b623738aa", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:52 GMT", - "content-length" : "617", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e877e42e-8356-40e2-a472-8a31ee195e61", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:53 GMT", - "content-length" : "1310", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0fdcb571-2798-4fa1-9fcf-4fa3f4b20692", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:53 GMT", - "content-length" : "1006", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ecf57a87-74f7-44a3-b833-5511fafdf621", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:53 GMT", - "content-length" : "924", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/pkcs10; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f8151b68-ce25-4d9f-9689-d5f754ae6b15", - "Body" : "MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:53 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3c92f1c0-4f48-4d55-ac41-f9f9e58fe0ff", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/versions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:54 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "45d582d3-d9b6-4359-89b7-d7cc3938974c", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:54 GMT", - "content-length" : "1310", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b49dd9cc-d1d9-4479-aa10-3ec75126c511", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:54 GMT", - "content-length" : "1058", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "00c41466-586d-4872-a98f-a42019446f31", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2\",\"deletedDate\":1547152914,\"scheduledPurgeDate\":1554928914,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:41:54 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "945e007f-e6eb-49b3-9e7c-663fe8ff4a53", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: tempCertificate2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:42:05 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f4354378-b03c-4e87-99a1-4507b6c26e77", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: tempCertificate2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:42:15 GMT", - "content-length" : "1058", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "58c5c0f3-edd3-411a-849a-d9b0cdb05edb", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2\",\"deletedDate\":1547152914,\"scheduledPurgeDate\":1554928914,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:42:15 GMT", - "content-length" : "92", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6b8cec1b-dde8-4713-8157-59d54af546eb", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: tempCertificate2\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:42:16 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ea83ca6c-75b9-4653-a3fb-e834d9582e83", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:48 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "045db300-70b7-40d3-ad3c-108e877ed162", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:50 GMT", + "content-length" : "1310", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0&request_id=de936211ac5a47e79041c30baed87c55", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b58124e1-0fd5-4a07-9ba0-4f5416b0466b", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:51 GMT", + "content-length" : "1310", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a29a81b2-e57e-4be4-91e3-ccb4ed6e1642", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:51 GMT", + "content-length" : "1006", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "90077488-fd3c-4060-8fab-d4c00951fa01", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152911}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:52 GMT", + "content-length" : "617", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2009b636-1a02-4907-8804-1c3b623738aa", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:52 GMT", + "content-length" : "617", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e877e42e-8356-40e2-a472-8a31ee195e61", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:53 GMT", + "content-length" : "1310", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0fdcb571-2798-4fa1-9fcf-4fa3f4b20692", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:53 GMT", + "content-length" : "1006", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ecf57a87-74f7-44a3-b833-5511fafdf621", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:53 GMT", + "content-length" : "924", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/pkcs10; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f8151b68-ce25-4d9f-9689-d5f754ae6b15", + "Body" : "MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:53 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3c92f1c0-4f48-4d55-ac41-f9f9e58fe0ff", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/versions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:54 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "45d582d3-d9b6-4359-89b7-d7cc3938974c", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:54 GMT", + "content-length" : "1310", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b49dd9cc-d1d9-4479-aa10-3ec75126c511", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCdT5vQNXrvOZf8IEpBuzGJWZRJ7PqqN2XuLBJ6+ncFM/34X3CVEPDbIFXi/HAhaOig1HjOZOqGgZS0mTaXx9hPtmDrKVtqLf3ideYwN/mdYoP7GVEN2zBrhzliTamwLIDOSoqjkCcVTwBRy8G/RUQ1vy6/UKaf56hRhttgBIofNOFX9kjm2z7TyYmcxJEyr9KzxlS+4wmlzeC35XrAJPZ94RSYynBnCZKZi8Ss8/XtjRbuEB1UB1azFPsRFEbX6mybkhePLjJvNZB0Bm8OJiNZFy6vaNaMvuRh4f7yWrHM90IyztW7eOEwVEgFRQoEiLLspQtjSwaAVDsVQVa+ZALvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAmx58c2ymBuu7mLwCpNc29jLLgwIDG7ifGR7t6anlLB/zx0yT1noiAFUh2U5pfp0/P94dhovhAmnNAyh7yiV6eoSLuz2lh6p9ObuDvuOCEPzQ6AAjOtoHAPLvV0llW2CmBIZKqpmAKy/Z2WV3fsY5Htsl7VhcrGI3NxG6sNmGSW1tEnOvZezON82kmYIn0VSR0wOAwFeVrVUBq3IpjBNRgazKDUFRj8fLt5tQF2B2bVnyQmyqr1eP6z1+wXuAIyuBbKZSmdYFKiuLaEN/GtGEjRxXLG5KFcGdLraz4yHKoVhg4IxdTr80NOHwBe/fW74/NGH07sGC6GALtJP/RhlkfA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"de936211ac5a47e79041c30baed87c55\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:54 GMT", + "content-length" : "1058", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "00c41466-586d-4872-a98f-a42019446f31", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2\",\"deletedDate\":1547152914,\"scheduledPurgeDate\":1554928914,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:41:54 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "945e007f-e6eb-49b3-9e7c-663fe8ff4a53", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: tempCertificate2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:42:05 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f4354378-b03c-4e87-99a1-4507b6c26e77", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: tempCertificate2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:42:15 GMT", + "content-length" : "1058", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "58c5c0f3-edd3-411a-849a-d9b0cdb05edb", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2\",\"deletedDate\":1547152914,\"scheduledPurgeDate\":1554928914,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/f77969403fa944f5ac822676d88427e1\",\"attributes\":{\"enabled\":false,\"nbf\":1547152309,\"exp\":1578688909,\"created\":1547152909,\"updated\":1547152911,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547152909,\"updated\":1547152912}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/tempCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:42:15 GMT", + "content-length" : "92", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6b8cec1b-dde8-4713-8157-59d54af546eb", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: tempCertificate2\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/tempCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:42:16 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ea83ca6c-75b9-4653-a3fb-e834d9582e83", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncRequestCancellationForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncRequestCancellationForCertificateOperationsTest.json index 144cd25b4f072..a64a5090a363f 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncRequestCancellationForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateAsyncRequestCancellationForCertificateOperationsTest.json @@ -1,273 +1,273 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:05 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "24bfd8b4-3b69-4ec6-823f-d1e42f68e898", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:06 GMT", - "content-length" : "1323", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending?api-version=7.0&request_id=0b896378109647ac8d11891c9f4de2a0", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "85eb74b5-06ac-45c3-9822-547a9f5da6d8", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7TtY8IkscL3h0qtXkMg9z1oCxCR5phO7IwAjKE76s+IVC9uHd8HmZ66y63VJklR2jRKUJNNrhi9qUyFWLcMZuJMCuXOPAE3teqdjBfSEriLpCL7HxfMG3bUX4E7DJii1wR9REC9081QMIxVQigVXQMIDAsIYTPDfUS3xr/ji1Cg5jLgodeC//KgXgx2AQK96cd/zR5rea0CRmwvVWWw06An6lZoyONuERYTXmixIC0W0RrVAZhY9FZPtEbzjY2dmZvAiHtNSkot8O73V58R7lFWG8ikHzembDqxNr+gpwtTSypvYBfCqUCZdHK4l39RDOGQrD9GhSSDokBklZ6GY9AgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAk4xq/X3ZvYRJNvXo1vXYM7Q6MfwG/pIimuIMVzIQSlc5tKovfKJLZJJjEJit/0XvINgpezjzjkxFON0sHw/1NOcDmfyvpNDU4pg+88ZqOb7tKw5Lg8Txv6AiXn7X7gSRZLCsRdvoKM+9eirydKd63ayuSs31xzu59gkCN1O+JSxatQ5v0jjHoqUSCv3D6WH6cLXu7cW3YsXSM6ZvgIaS/Wfu61y7wr+WIK5UnxauTiDgVtkgAYss2tdN5COuX/3Da+ueedodsms5ss89o/yVujaqEy0aDQYP4pjMD80ejDaH7LNmvYyX1imoQBwd7EM5aUuqo/Q3IMv2RRei3InmzA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0b896378109647ac8d11891c9f4de2a0\"}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:07 GMT", - "content-length" : "1322", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6a501acf-f039-408f-99ba-2154da8fdc84", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7TtY8IkscL3h0qtXkMg9z1oCxCR5phO7IwAjKE76s+IVC9uHd8HmZ66y63VJklR2jRKUJNNrhi9qUyFWLcMZuJMCuXOPAE3teqdjBfSEriLpCL7HxfMG3bUX4E7DJii1wR9REC9081QMIxVQigVXQMIDAsIYTPDfUS3xr/ji1Cg5jLgodeC//KgXgx2AQK96cd/zR5rea0CRmwvVWWw06An6lZoyONuERYTXmixIC0W0RrVAZhY9FZPtEbzjY2dmZvAiHtNSkot8O73V58R7lFWG8ikHzembDqxNr+gpwtTSypvYBfCqUCZdHK4l39RDOGQrD9GhSSDokBklZ6GY9AgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAk4xq/X3ZvYRJNvXo1vXYM7Q6MfwG/pIimuIMVzIQSlc5tKovfKJLZJJjEJit/0XvINgpezjzjkxFON0sHw/1NOcDmfyvpNDU4pg+88ZqOb7tKw5Lg8Txv6AiXn7X7gSRZLCsRdvoKM+9eirydKd63ayuSs31xzu59gkCN1O+JSxatQ5v0jjHoqUSCv3D6WH6cLXu7cW3YsXSM6ZvgIaS/Wfu61y7wr+WIK5UnxauTiDgVtkgAYss2tdN5COuX/3Da+ueedodsms5ss89o/yVujaqEy0aDQYP4pjMD80ejDaH7LNmvYyX1imoQBwd7EM5aUuqo/Q3IMv2RRei3InmzA==\",\"cancellation_requested\":true,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0b896378109647ac8d11891c9f4de2a0\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:07 GMT", - "content-length" : "1322", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4ef22a59-4f27-41c1-947e-899ab5173e33", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7TtY8IkscL3h0qtXkMg9z1oCxCR5phO7IwAjKE76s+IVC9uHd8HmZ66y63VJklR2jRKUJNNrhi9qUyFWLcMZuJMCuXOPAE3teqdjBfSEriLpCL7HxfMG3bUX4E7DJii1wR9REC9081QMIxVQigVXQMIDAsIYTPDfUS3xr/ji1Cg5jLgodeC//KgXgx2AQK96cd/zR5rea0CRmwvVWWw06An6lZoyONuERYTXmixIC0W0RrVAZhY9FZPtEbzjY2dmZvAiHtNSkot8O73V58R7lFWG8ikHzembDqxNr+gpwtTSypvYBfCqUCZdHK4l39RDOGQrD9GhSSDokBklZ6GY9AgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAk4xq/X3ZvYRJNvXo1vXYM7Q6MfwG/pIimuIMVzIQSlc5tKovfKJLZJJjEJit/0XvINgpezjzjkxFON0sHw/1NOcDmfyvpNDU4pg+88ZqOb7tKw5Lg8Txv6AiXn7X7gSRZLCsRdvoKM+9eirydKd63ayuSs31xzu59gkCN1O+JSxatQ5v0jjHoqUSCv3D6WH6cLXu7cW3YsXSM6ZvgIaS/Wfu61y7wr+WIK5UnxauTiDgVtkgAYss2tdN5COuX/3Da+ueedodsms5ss89o/yVujaqEy0aDQYP4pjMD80ejDaH7LNmvYyX1imoQBwd7EM5aUuqo/Q3IMv2RRei3InmzA==\",\"cancellation_requested\":true,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0b896378109647ac8d11891c9f4de2a0\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:09 GMT", - "content-length" : "1075", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "44e8c260-d490-49b7-b7f2-a2934043c12d", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava\",\"deletedDate\":1547151128,\"scheduledPurgeDate\":1554927128,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/dec7177a88d940bfa1b10beba9ef9f30\",\"attributes\":{\"enabled\":false,\"nbf\":1547150527,\"exp\":1578687127,\"created\":1547151127,\"updated\":1547151127,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151127,\"updated\":1547151127}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:09 GMT", - "content-length" : "113", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "30b335c3-fd68-47c4-823f-338f0b98687c", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: cancellationRequestedCertJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:19 GMT", - "content-length" : "113", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0253a28c-3326-40d0-b96f-1639c657470a", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: cancellationRequestedCertJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:29 GMT", - "content-length" : "113", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "18fd5360-f937-46fe-8113-280ba8cb340a", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: cancellationRequestedCertJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:39 GMT", - "content-length" : "1075", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "64eaac33-de6b-4673-a37b-1b004617b657", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava\",\"deletedDate\":1547151128,\"scheduledPurgeDate\":1554927128,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/dec7177a88d940bfa1b10beba9ef9f30\",\"attributes\":{\"enabled\":false,\"nbf\":1547150527,\"exp\":1578687127,\"created\":1547151127,\"updated\":1547151127,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151127,\"updated\":1547151127}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:12:40 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0c5fa3ff-49ad-462b-a0a9-cf95f22b287a", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:05 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "24bfd8b4-3b69-4ec6-823f-d1e42f68e898", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:06 GMT", + "content-length" : "1323", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending?api-version=7.0&request_id=0b896378109647ac8d11891c9f4de2a0", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "85eb74b5-06ac-45c3-9822-547a9f5da6d8", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7TtY8IkscL3h0qtXkMg9z1oCxCR5phO7IwAjKE76s+IVC9uHd8HmZ66y63VJklR2jRKUJNNrhi9qUyFWLcMZuJMCuXOPAE3teqdjBfSEriLpCL7HxfMG3bUX4E7DJii1wR9REC9081QMIxVQigVXQMIDAsIYTPDfUS3xr/ji1Cg5jLgodeC//KgXgx2AQK96cd/zR5rea0CRmwvVWWw06An6lZoyONuERYTXmixIC0W0RrVAZhY9FZPtEbzjY2dmZvAiHtNSkot8O73V58R7lFWG8ikHzembDqxNr+gpwtTSypvYBfCqUCZdHK4l39RDOGQrD9GhSSDokBklZ6GY9AgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAk4xq/X3ZvYRJNvXo1vXYM7Q6MfwG/pIimuIMVzIQSlc5tKovfKJLZJJjEJit/0XvINgpezjzjkxFON0sHw/1NOcDmfyvpNDU4pg+88ZqOb7tKw5Lg8Txv6AiXn7X7gSRZLCsRdvoKM+9eirydKd63ayuSs31xzu59gkCN1O+JSxatQ5v0jjHoqUSCv3D6WH6cLXu7cW3YsXSM6ZvgIaS/Wfu61y7wr+WIK5UnxauTiDgVtkgAYss2tdN5COuX/3Da+ueedodsms5ss89o/yVujaqEy0aDQYP4pjMD80ejDaH7LNmvYyX1imoQBwd7EM5aUuqo/Q3IMv2RRei3InmzA==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0b896378109647ac8d11891c9f4de2a0\"}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:07 GMT", + "content-length" : "1322", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6a501acf-f039-408f-99ba-2154da8fdc84", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7TtY8IkscL3h0qtXkMg9z1oCxCR5phO7IwAjKE76s+IVC9uHd8HmZ66y63VJklR2jRKUJNNrhi9qUyFWLcMZuJMCuXOPAE3teqdjBfSEriLpCL7HxfMG3bUX4E7DJii1wR9REC9081QMIxVQigVXQMIDAsIYTPDfUS3xr/ji1Cg5jLgodeC//KgXgx2AQK96cd/zR5rea0CRmwvVWWw06An6lZoyONuERYTXmixIC0W0RrVAZhY9FZPtEbzjY2dmZvAiHtNSkot8O73V58R7lFWG8ikHzembDqxNr+gpwtTSypvYBfCqUCZdHK4l39RDOGQrD9GhSSDokBklZ6GY9AgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAk4xq/X3ZvYRJNvXo1vXYM7Q6MfwG/pIimuIMVzIQSlc5tKovfKJLZJJjEJit/0XvINgpezjzjkxFON0sHw/1NOcDmfyvpNDU4pg+88ZqOb7tKw5Lg8Txv6AiXn7X7gSRZLCsRdvoKM+9eirydKd63ayuSs31xzu59gkCN1O+JSxatQ5v0jjHoqUSCv3D6WH6cLXu7cW3YsXSM6ZvgIaS/Wfu61y7wr+WIK5UnxauTiDgVtkgAYss2tdN5COuX/3Da+ueedodsms5ss89o/yVujaqEy0aDQYP4pjMD80ejDaH7LNmvYyX1imoQBwd7EM5aUuqo/Q3IMv2RRei3InmzA==\",\"cancellation_requested\":true,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0b896378109647ac8d11891c9f4de2a0\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:07 GMT", + "content-length" : "1322", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4ef22a59-4f27-41c1-947e-899ab5173e33", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7TtY8IkscL3h0qtXkMg9z1oCxCR5phO7IwAjKE76s+IVC9uHd8HmZ66y63VJklR2jRKUJNNrhi9qUyFWLcMZuJMCuXOPAE3teqdjBfSEriLpCL7HxfMG3bUX4E7DJii1wR9REC9081QMIxVQigVXQMIDAsIYTPDfUS3xr/ji1Cg5jLgodeC//KgXgx2AQK96cd/zR5rea0CRmwvVWWw06An6lZoyONuERYTXmixIC0W0RrVAZhY9FZPtEbzjY2dmZvAiHtNSkot8O73V58R7lFWG8ikHzembDqxNr+gpwtTSypvYBfCqUCZdHK4l39RDOGQrD9GhSSDokBklZ6GY9AgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAk4xq/X3ZvYRJNvXo1vXYM7Q6MfwG/pIimuIMVzIQSlc5tKovfKJLZJJjEJit/0XvINgpezjzjkxFON0sHw/1NOcDmfyvpNDU4pg+88ZqOb7tKw5Lg8Txv6AiXn7X7gSRZLCsRdvoKM+9eirydKd63ayuSs31xzu59gkCN1O+JSxatQ5v0jjHoqUSCv3D6WH6cLXu7cW3YsXSM6ZvgIaS/Wfu61y7wr+WIK5UnxauTiDgVtkgAYss2tdN5COuX/3Da+ueedodsms5ss89o/yVujaqEy0aDQYP4pjMD80ejDaH7LNmvYyX1imoQBwd7EM5aUuqo/Q3IMv2RRei3InmzA==\",\"cancellation_requested\":true,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"0b896378109647ac8d11891c9f4de2a0\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:09 GMT", + "content-length" : "1075", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "44e8c260-d490-49b7-b7f2-a2934043c12d", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava\",\"deletedDate\":1547151128,\"scheduledPurgeDate\":1554927128,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/dec7177a88d940bfa1b10beba9ef9f30\",\"attributes\":{\"enabled\":false,\"nbf\":1547150527,\"exp\":1578687127,\"created\":1547151127,\"updated\":1547151127,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151127,\"updated\":1547151127}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:09 GMT", + "content-length" : "113", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "30b335c3-fd68-47c4-823f-338f0b98687c", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: cancellationRequestedCertJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:19 GMT", + "content-length" : "113", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0253a28c-3326-40d0-b96f-1639c657470a", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: cancellationRequestedCertJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:29 GMT", + "content-length" : "113", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "18fd5360-f937-46fe-8113-280ba8cb340a", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: cancellationRequestedCertJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:39 GMT", + "content-length" : "1075", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "64eaac33-de6b-4673-a37b-1b004617b657", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava\",\"deletedDate\":1547151128,\"scheduledPurgeDate\":1554927128,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/dec7177a88d940bfa1b10beba9ef9f30\",\"attributes\":{\"enabled\":false,\"nbf\":1547150527,\"exp\":1578687127,\"created\":1547151127,\"updated\":1547151127,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/cancellationRequestedCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151127,\"updated\":1547151127}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/cancellationRequestedCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:12:40 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0c5fa3ff-49ad-462b-a0a9-cf95f22b287a", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateContactsAsyncForAsyncOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateContactsAsyncForAsyncOperationsTest.json index f06f5c925e02d..531ff92666b8f 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateContactsAsyncForAsyncOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateContactsAsyncForAsyncOperationsTest.json @@ -1,112 +1,112 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:52 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a6f1ce7f-6006-4512-b6d3-eb929ccba6b8", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:52 GMT", - "content-length" : "216", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3cd973d6-edef-4192-b514-eda3301dc0b2", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:52 GMT", - "content-length" : "216", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d7d333c2-4ced-4170-8294-39ffd462a2a1", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:53 GMT", - "content-length" : "216", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "124600d9-226f-4de1-b998-fdc6f746148e", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:52 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a6f1ce7f-6006-4512-b6d3-eb929ccba6b8", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:52 GMT", + "content-length" : "216", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3cd973d6-edef-4192-b514-eda3301dc0b2", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:52 GMT", + "content-length" : "216", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d7d333c2-4ced-4170-8294-39ffd462a2a1", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:53 GMT", + "content-length" : "216", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "124600d9-226f-4de1-b998-fdc6f746148e", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateUpdateForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateUpdateForCertificateOperationsTest.json index 4bdaee7f5f8d4..1524dab9ef7ad 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateUpdateForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/certificateUpdateForCertificateOperationsTest.json @@ -1,272 +1,272 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:30 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "334ac43e-a17b-4fe4-ae49-6f71dd61721f", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:31 GMT", - "content-length" : "1822", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f033fa63-1a65-4467-a38d-787cc6458550", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151391,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151391}}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:32 GMT", - "content-length" : "1833", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "634f71ae-5814-4620-b397-dbd0831960df", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":false,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151392,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:32 GMT", - "content-length" : "537", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8b4cd745-dff8-48f4-b384-3d60556264c2", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:32 GMT", - "content-length" : "537", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d8805523-d2e9-4029-8a0b-fa5d04574974", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:33 GMT", - "content-length" : "1978", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ff841738-da0c-4bdf-a1a6-5ab7d8db07e7", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava\",\"deletedDate\":1547151393,\"scheduledPurgeDate\":1554927393,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":false,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151392,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:33 GMT", - "content-length" : "98", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "11d98bb5-b304-41f1-8b1c-a53fe252000e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: updateCertJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:43 GMT", - "content-length" : "98", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c2f300c2-5c6c-4842-b89b-905b0d36d18f", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: updateCertJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:53 GMT", - "content-length" : "1978", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b193016e-25f5-45b5-85a5-605eb84369c0", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava\",\"deletedDate\":1547151393,\"scheduledPurgeDate\":1554927393,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":false,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151392,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:54 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8e9543a7-b80c-4361-99f4-bd9979948ed5", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:30 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "334ac43e-a17b-4fe4-ae49-6f71dd61721f", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:31 GMT", + "content-length" : "1822", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f033fa63-1a65-4467-a38d-787cc6458550", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151391,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151391}}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:32 GMT", + "content-length" : "1833", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "634f71ae-5814-4620-b397-dbd0831960df", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":false,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151392,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:32 GMT", + "content-length" : "537", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8b4cd745-dff8-48f4-b384-3d60556264c2", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:32 GMT", + "content-length" : "537", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d8805523-d2e9-4029-8a0b-fa5d04574974", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:33 GMT", + "content-length" : "1978", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ff841738-da0c-4bdf-a1a6-5ab7d8db07e7", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava\",\"deletedDate\":1547151393,\"scheduledPurgeDate\":1554927393,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":false,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151392,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:33 GMT", + "content-length" : "98", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "11d98bb5-b304-41f1-8b1c-a53fe252000e", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: updateCertJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:43 GMT", + "content-length" : "98", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c2f300c2-5c6c-4842-b89b-905b0d36d18f", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: updateCertJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:53 GMT", + "content-length" : "1978", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b193016e-25f5-45b5-85a5-605eb84369c0", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava\",\"deletedDate\":1547151393,\"scheduledPurgeDate\":1554927393,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/updateCertJava/d09f9c67ffa7482c87d3c2b6d229df48\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":false,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151391,\"updated\":1547151392,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/updateCertJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151391,\"updated\":1547151392}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/updateCertJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:54 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8e9543a7-b80c-4361-99f4-bd9979948ed5", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/contactsCrudOperationsForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/contactsCrudOperationsForCertificateOperationsTest.json index 086324b3f7a4c..90fb62961174e 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/contactsCrudOperationsForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/contactsCrudOperationsForCertificateOperationsTest.json @@ -1,139 +1,139 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:53 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9aef343f-d553-4b92-91ad-b828d8471f0b", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:53 GMT", - "content-length" : "216", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9f26de18-4872-4aa7-95a1-9bdaaa3563d9", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:53 GMT", - "content-length" : "216", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0baaad05-dbaf-49c5-bdb1-12aa407a5625", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:54 GMT", - "content-length" : "216", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4d00012a-8477-45fb-9f9f-a71c449b2c17", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:54 GMT", - "content-length" : "68", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2af2b26e-9587-459e-a1ad-3eaba4972a91", - "Body" : "{\"error\":{\"code\":\"ContactsNotFound\",\"message\":\"Contacts not found\"}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:53 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9aef343f-d553-4b92-91ad-b828d8471f0b", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:53 GMT", + "content-length" : "216", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9f26de18-4872-4aa7-95a1-9bdaaa3563d9", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:53 GMT", + "content-length" : "216", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0baaad05-dbaf-49c5-bdb1-12aa407a5625", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:54 GMT", + "content-length" : "216", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4d00012a-8477-45fb-9f9f-a71c449b2c17", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/contacts\",\"contacts\":[{\"email\":\"james@contoso.com\",\"name\":\"James\",\"phone\":\"7777777777\"},{\"email\":\"ethan@contoso.com\",\"name\":\"Ethan\",\"phone\":\"8888888888\"}]}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/contacts?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:54 GMT", + "content-length" : "68", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2af2b26e-9587-459e-a1ad-3eaba4972a91", + "Body" : "{\"error\":{\"code\":\"ContactsNotFound\",\"message\":\"Contacts not found\"}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePemForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePemForCertificateOperationsTest.json index f42f50ff36635..bd56d80d50cbe 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePemForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePemForCertificateOperationsTest.json @@ -1,408 +1,408 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:00 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e8d0a330-53ea-4dc2-8928-d051b6e6b9c8", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:01 GMT", - "content-length" : "367", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d63e94a9-1da6-40fa-b18c-69085c70c311", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1543865457,\"updated\":1547151181}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:02 GMT", - "content-length" : "1327", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0&request_id=7ee6fe9f413e4ade8f7ec3815063db01", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1fa01949-732e-4e9a-b968-a26e6dc80f8e", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:02 GMT", - "content-length" : "1327", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "454b2985-3d37-4a5e-bd24-44bd16ea1847", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:13 GMT", - "content-length" : "1327", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "95b8eabc-af6c-4eb2-bb89-53d46ffccb3e", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:23 GMT", - "content-length" : "1245", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bf52288e-2bd9-47a5-b1de-01d6897375b9", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:23 GMT", - "content-length" : "2361", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "80715feb-bdee-4bc7-b305-adcdf2125853", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"x5t\":\"KwqH7O7tYlsUnsGa6BU3EMldVP4\",\"cer\":\"MIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAyMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt55NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjztstdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07AuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7zh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtgUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVyqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zqkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPCZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1fc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUrPl+QpqbK\",\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=TestJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547151182,\"updated\":1547151182}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:23 GMT", - "content-length" : "3348", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a8db80e9-202f-4f29-90f7-158d1a8106cb", - "Body" : "{\"value\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDsIxwLeZA0gInO\\nx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOL\\nRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsg\\nodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMl\\nCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08C\\nZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/\\nisQjO52ZAgMBAAECggEAAfPwYW/p72U4vosMnjIAPpMirziqV2f6mH6I7bBNKhcq\\nVOgqKvWFYOSOkZXRlT12oU7nQA+Gbl8mhTpWcCIqXaH9ZbAvIhdy5MhOEqVYqiiV\\np5NfY0ctSCAN/xN1tjnpD21NGEO+5HEPQ1/TQOFUG1+kXSWAEEoYANBJkkFe/LIq\\nvylBNDbyuP+fDeYYQ0avpSLpEDOi5W3uqjf+GKfuRqpYMfWemivIOMaRyjMZAUQf\\nKAeHMLQUz+E1UhbuJ3F4quh1gqbDMC/TNWdkYwfeSpNxUEY1m3wUCjScPItASBY7\\nVRXahzbT385jspnVAuJxRU/3owQqVCAPy+rZ5pbv4QKBgQD9s5vs57C5tuFvjBD4\\ng1sfwypTXQjTf9UL2LqX3lF+LxnSlK0kq1jo3e49A8dg/VI5aZX5Ti51/B66/WCh\\nvfMrYz/ncVSzFqf5CDa/vsgpqNaj+7oFXwFCvHf5OphmOrlEMt0z/AnOa3Yk0kaC\\n+5BzTU9clO/ugzBauD0sKQ4s9QKBgQDuRsO6dCjKAl7Dkl9DCJ4tALhZF6lA7LT0\\nGPt66WYopNXmDsQxbDAR05humslH/JMy9cA1UEKaok6/RSpRg+OhSYpnz5pWi3+I\\naGzDwoeSpRGU27T5BDP7dOUL8ElmiBjHnAjsfja9z08NWsIstRQbSS5Gyoxg4wl3\\n6uTSz0XHlQKBgQCkP2zaYmGSymiG7BpsmbYcCSFU2S2GqAMI6WZcPg1qcRn5sFGs\\nJNap5EyB6flhvH9INihnQAtqTTCkBLhT3oMY+ud7cm7QhwF2g6/WUbCK8AkOH0Ge\\nipRpXVUa4KmbvbcGBRwatLiwj/fr/MqzsCQj0dBocvAm7X4XraHE/kt0JQKBgQDj\\nFAuKURNiWVnodkFVCAx+hPYq6fLCThOxoXFg1LgoOdcjlaUCGMHC622U0uzKLvo1\\nkaDo7iFbbx0vCYJoBxJTblt5zY6ftfgHjsVA1s4PQkL8I1pYCtpjZSa39vpsvX0o\\nFhsnDq2qvLvw1TLCGpwb2OVCT9vypcwrPW9vPFua9QKBgQC4uBLqT3fDMFNOO8OJ\\nJdLkjflLYX4mqFNZsbguYC2OOVfn44UIbOEaCVRLShisLa6aUP6zhE8db6pooQzM\\nlFcsmL58SlFVzxJPwgiTX5jhZBdp5qG5Z8z+fcHf3Z4SyjYfKWdv0JHRqVVOED42\\nxSZKmve/3g5tOPkJcmSiKPuBnQ==\\n-----END PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAW\\nMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAy\\nMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEF\\nAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt5\\n5NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjzts\\ntdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07\\nAuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7z\\nh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE\\n34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8B\\nAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH\\nAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtg\\nUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVy\\nqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zq\\nkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPC\\nZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1\\nfc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZ\\nN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUr\\nPl+QpqbK\\n-----END CERTIFICATE-----\\n\",\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:24 GMT", - "content-length" : "2512", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "15a2fee6-21c8-414f-b471-2c3f7b85f6ec", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem\",\"deletedDate\":1547151204,\"scheduledPurgeDate\":1554927204,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"x5t\":\"KwqH7O7tYlsUnsGa6BU3EMldVP4\",\"cer\":\"MIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAyMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt55NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjztstdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07AuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7zh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtgUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVyqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zqkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPCZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1fc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUrPl+QpqbK\",\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=TestJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547151182,\"updated\":1547151182}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:24 GMT", - "content-length" : "93", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8372f031-7bd1-45f5-b67e-be1fd0028e52", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createTestJavaPem\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:24 GMT", - "content-length" : "101", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "52aad881-3473-4ed5-acb6-91501a10b213", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPem\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:34 GMT", - "content-length" : "101", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "439348b0-a024-4702-a33d-e6b9d6ff62af", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPem\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:45 GMT", - "content-length" : "101", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "54ef7939-80e4-483b-8dd5-f3d3d8ed23af", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPem\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:55 GMT", - "content-length" : "2512", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "dc04d9f6-f54a-4c35-a627-f34cd1bc2770", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem\",\"deletedDate\":1547151204,\"scheduledPurgeDate\":1554927204,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"x5t\":\"KwqH7O7tYlsUnsGa6BU3EMldVP4\",\"cer\":\"MIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAyMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt55NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjztstdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07AuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7zh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtgUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVyqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zqkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPCZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1fc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUrPl+QpqbK\",\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=TestJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547151182,\"updated\":1547151182}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:13:55 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8a0a89bc-f18e-4f45-bc05-005897a27762", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:00 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e8d0a330-53ea-4dc2-8928-d051b6e6b9c8", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:01 GMT", + "content-length" : "367", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d63e94a9-1da6-40fa-b18c-69085c70c311", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1543865457,\"updated\":1547151181}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:02 GMT", + "content-length" : "1327", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0&request_id=7ee6fe9f413e4ade8f7ec3815063db01", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1fa01949-732e-4e9a-b968-a26e6dc80f8e", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:02 GMT", + "content-length" : "1327", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "454b2985-3d37-4a5e-bd24-44bd16ea1847", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:13 GMT", + "content-length" : "1327", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "95b8eabc-af6c-4eb2-bb89-53d46ffccb3e", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:23 GMT", + "content-length" : "1245", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bf52288e-2bd9-47a5-b1de-01d6897375b9", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\",\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"csr\":\"MIICpjCCAY4CAQAwFjEUMBIGA1UEAxMLVGVzdEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDsIxwLeZA0gInOx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOLRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsgodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMlCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08CZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/isQjO52ZAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdfiAueH9YuPbsknS5gfsg27ctBEguJKs7lpv6eTpF3soVppBzq1bE43xKjKN8l1Bb17BqCJEZN/l5Jav85pGcrx67vn1246JDFJufmWZF9kROlxQjCtou/T/vsvJ+TGwtjAwFVoxCc6U4b7Ug44HhW27vYZESFb3PCH4cNbocMFzeo3cA79YAJKryEZoBdnao6O3seUL7peNtUA4rA2KrN2nH0i51C7kperkIzh8kbLAqIx1mWm7+i5wmeFrHei9XrazZqQtmNVky5Aqf06jVD2DghjiE/cgooqKMrBvxfDkz5s1rBZMlhL8m9c82OWNIkEYeymCEvcm/dV3I5/hig==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem\",\"request_id\":\"7ee6fe9f413e4ade8f7ec3815063db01\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:23 GMT", + "content-length" : "2361", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "80715feb-bdee-4bc7-b305-adcdf2125853", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"x5t\":\"KwqH7O7tYlsUnsGa6BU3EMldVP4\",\"cer\":\"MIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAyMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt55NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjztstdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07AuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7zh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtgUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVyqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zqkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPCZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1fc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUrPl+QpqbK\",\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=TestJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547151182,\"updated\":1547151182}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:23 GMT", + "content-length" : "3348", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a8db80e9-202f-4f29-90f7-158d1a8106cb", + "Body" : "{\"value\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDsIxwLeZA0gInO\\nx96Umi+BH8Sn1yxurN8pJ2cSh3zg+3nk1vFqmTFRNZc2ByoQjaLYGrbFzEbMypOL\\nRM02IUxr26UpXeiDlMZ8ULL85EePO2y1250eftjwknpk0hWUIauc+4XvZK3napsg\\nodThGfjGQgBfWGyJDGssiSfufyt8TTsC4Exr+wUdi8vs6iswyoCjFcduadw/llMl\\nCGga2/0Sk41UATA1ADDNS2yw7r/RzvOHVdBDaUdj3nU0fdcYGPoyhJpnyxCxv08C\\nZgM7hyZQnYrkbvASw6kSfzyAmmV7RQTfhKU7mdvhJzSIcVv0ZkiRaFwLUX3TC39/\\nisQjO52ZAgMBAAECggEAAfPwYW/p72U4vosMnjIAPpMirziqV2f6mH6I7bBNKhcq\\nVOgqKvWFYOSOkZXRlT12oU7nQA+Gbl8mhTpWcCIqXaH9ZbAvIhdy5MhOEqVYqiiV\\np5NfY0ctSCAN/xN1tjnpD21NGEO+5HEPQ1/TQOFUG1+kXSWAEEoYANBJkkFe/LIq\\nvylBNDbyuP+fDeYYQ0avpSLpEDOi5W3uqjf+GKfuRqpYMfWemivIOMaRyjMZAUQf\\nKAeHMLQUz+E1UhbuJ3F4quh1gqbDMC/TNWdkYwfeSpNxUEY1m3wUCjScPItASBY7\\nVRXahzbT385jspnVAuJxRU/3owQqVCAPy+rZ5pbv4QKBgQD9s5vs57C5tuFvjBD4\\ng1sfwypTXQjTf9UL2LqX3lF+LxnSlK0kq1jo3e49A8dg/VI5aZX5Ti51/B66/WCh\\nvfMrYz/ncVSzFqf5CDa/vsgpqNaj+7oFXwFCvHf5OphmOrlEMt0z/AnOa3Yk0kaC\\n+5BzTU9clO/ugzBauD0sKQ4s9QKBgQDuRsO6dCjKAl7Dkl9DCJ4tALhZF6lA7LT0\\nGPt66WYopNXmDsQxbDAR05humslH/JMy9cA1UEKaok6/RSpRg+OhSYpnz5pWi3+I\\naGzDwoeSpRGU27T5BDP7dOUL8ElmiBjHnAjsfja9z08NWsIstRQbSS5Gyoxg4wl3\\n6uTSz0XHlQKBgQCkP2zaYmGSymiG7BpsmbYcCSFU2S2GqAMI6WZcPg1qcRn5sFGs\\nJNap5EyB6flhvH9INihnQAtqTTCkBLhT3oMY+ud7cm7QhwF2g6/WUbCK8AkOH0Ge\\nipRpXVUa4KmbvbcGBRwatLiwj/fr/MqzsCQj0dBocvAm7X4XraHE/kt0JQKBgQDj\\nFAuKURNiWVnodkFVCAx+hPYq6fLCThOxoXFg1LgoOdcjlaUCGMHC622U0uzKLvo1\\nkaDo7iFbbx0vCYJoBxJTblt5zY6ftfgHjsVA1s4PQkL8I1pYCtpjZSa39vpsvX0o\\nFhsnDq2qvLvw1TLCGpwb2OVCT9vypcwrPW9vPFua9QKBgQC4uBLqT3fDMFNOO8OJ\\nJdLkjflLYX4mqFNZsbguYC2OOVfn44UIbOEaCVRLShisLa6aUP6zhE8db6pooQzM\\nlFcsmL58SlFVzxJPwgiTX5jhZBdp5qG5Z8z+fcHf3Z4SyjYfKWdv0JHRqVVOED42\\nxSZKmve/3g5tOPkJcmSiKPuBnQ==\\n-----END PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAW\\nMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAy\\nMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEF\\nAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt5\\n5NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjzts\\ntdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07\\nAuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7z\\nh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE\\n34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8B\\nAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH\\nAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtg\\nUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVy\\nqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zq\\nkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPC\\nZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1\\nfc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZ\\nN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUr\\nPl+QpqbK\\n-----END CERTIFICATE-----\\n\",\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:24 GMT", + "content-length" : "2512", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "15a2fee6-21c8-414f-b471-2c3f7b85f6ec", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem\",\"deletedDate\":1547151204,\"scheduledPurgeDate\":1554927204,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"x5t\":\"KwqH7O7tYlsUnsGa6BU3EMldVP4\",\"cer\":\"MIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAyMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt55NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjztstdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07AuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7zh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtgUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVyqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zqkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPCZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1fc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUrPl+QpqbK\",\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=TestJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547151182,\"updated\":1547151182}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:24 GMT", + "content-length" : "93", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8372f031-7bd1-45f5-b67e-be1fd0028e52", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createTestJavaPem\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:24 GMT", + "content-length" : "101", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "52aad881-3473-4ed5-acb6-91501a10b213", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPem\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:34 GMT", + "content-length" : "101", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "439348b0-a024-4702-a33d-e6b9d6ff62af", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPem\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:45 GMT", + "content-length" : "101", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "54ef7939-80e4-483b-8dd5-f3d3d8ed23af", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPem\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:55 GMT", + "content-length" : "2512", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "dc04d9f6-f54a-4c35-a627-f34cd1bc2770", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem\",\"deletedDate\":1547151204,\"scheduledPurgeDate\":1554927204,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPem/044d2b2dd5794ca6814e3a961d3476b4\",\"x5t\":\"KwqH7O7tYlsUnsGa6BU3EMldVP4\",\"cer\":\"MIIDMjCCAhqgAwIBAgIQQ6OyZVbIR8+JjWOdxLCKiTANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDEwtUZXN0SmF2YVBlbTAeFw0xOTAxMTAyMDAzMTZaFw0yMDAxMTAyMDEzMTZaMBYxFDASBgNVBAMTC1Rlc3RKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7CMcC3mQNICJzsfelJovgR/Ep9csbqzfKSdnEod84Pt55NbxapkxUTWXNgcqEI2i2Bq2xcxGzMqTi0TNNiFMa9ulKV3og5TGfFCy/ORHjztstdudHn7Y8JJ6ZNIVlCGrnPuF72St52qbIKHU4Rn4xkIAX1hsiQxrLIkn7n8rfE07AuBMa/sFHYvL7OorMMqAoxXHbmncP5ZTJQhoGtv9EpONVAEwNQAwzUtssO6/0c7zh1XQQ2lHY951NH3XGBj6MoSaZ8sQsb9PAmYDO4cmUJ2K5G7wEsOpEn88gJple0UE34SlO5nb4Sc0iHFb9GZIkWhcC1F90wt/f4rEIzudmQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUPXamA7HaVsHjmHpXJ9eDtncawXYwHQYDVR0OBBYEFJtgUwngtmVnwkUyeQKKa2Ouy66UMA0GCSqGSIb3DQEBCwUAA4IBAQAUJdz0lXXpsgVyqyPmbwXDmTYtAU2rvAn5Vm0OwTHybmBQcXrzhjZ4neWPtGxyWuW8VVmr+3w2p/zqkbyewSy3wH6ehHuhEduywCVQXCZNu+ToclvJc/c91jWLTTB1YumxIb1BuSYtqqPCZtoWDCgXS0kefpUCGChZrIPNCUtOLJ82qJJ9prBgMmSS3z3h456Xvs/wPU+JAWW1fc/w/SdnSyMM35DdffRbzW5XUp6EBET3jSiEEXTwOuaprgUEaFnqnCFmD67p4nuZN9LxFFhR0+ADlh/xYBLtcUVRtm1AqaFuP8PC1IErkYJOw0WLFt7zadqoRVVuUbUrPl+QpqbK\",\"attributes\":{\"enabled\":true,\"nbf\":1547150596,\"exp\":1578687196,\"created\":1547151196,\"updated\":1547151196,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=TestJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPemIssuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547151182,\"updated\":1547151182}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPem/pending\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:13:55 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8a0a89bc-f18e-4f45-bc05-005897a27762", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePkcs12ForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePkcs12ForCertificateOperationsTest.json index 3616e18c40694..5fb34f2769560 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePkcs12ForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCertificatePkcs12ForCertificateOperationsTest.json @@ -1,381 +1,381 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:46 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "08118aa0-238d-4fca-b5b4-5914cb090ada", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:47 GMT", - "content-length" : "370", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "94be14fa-6ea3-4cd6-804b-4e1529ed272c", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1543865432,\"updated\":1547150927}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:48 GMT", - "content-length" : "1337", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0&request_id=5ca8d38ec39643daa53cd28e4aef47ba", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7755f673-ba15-4231-adef-e2ed69849c8f", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:48 GMT", - "content-length" : "1337", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3c3cf95d-46a7-4b10-852f-06eafbda7ed0", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:58 GMT", - "content-length" : "1337", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7a73521d-4b19-4ac6-bda8-d2237e08fdf1", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:09 GMT", - "content-length" : "1258", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4e304b26-4361-4971-b819-12e809b06d4b", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:10 GMT", - "content-length" : "2388", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a93b2d44-868c-4d4c-8127-5d555fb2fde3", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"x5t\":\"jy7qTeH6QkZodemwSm4x7jcxGlM\",\"cer\":\"MIIDODCCAiCgAwIBAgIQIZHpAwYaQIyJrgnhNwmXnDANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5UZXN0SmF2YVBrY3MxMjAeFw0xOTAxMTAxOTU4NTlaFw0yMDAxMTAyMDA4NTlaMBkxFzAVBgNVBAMTDlRlc3RKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvr5+YPdfGCwWjuY6CtNausZMkxCuDH9pJkw05B8tKX6VZaHyjntocJAJqHC9Jgy254BLHvzfMus2aqfFQGTfGY/+5uIzavlVOMAF8tg/7+/aQFE9qFrDhMNf/gq1BAAB8XAs5crwZZfLqoBoKaIKEBJdykMIzzT+EJH9SRYGzr54eXZ1kyamubXitMTbKPsv8dhErpr8B6mYnzNpnYauTIQUNa9IjuE1/FoqWT+2OjIerRKrqwXb65oAhaAkOUf6hAAP3Cn9oLf50hyyX7G4n6OCJ0gDkqA9Gf4Xr3xA5n2oBhWEooTdltLfJLKLhOxxqsPGsXOgL8sts1ZF9yiwnwIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUnkS04NcwmIjij65blCf7inDShe4wHQYDVR0OBBYEFH2r+vI735PwPoz5CT+HxSiHDjDmMA0GCSqGSIb3DQEBCwUAA4IBAQCjtZ2/MPzBmxrMB5+HLUJbtXKQXZq/HLafx/5pY8RhoGAicu78/CMGwz8GB7iYvkC4OCv5rMBTHHHYfsd7+OjF1EGiqplaRcezHa/PlNT75HU2b3aFkNY/DGRF5VXctfOrrj/Ewn+/iP4ryNLl8ItB69PoBq4vJmjZpAivA6us9HvcMbjKkPMuZVom4sIJfVAilp3iv8tZxPshn3Ndaijs3bjA/OeeGI9JZNbUn1UZy5+/oKMYWiVZe5j51x0c5mV1Pk4nnO4I1NVagJH9XZOdBRDdtZAu1deCGRBqoqUXbBJRmXziDbLwbn53VJyQed9mOM/psPSOfq7T3grGS6pM\",\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=TestJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547150928,\"updated\":1547150928}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:10 GMT", - "content-length" : "3940", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "35d6f6f4-b356-4dd8-a81d-7c71d49d6a61", - "Body" : "{\"value\":\"MIIKRAIBAzCCCgQGCSqGSIb3DQEHAaCCCfUEggnxMIIJ7TCCBhYGCSqGSIb3DQEHAaCCBgcEggYDMIIF/zCCBfsGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjYP4PHps+sHwICB9AEggTY12vzYXf2pPIha3vWZRyZimBSFj2ASETSVyS2xOHj3uqXMqfQYhZm1xC2FgCzuoJ9IoChRxbWYnFjdAnh66e3aR18DPz8RpnJEymdfWK6webUdHyWpSKVw6xEJV+UhSnS+6LGNfEoq2n+EzpMxpleHO+hAfQUczjx5SsRX02sjo7BwzsxktWhBTkG256lf+xJW7v6DEIa2a2boA8ppPSSJi96EivfMaBqXjL/bQFc4GyJFPfoFZ6aFGlbSoLYTXvllULF874bYFDn1pv3fgvWJXjftDZrWi4WCXlkWsnzLb7yO2x1PEVMBg3j0CGRmfgnIFbFz+0dZcF4DD4TWNZgdsz6DCl/2k5EeCuVgwiTqL598WdS80jKL6Oze+sGse/m0OEITHliMKjLIJ2viUwZ96f68Iv+IXhrn8SM2mW6SSOBbw6F6ECWdRQdTci964ZoGNoN42cmMTS8NtjwkXZmdiWr2VtSWPWvpQA3vKdOtu078xgv3OkJkWrcdGrHEFGSSsDjQbMnC5ylr4YHU6zYadr3sSR8BC8tvkulNmPkdN3pJy6YMfREezEftITNAWRnRV4Kaamzxn+qRb5qTqY2V/1rbyVUw1fn9u2nHLzE2f8pPiMe6VOU+iq7gYl+dhbQJUoK6594VJSb34jj3rxQmYSFiL6w9Qh2em2UlYDLApHR6UolEkTlh2kqVV4wXll4aLlQFwMXtVWzcxtU8wuaVFaxuV6L0O+03rFvZ1nLw3jH5zUjXGjbxmQfJ/97vLxs5Uo5fNZGHyasl2doVEzhV3T+45Q++91fGmd9f3nNzGO1MMi/Pi+nJByRpqUubo0xFJu0E9m5ytMf6sIBFQHsCngA3nQmB9gPAos2+WxfWVSt2iwRR0X9tNb+5Vt/5QMK8KgkRmH5/3sHgHFgoCLEzehlHvIUBJrF9ugh3ymS/uxllTpU/VV2iu2fNFdi5qArbQ2Shcrdg7awvIA8sh3fOGHkVN/rTDYp4XcFQOYG2kbjj8qBz8oSb2xypGpF593nizF045E6wzreuFf7JvtP8I10viemZmKa2qrx39Z+FKbVFUeNgPTBYJvow0EMiUWMs4r1ie3AOug3sLoQrQY7BoqsfSiR9v7jdNoUr60C4MAFfkaNYpbsbYpIiJ0UBjYRU35PHaOXnFJcHqAKFbNYXT4x8gizkGSd1Q+MsN9nsXtihLKY26ZMrGr4J3371JUjQhvElDfNWBkSlqGFVzd3B4H0m+U7HOVRtKC85WcgiokFDfF7B1FZxYBSC5hD9Udcn4x0FtPvpKylkliIw0z0QkA2lgKZfTYzky5GNb8uM4KjTulvxDvdIc7n1EceZLunl1GMwVPUs/LrCGjZoCukNjkKzWtf80EmQqSgwVQNZ+CD6222fkLrehgcjEDNz2MoQtLbkT4n2enVHIGozBvAiKcCOhBmz6/kT53IHBJFoQaLGFIV3i2c532INOYOAtafptq10RmsmRy9O8Qb5iK3KZOSSQLdQOFkzYhCYeulgwAv4FUmqA4HxrfFb46VZHAGBNweBJFYZFB8pSpg6S9jduGhyaOwAbtPp0v1xD0m9BUUJZc8DtUX/bN27JeJDQH0naYiw4Bryr3r5IW1W9xu0/YfeRov4XW7R5hV4RlKV6zbr2h4tjX83DGB6TATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGIAZgBmADAAYwBkADkAMgAtADEAZgA5ADIALQA0AGMAOAAzAC0AOQAyADEANAAtADcANwBjADEAZQBhADcAYgBkAGEAMgA5MHkGCSsGAQQBgjcRATFsHmoATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABSAFMAQQAgAGEAbgBkACAAQQBFAFMAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIDzwYJKoZIhvcNAQcGoIIDwDCCA7wCAQAwggO1BgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAhQgRaFxPJwOwICB9CAggOID5okZORTvXm3k268bkmroUYToW4RyxzthCdApImgzDalT0BLTbvJDZfTotP3bQMHPmlCmoPqayXe6ElnUNLrZW9Q3mAckqR6LVYPYUwMgsZ1JzgOpP4EDyBqRLqtWDe/5t4Qxczh5qvdsxE43k2eYuXbbK5ROhScHTqE0HGordcVR3QRuD8GtKgP6TQhUfjYrgpU4djyd6SA0SaTDDkfwRUke0v/pL8HujYZNWRcX+pRhZ5g0kmAlxcXKLp7bW2Py2uF/GOEfVvNQVx3bZ9kNvkCE/GEIeedH87QhIFy68GURd+aFwCGJn3JC1gWkqqM9YeMT4dMqWI42Sc7WTpEKhIrkIxnDhp20rrHM1FG1kyx3C4297dDj7O3xWujXEAwMnmVVmVWmP250FOIfFPfVV5N6yCiryU3OtrNbIshfrutBfTue2Jw+qy4tdCr7YaJFw+4477NfjXL/7148i0QUJg4UdgVoTnIN3icW5YAjFXuF9jbixI0Wkx1czRRe0l8LZSUwQK8rPk03cxR3K4I1WZa2egoXNb/6VHm/Tj5ipI/a747JNP+m6D0b6TJw9bwKPCixTiUpruiVrWxhghRHYo+9N8ND+6nTU7nXDVVekaM2OR+v8nkoEk6YHUVIxu0vkMJjr5Kb9EAxtYdRt/2dIftHEaBl+VrQ2Xn+iBzExXNJUQ7FOQqp5KJWRf6tMfsE7G47iQq2mw3Xwm4oqT56bIUiLmQJwlXCZUxcEDPGEKA8mjjChPT83R0DbvgVFU+RZgxjDzRtwiN+rsO4A1xvWQot4uAPL4XqxT/GOTQYwhNtHEwBlxZXfK8uewhrYjYFU7IH+mXXSUVbWvbST4YCNNPK2P1mBV1zRMidDlEHd1IDYkAlwD0zizEqNi4X1qSexcDc4g0AlV2ayhe5rofzhQRKMo5zWtnPY3UFIdog/yhVzZKSt5fa122+Noro3WJjqAzk1wpUXpn/lyquvZP6Gpriy6gZhWfRZJKw4npF2wR+ie2HckOFqEpHsM5ozJQGOJQYF4Cs+w6kwYMUVwqPuD4ie6Nj7vIZoTMbXcJjqAv5v16PjhBCKQgG2gw5LUXnoKF6Ma8umg1Lpz1ZF1jDeRudPgUu4m2UzhlQeh8AJOVCzp6gtn1XB7rvjBV5xj53VeTXwUolcMEmLe1vVIwXY4e3V1L3+BCQyr8LWnbiop+eh1L2TLkYjA3MB8wBwYFKw4DAhoEFCUUEV73Uhaz3vquqe7hDCQNZupKBBTPX/YfMqwO0kYvXzCZGpM6iDkplQ==\",\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:11 GMT", - "content-length" : "2542", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bebcde72-1b49-4ee1-9ca1-2ee5b76ffb6c", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12\",\"deletedDate\":1547150951,\"scheduledPurgeDate\":1554926951,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"x5t\":\"jy7qTeH6QkZodemwSm4x7jcxGlM\",\"cer\":\"MIIDODCCAiCgAwIBAgIQIZHpAwYaQIyJrgnhNwmXnDANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5UZXN0SmF2YVBrY3MxMjAeFw0xOTAxMTAxOTU4NTlaFw0yMDAxMTAyMDA4NTlaMBkxFzAVBgNVBAMTDlRlc3RKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvr5+YPdfGCwWjuY6CtNausZMkxCuDH9pJkw05B8tKX6VZaHyjntocJAJqHC9Jgy254BLHvzfMus2aqfFQGTfGY/+5uIzavlVOMAF8tg/7+/aQFE9qFrDhMNf/gq1BAAB8XAs5crwZZfLqoBoKaIKEBJdykMIzzT+EJH9SRYGzr54eXZ1kyamubXitMTbKPsv8dhErpr8B6mYnzNpnYauTIQUNa9IjuE1/FoqWT+2OjIerRKrqwXb65oAhaAkOUf6hAAP3Cn9oLf50hyyX7G4n6OCJ0gDkqA9Gf4Xr3xA5n2oBhWEooTdltLfJLKLhOxxqsPGsXOgL8sts1ZF9yiwnwIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUnkS04NcwmIjij65blCf7inDShe4wHQYDVR0OBBYEFH2r+vI735PwPoz5CT+HxSiHDjDmMA0GCSqGSIb3DQEBCwUAA4IBAQCjtZ2/MPzBmxrMB5+HLUJbtXKQXZq/HLafx/5pY8RhoGAicu78/CMGwz8GB7iYvkC4OCv5rMBTHHHYfsd7+OjF1EGiqplaRcezHa/PlNT75HU2b3aFkNY/DGRF5VXctfOrrj/Ewn+/iP4ryNLl8ItB69PoBq4vJmjZpAivA6us9HvcMbjKkPMuZVom4sIJfVAilp3iv8tZxPshn3Ndaijs3bjA/OeeGI9JZNbUn1UZy5+/oKMYWiVZe5j51x0c5mV1Pk4nnO4I1NVagJH9XZOdBRDdtZAu1deCGRBqoqUXbBJRmXziDbLwbn53VJyQed9mOM/psPSOfq7T3grGS6pM\",\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=TestJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547150928,\"updated\":1547150928}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:11 GMT", - "content-length" : "96", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9c652e2b-a769-47d6-bb9c-f5391a429e2d", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createTestJavaPkcs12\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:11 GMT", - "content-length" : "104", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "dd3cd431-00f7-4934-8cca-b3fc3ed127ba", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPkcs12\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:21 GMT", - "content-length" : "104", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "64911e03-3b1a-4f19-aa05-14aee10a2dca", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPkcs12\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:32 GMT", - "content-length" : "2542", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7632c95c-0a4c-482f-aee2-f2374f0c498d", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12\",\"deletedDate\":1547150951,\"scheduledPurgeDate\":1554926951,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"x5t\":\"jy7qTeH6QkZodemwSm4x7jcxGlM\",\"cer\":\"MIIDODCCAiCgAwIBAgIQIZHpAwYaQIyJrgnhNwmXnDANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5UZXN0SmF2YVBrY3MxMjAeFw0xOTAxMTAxOTU4NTlaFw0yMDAxMTAyMDA4NTlaMBkxFzAVBgNVBAMTDlRlc3RKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvr5+YPdfGCwWjuY6CtNausZMkxCuDH9pJkw05B8tKX6VZaHyjntocJAJqHC9Jgy254BLHvzfMus2aqfFQGTfGY/+5uIzavlVOMAF8tg/7+/aQFE9qFrDhMNf/gq1BAAB8XAs5crwZZfLqoBoKaIKEBJdykMIzzT+EJH9SRYGzr54eXZ1kyamubXitMTbKPsv8dhErpr8B6mYnzNpnYauTIQUNa9IjuE1/FoqWT+2OjIerRKrqwXb65oAhaAkOUf6hAAP3Cn9oLf50hyyX7G4n6OCJ0gDkqA9Gf4Xr3xA5n2oBhWEooTdltLfJLKLhOxxqsPGsXOgL8sts1ZF9yiwnwIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUnkS04NcwmIjij65blCf7inDShe4wHQYDVR0OBBYEFH2r+vI735PwPoz5CT+HxSiHDjDmMA0GCSqGSIb3DQEBCwUAA4IBAQCjtZ2/MPzBmxrMB5+HLUJbtXKQXZq/HLafx/5pY8RhoGAicu78/CMGwz8GB7iYvkC4OCv5rMBTHHHYfsd7+OjF1EGiqplaRcezHa/PlNT75HU2b3aFkNY/DGRF5VXctfOrrj/Ewn+/iP4ryNLl8ItB69PoBq4vJmjZpAivA6us9HvcMbjKkPMuZVom4sIJfVAilp3iv8tZxPshn3Ndaijs3bjA/OeeGI9JZNbUn1UZy5+/oKMYWiVZe5j51x0c5mV1Pk4nnO4I1NVagJH9XZOdBRDdtZAu1deCGRBqoqUXbBJRmXziDbLwbn53VJyQed9mOM/psPSOfq7T3grGS6pM\",\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=TestJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547150928,\"updated\":1547150928}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:32 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1547c2ee-4c6c-48a5-9b01-9ffc5b49524a", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:46 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "08118aa0-238d-4fca-b5b4-5914cb090ada", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:47 GMT", + "content-length" : "370", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "94be14fa-6ea3-4cd6-804b-4e1529ed272c", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1543865432,\"updated\":1547150927}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:48 GMT", + "content-length" : "1337", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0&request_id=5ca8d38ec39643daa53cd28e4aef47ba", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7755f673-ba15-4231-adef-e2ed69849c8f", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:48 GMT", + "content-length" : "1337", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3c3cf95d-46a7-4b10-852f-06eafbda7ed0", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:58 GMT", + "content-length" : "1337", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7a73521d-4b19-4ac6-bda8-d2237e08fdf1", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:09 GMT", + "content-length" : "1258", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4e304b26-4361-4971-b819-12e809b06d4b", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\",\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"csr\":\"MIICqTCCAZECAQAwGTEXMBUGA1UEAxMOVGVzdEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+vn5g918YLBaO5joK01q6xkyTEK4Mf2kmTDTkHy0pfpVlofKOe2hwkAmocL0mDLbngEse/N8y6zZqp8VAZN8Zj/7m4jNq+VU4wAXy2D/v79pAUT2oWsOEw1/+CrUEAAHxcCzlyvBll8uqgGgpogoQEl3KQwjPNP4Qkf1JFgbOvnh5dnWTJqa5teK0xNso+y/x2ESumvwHqZifM2mdhq5MhBQ1r0iO4TX8WipZP7Y6Mh6tEqurBdvrmgCFoCQ5R/qEAA/cKf2gt/nSHLJfsbifo4InSAOSoD0Z/hevfEDmfagGFYSihN2W0t8ksouE7HGqw8axc6Avyy2zVkX3KLCfAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAeiXdrLTtC3tZOQlpmfUF8AMDaQz9ehy8rTUN6qXhxjfkagre6s0DQerqnKWI83/mQPVEPVDevhEnL4SCaEUKKTYUO5h7eISnribKrw2hQ4R5fjHJ7JV6NZbWEf+ie0g2SxbSmlMWccM3SUdHqaCwdcO+80bnT7GMNr5heBtQ/4zfBb7ITL5lQBqJYjWFFdKqmz0lKWB1Z/sW7sdpsiczzar7PmScT5wccKZfUY1MF4lQNdNxcdUXVus3Xjoq7bb4ylRE+ZgysQJe1HN7ah9TG9To262QBsBT/88gOkqdb76/NCAW0LIyETtluLa99YSt3nF1h5VCs907ZVXV93Xfgw==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12\",\"request_id\":\"5ca8d38ec39643daa53cd28e4aef47ba\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:10 GMT", + "content-length" : "2388", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a93b2d44-868c-4d4c-8127-5d555fb2fde3", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"x5t\":\"jy7qTeH6QkZodemwSm4x7jcxGlM\",\"cer\":\"MIIDODCCAiCgAwIBAgIQIZHpAwYaQIyJrgnhNwmXnDANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5UZXN0SmF2YVBrY3MxMjAeFw0xOTAxMTAxOTU4NTlaFw0yMDAxMTAyMDA4NTlaMBkxFzAVBgNVBAMTDlRlc3RKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvr5+YPdfGCwWjuY6CtNausZMkxCuDH9pJkw05B8tKX6VZaHyjntocJAJqHC9Jgy254BLHvzfMus2aqfFQGTfGY/+5uIzavlVOMAF8tg/7+/aQFE9qFrDhMNf/gq1BAAB8XAs5crwZZfLqoBoKaIKEBJdykMIzzT+EJH9SRYGzr54eXZ1kyamubXitMTbKPsv8dhErpr8B6mYnzNpnYauTIQUNa9IjuE1/FoqWT+2OjIerRKrqwXb65oAhaAkOUf6hAAP3Cn9oLf50hyyX7G4n6OCJ0gDkqA9Gf4Xr3xA5n2oBhWEooTdltLfJLKLhOxxqsPGsXOgL8sts1ZF9yiwnwIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUnkS04NcwmIjij65blCf7inDShe4wHQYDVR0OBBYEFH2r+vI735PwPoz5CT+HxSiHDjDmMA0GCSqGSIb3DQEBCwUAA4IBAQCjtZ2/MPzBmxrMB5+HLUJbtXKQXZq/HLafx/5pY8RhoGAicu78/CMGwz8GB7iYvkC4OCv5rMBTHHHYfsd7+OjF1EGiqplaRcezHa/PlNT75HU2b3aFkNY/DGRF5VXctfOrrj/Ewn+/iP4ryNLl8ItB69PoBq4vJmjZpAivA6us9HvcMbjKkPMuZVom4sIJfVAilp3iv8tZxPshn3Ndaijs3bjA/OeeGI9JZNbUn1UZy5+/oKMYWiVZe5j51x0c5mV1Pk4nnO4I1NVagJH9XZOdBRDdtZAu1deCGRBqoqUXbBJRmXziDbLwbn53VJyQed9mOM/psPSOfq7T3grGS6pM\",\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=TestJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547150928,\"updated\":1547150928}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:10 GMT", + "content-length" : "3940", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "35d6f6f4-b356-4dd8-a81d-7c71d49d6a61", + "Body" : "{\"value\":\"MIIKRAIBAzCCCgQGCSqGSIb3DQEHAaCCCfUEggnxMIIJ7TCCBhYGCSqGSIb3DQEHAaCCBgcEggYDMIIF/zCCBfsGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjYP4PHps+sHwICB9AEggTY12vzYXf2pPIha3vWZRyZimBSFj2ASETSVyS2xOHj3uqXMqfQYhZm1xC2FgCzuoJ9IoChRxbWYnFjdAnh66e3aR18DPz8RpnJEymdfWK6webUdHyWpSKVw6xEJV+UhSnS+6LGNfEoq2n+EzpMxpleHO+hAfQUczjx5SsRX02sjo7BwzsxktWhBTkG256lf+xJW7v6DEIa2a2boA8ppPSSJi96EivfMaBqXjL/bQFc4GyJFPfoFZ6aFGlbSoLYTXvllULF874bYFDn1pv3fgvWJXjftDZrWi4WCXlkWsnzLb7yO2x1PEVMBg3j0CGRmfgnIFbFz+0dZcF4DD4TWNZgdsz6DCl/2k5EeCuVgwiTqL598WdS80jKL6Oze+sGse/m0OEITHliMKjLIJ2viUwZ96f68Iv+IXhrn8SM2mW6SSOBbw6F6ECWdRQdTci964ZoGNoN42cmMTS8NtjwkXZmdiWr2VtSWPWvpQA3vKdOtu078xgv3OkJkWrcdGrHEFGSSsDjQbMnC5ylr4YHU6zYadr3sSR8BC8tvkulNmPkdN3pJy6YMfREezEftITNAWRnRV4Kaamzxn+qRb5qTqY2V/1rbyVUw1fn9u2nHLzE2f8pPiMe6VOU+iq7gYl+dhbQJUoK6594VJSb34jj3rxQmYSFiL6w9Qh2em2UlYDLApHR6UolEkTlh2kqVV4wXll4aLlQFwMXtVWzcxtU8wuaVFaxuV6L0O+03rFvZ1nLw3jH5zUjXGjbxmQfJ/97vLxs5Uo5fNZGHyasl2doVEzhV3T+45Q++91fGmd9f3nNzGO1MMi/Pi+nJByRpqUubo0xFJu0E9m5ytMf6sIBFQHsCngA3nQmB9gPAos2+WxfWVSt2iwRR0X9tNb+5Vt/5QMK8KgkRmH5/3sHgHFgoCLEzehlHvIUBJrF9ugh3ymS/uxllTpU/VV2iu2fNFdi5qArbQ2Shcrdg7awvIA8sh3fOGHkVN/rTDYp4XcFQOYG2kbjj8qBz8oSb2xypGpF593nizF045E6wzreuFf7JvtP8I10viemZmKa2qrx39Z+FKbVFUeNgPTBYJvow0EMiUWMs4r1ie3AOug3sLoQrQY7BoqsfSiR9v7jdNoUr60C4MAFfkaNYpbsbYpIiJ0UBjYRU35PHaOXnFJcHqAKFbNYXT4x8gizkGSd1Q+MsN9nsXtihLKY26ZMrGr4J3371JUjQhvElDfNWBkSlqGFVzd3B4H0m+U7HOVRtKC85WcgiokFDfF7B1FZxYBSC5hD9Udcn4x0FtPvpKylkliIw0z0QkA2lgKZfTYzky5GNb8uM4KjTulvxDvdIc7n1EceZLunl1GMwVPUs/LrCGjZoCukNjkKzWtf80EmQqSgwVQNZ+CD6222fkLrehgcjEDNz2MoQtLbkT4n2enVHIGozBvAiKcCOhBmz6/kT53IHBJFoQaLGFIV3i2c532INOYOAtafptq10RmsmRy9O8Qb5iK3KZOSSQLdQOFkzYhCYeulgwAv4FUmqA4HxrfFb46VZHAGBNweBJFYZFB8pSpg6S9jduGhyaOwAbtPp0v1xD0m9BUUJZc8DtUX/bN27JeJDQH0naYiw4Bryr3r5IW1W9xu0/YfeRov4XW7R5hV4RlKV6zbr2h4tjX83DGB6TATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGIAZgBmADAAYwBkADkAMgAtADEAZgA5ADIALQA0AGMAOAAzAC0AOQAyADEANAAtADcANwBjADEAZQBhADcAYgBkAGEAMgA5MHkGCSsGAQQBgjcRATFsHmoATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABSAFMAQQAgAGEAbgBkACAAQQBFAFMAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIIDzwYJKoZIhvcNAQcGoIIDwDCCA7wCAQAwggO1BgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAhQgRaFxPJwOwICB9CAggOID5okZORTvXm3k268bkmroUYToW4RyxzthCdApImgzDalT0BLTbvJDZfTotP3bQMHPmlCmoPqayXe6ElnUNLrZW9Q3mAckqR6LVYPYUwMgsZ1JzgOpP4EDyBqRLqtWDe/5t4Qxczh5qvdsxE43k2eYuXbbK5ROhScHTqE0HGordcVR3QRuD8GtKgP6TQhUfjYrgpU4djyd6SA0SaTDDkfwRUke0v/pL8HujYZNWRcX+pRhZ5g0kmAlxcXKLp7bW2Py2uF/GOEfVvNQVx3bZ9kNvkCE/GEIeedH87QhIFy68GURd+aFwCGJn3JC1gWkqqM9YeMT4dMqWI42Sc7WTpEKhIrkIxnDhp20rrHM1FG1kyx3C4297dDj7O3xWujXEAwMnmVVmVWmP250FOIfFPfVV5N6yCiryU3OtrNbIshfrutBfTue2Jw+qy4tdCr7YaJFw+4477NfjXL/7148i0QUJg4UdgVoTnIN3icW5YAjFXuF9jbixI0Wkx1czRRe0l8LZSUwQK8rPk03cxR3K4I1WZa2egoXNb/6VHm/Tj5ipI/a747JNP+m6D0b6TJw9bwKPCixTiUpruiVrWxhghRHYo+9N8ND+6nTU7nXDVVekaM2OR+v8nkoEk6YHUVIxu0vkMJjr5Kb9EAxtYdRt/2dIftHEaBl+VrQ2Xn+iBzExXNJUQ7FOQqp5KJWRf6tMfsE7G47iQq2mw3Xwm4oqT56bIUiLmQJwlXCZUxcEDPGEKA8mjjChPT83R0DbvgVFU+RZgxjDzRtwiN+rsO4A1xvWQot4uAPL4XqxT/GOTQYwhNtHEwBlxZXfK8uewhrYjYFU7IH+mXXSUVbWvbST4YCNNPK2P1mBV1zRMidDlEHd1IDYkAlwD0zizEqNi4X1qSexcDc4g0AlV2ayhe5rofzhQRKMo5zWtnPY3UFIdog/yhVzZKSt5fa122+Noro3WJjqAzk1wpUXpn/lyquvZP6Gpriy6gZhWfRZJKw4npF2wR+ie2HckOFqEpHsM5ozJQGOJQYF4Cs+w6kwYMUVwqPuD4ie6Nj7vIZoTMbXcJjqAv5v16PjhBCKQgG2gw5LUXnoKF6Ma8umg1Lpz1ZF1jDeRudPgUu4m2UzhlQeh8AJOVCzp6gtn1XB7rvjBV5xj53VeTXwUolcMEmLe1vVIwXY4e3V1L3+BCQyr8LWnbiop+eh1L2TLkYjA3MB8wBwYFKw4DAhoEFCUUEV73Uhaz3vquqe7hDCQNZupKBBTPX/YfMqwO0kYvXzCZGpM6iDkplQ==\",\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:11 GMT", + "content-length" : "2542", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bebcde72-1b49-4ee1-9ca1-2ee5b76ffb6c", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12\",\"deletedDate\":1547150951,\"scheduledPurgeDate\":1554926951,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"x5t\":\"jy7qTeH6QkZodemwSm4x7jcxGlM\",\"cer\":\"MIIDODCCAiCgAwIBAgIQIZHpAwYaQIyJrgnhNwmXnDANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5UZXN0SmF2YVBrY3MxMjAeFw0xOTAxMTAxOTU4NTlaFw0yMDAxMTAyMDA4NTlaMBkxFzAVBgNVBAMTDlRlc3RKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvr5+YPdfGCwWjuY6CtNausZMkxCuDH9pJkw05B8tKX6VZaHyjntocJAJqHC9Jgy254BLHvzfMus2aqfFQGTfGY/+5uIzavlVOMAF8tg/7+/aQFE9qFrDhMNf/gq1BAAB8XAs5crwZZfLqoBoKaIKEBJdykMIzzT+EJH9SRYGzr54eXZ1kyamubXitMTbKPsv8dhErpr8B6mYnzNpnYauTIQUNa9IjuE1/FoqWT+2OjIerRKrqwXb65oAhaAkOUf6hAAP3Cn9oLf50hyyX7G4n6OCJ0gDkqA9Gf4Xr3xA5n2oBhWEooTdltLfJLKLhOxxqsPGsXOgL8sts1ZF9yiwnwIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUnkS04NcwmIjij65blCf7inDShe4wHQYDVR0OBBYEFH2r+vI735PwPoz5CT+HxSiHDjDmMA0GCSqGSIb3DQEBCwUAA4IBAQCjtZ2/MPzBmxrMB5+HLUJbtXKQXZq/HLafx/5pY8RhoGAicu78/CMGwz8GB7iYvkC4OCv5rMBTHHHYfsd7+OjF1EGiqplaRcezHa/PlNT75HU2b3aFkNY/DGRF5VXctfOrrj/Ewn+/iP4ryNLl8ItB69PoBq4vJmjZpAivA6us9HvcMbjKkPMuZVom4sIJfVAilp3iv8tZxPshn3Ndaijs3bjA/OeeGI9JZNbUn1UZy5+/oKMYWiVZe5j51x0c5mV1Pk4nnO4I1NVagJH9XZOdBRDdtZAu1deCGRBqoqUXbBJRmXziDbLwbn53VJyQed9mOM/psPSOfq7T3grGS6pM\",\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=TestJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547150928,\"updated\":1547150928}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:11 GMT", + "content-length" : "96", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9c652e2b-a769-47d6-bb9c-f5391a429e2d", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createTestJavaPkcs12\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:11 GMT", + "content-length" : "104", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "dd3cd431-00f7-4934-8cca-b3fc3ed127ba", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPkcs12\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:21 GMT", + "content-length" : "104", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "64911e03-3b1a-4f19-aa05-14aee10a2dca", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createTestJavaPkcs12\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:32 GMT", + "content-length" : "2542", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7632c95c-0a4c-482f-aee2-f2374f0c498d", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12\",\"deletedDate\":1547150951,\"scheduledPurgeDate\":1554926951,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createTestJavaPkcs12/4a24ad9b27074b278b1fe0e46a5809cb\",\"x5t\":\"jy7qTeH6QkZodemwSm4x7jcxGlM\",\"cer\":\"MIIDODCCAiCgAwIBAgIQIZHpAwYaQIyJrgnhNwmXnDANBgkqhkiG9w0BAQsFADAZMRcwFQYDVQQDEw5UZXN0SmF2YVBrY3MxMjAeFw0xOTAxMTAxOTU4NTlaFw0yMDAxMTAyMDA4NTlaMBkxFzAVBgNVBAMTDlRlc3RKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvr5+YPdfGCwWjuY6CtNausZMkxCuDH9pJkw05B8tKX6VZaHyjntocJAJqHC9Jgy254BLHvzfMus2aqfFQGTfGY/+5uIzavlVOMAF8tg/7+/aQFE9qFrDhMNf/gq1BAAB8XAs5crwZZfLqoBoKaIKEBJdykMIzzT+EJH9SRYGzr54eXZ1kyamubXitMTbKPsv8dhErpr8B6mYnzNpnYauTIQUNa9IjuE1/FoqWT+2OjIerRKrqwXb65oAhaAkOUf6hAAP3Cn9oLf50hyyX7G4n6OCJ0gDkqA9Gf4Xr3xA5n2oBhWEooTdltLfJLKLhOxxqsPGsXOgL8sts1ZF9yiwnwIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUnkS04NcwmIjij65blCf7inDShe4wHQYDVR0OBBYEFH2r+vI735PwPoz5CT+HxSiHDjDmMA0GCSqGSIb3DQEBCwUAA4IBAQCjtZ2/MPzBmxrMB5+HLUJbtXKQXZq/HLafx/5pY8RhoGAicu78/CMGwz8GB7iYvkC4OCv5rMBTHHHYfsd7+OjF1EGiqplaRcezHa/PlNT75HU2b3aFkNY/DGRF5VXctfOrrj/Ewn+/iP4ryNLl8ItB69PoBq4vJmjZpAivA6us9HvcMbjKkPMuZVom4sIJfVAilp3iv8tZxPshn3Ndaijs3bjA/OeeGI9JZNbUn1UZy5+/oKMYWiVZe5j51x0c5mV1Pk4nnO4I1NVagJH9XZOdBRDdtZAu1deCGRBqoqUXbBJRmXziDbLwbn53VJyQed9mOM/psPSOfq7T3grGS6pM\",\"attributes\":{\"enabled\":true,\"nbf\":1547150339,\"exp\":1578686939,\"created\":1547150939,\"updated\":1547150939,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=TestJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"createCertificateJavaPkcs12Issuer01\"},\"attributes\":{\"enabled\":true,\"created\":1547150928,\"updated\":1547150928}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createTestJavaPkcs12/pending\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createTestJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:32 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1547c2ee-4c6c-48a5-9b01-9ffc5b49524a", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCsrForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCsrForCertificateOperationsTest.json index 29e04bcbf3bd3..c978d17024c4e 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCsrForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createCsrForCertificateOperationsTest.json @@ -1,246 +1,246 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:16 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f97014ef-cf98-4ff0-82a9-4058ca13791a", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:17 GMT", - "content-length" : "1253", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending?api-version=7.0&request_id=7f955bb1fea74b079400e97f9cca3d2b", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "890e443a-5e9e-407c-8116-7f14e5ac3068", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending\",\"issuer\":{\"name\":\"Unknown\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUTWFudWFsRW5yb2xsbWVudEphdmEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIEvlHEOSp8ckpMZNBM9Q6nsfCUBpoiLFkSM21p2bgW2E3Sf2PVd+dmUUGl8Kai3PXqdA0nUJw0OfLro67rQiV3gEBikYrsk2CW00cP+26dihTJo/qG+9W3/rw/PUR2kFuNFju1LKWO9aKQoa58a8068RbB7Xew1DqG4uaW8TWeReHE+ufQs95Wit+Rcf/P/gyBg/uLA5eXmL4rlpUx6aJB8tc/72wp1MPx+xXBUhibiE3ak6xJKDTCO6LgyBCdTWIh1p9VFf88g43WRiuAifG5KY2MgLQ/d5WGGcz4uxlW7pwn5mvavaaBdhWRs1fIRPnZRxXNPGSGhxl5fz+JxrbAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEArZIyz+QcRiwAApjXYcH9NqNUWISLfNwOgMxMWvIilZVpF1xMh/D8lfuCbf5JG8udmCkr+SrIGKOO646KPnCpISVyPPwFOwOB37KvyF1aRTrYVdDvqw9cw6GRqZ26b3oqH+5jQYga6L+7g+HcBglfJrsJlU4c/HFXaZfE3Hh3g0yCMPVJCPSBglNWBCiPbdR4b1BhYibNhz63dJnwQ3VSCdKdLXVyeTaySfGT2QBvhqC81mzIhw9usv3o+GfMbdykNM0G7R6bF7PUe6mDetsMWLDRDagAd917jaQ6U4s1ZpH7bpiFjOrXbpFTcxG0IP1YhcJKqqOkGGjDUz+j8daulg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Please Perform Merge to complete the request.\",\"request_id\":\"7f955bb1fea74b079400e97f9cca3d2b\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:18 GMT", - "content-length" : "924", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/pkcs10; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a194bc67-5b37-4bf8-bb02-777c5e99fb48", - "Body" : "MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUTWFudWFsRW5yb2xsbWVudEphdmEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIEvlHEOSp8ckpMZNBM9Q6nsfCUBpoiLFkSM21p2bgW2E3Sf2PVd+dmUUGl8Kai3PXqdA0nUJw0OfLro67rQiV3gEBikYrsk2CW00cP+26dihTJo/qG+9W3/rw/PUR2kFuNFju1LKWO9aKQoa58a8068RbB7Xew1DqG4uaW8TWeReHE+ufQs95Wit+Rcf/P/gyBg/uLA5eXmL4rlpUx6aJB8tc/72wp1MPx+xXBUhibiE3ak6xJKDTCO6LgyBCdTWIh1p9VFf88g43WRiuAifG5KY2MgLQ/d5WGGcz4uxlW7pwn5mvavaaBdhWRs1fIRPnZRxXNPGSGhxl5fz+JxrbAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEArZIyz+QcRiwAApjXYcH9NqNUWISLfNwOgMxMWvIilZVpF1xMh/D8lfuCbf5JG8udmCkr+SrIGKOO646KPnCpISVyPPwFOwOB37KvyF1aRTrYVdDvqw9cw6GRqZ26b3oqH+5jQYga6L+7g+HcBglfJrsJlU4c/HFXaZfE3Hh3g0yCMPVJCPSBglNWBCiPbdR4b1BhYibNhz63dJnwQ3VSCdKdLXVyeTaySfGT2QBvhqC81mzIhw9usv3o+GfMbdykNM0G7R6bF7PUe6mDetsMWLDRDagAd917jaQ6U4s1ZpH7bpiFjOrXbpFTcxG0IP1YhcJKqqOkGGjDUz+j8daulg==" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:18 GMT", - "content-length" : "1181", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "05bbecce-b81e-427c-90b6-ae3307650a38", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava\",\"deletedDate\":1547151258,\"scheduledPurgeDate\":1554927258,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/b2ada709438f4e50aa323dd70b7121b0\",\"attributes\":{\"enabled\":false,\"nbf\":1547150657,\"exp\":1578687257,\"created\":1547151257,\"updated\":1547151257,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=ManualEnrollmentJava\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151257,\"updated\":1547151257}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:18 GMT", - "content-length" : "110", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "960e9d78-5a7e-4c97-99c5-44b500fdfe0c", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createManualEnrollmentJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:28 GMT", - "content-length" : "110", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "95d31d5d-f669-4cfa-abc7-23c9ef1fb384", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createManualEnrollmentJava\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:39 GMT", - "content-length" : "1181", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "987d0c49-7154-4bd7-b7c4-f7f81ee1429b", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava\",\"deletedDate\":1547151258,\"scheduledPurgeDate\":1554927258,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/b2ada709438f4e50aa323dd70b7121b0\",\"attributes\":{\"enabled\":false,\"nbf\":1547150657,\"exp\":1578687257,\"created\":1547151257,\"updated\":1547151257,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=ManualEnrollmentJava\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151257,\"updated\":1547151257}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:39 GMT", - "content-length" : "102", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "accfe0fb-6e0d-4d49-ad8d-a55631f0c895", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createManualEnrollmentJava\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:14:40 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6970a445-83b8-40c4-b674-5ba63e20ea25", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:16 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f97014ef-cf98-4ff0-82a9-4058ca13791a", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:17 GMT", + "content-length" : "1253", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending?api-version=7.0&request_id=7f955bb1fea74b079400e97f9cca3d2b", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "890e443a-5e9e-407c-8116-7f14e5ac3068", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending\",\"issuer\":{\"name\":\"Unknown\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUTWFudWFsRW5yb2xsbWVudEphdmEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIEvlHEOSp8ckpMZNBM9Q6nsfCUBpoiLFkSM21p2bgW2E3Sf2PVd+dmUUGl8Kai3PXqdA0nUJw0OfLro67rQiV3gEBikYrsk2CW00cP+26dihTJo/qG+9W3/rw/PUR2kFuNFju1LKWO9aKQoa58a8068RbB7Xew1DqG4uaW8TWeReHE+ufQs95Wit+Rcf/P/gyBg/uLA5eXmL4rlpUx6aJB8tc/72wp1MPx+xXBUhibiE3ak6xJKDTCO6LgyBCdTWIh1p9VFf88g43WRiuAifG5KY2MgLQ/d5WGGcz4uxlW7pwn5mvavaaBdhWRs1fIRPnZRxXNPGSGhxl5fz+JxrbAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEArZIyz+QcRiwAApjXYcH9NqNUWISLfNwOgMxMWvIilZVpF1xMh/D8lfuCbf5JG8udmCkr+SrIGKOO646KPnCpISVyPPwFOwOB37KvyF1aRTrYVdDvqw9cw6GRqZ26b3oqH+5jQYga6L+7g+HcBglfJrsJlU4c/HFXaZfE3Hh3g0yCMPVJCPSBglNWBCiPbdR4b1BhYibNhz63dJnwQ3VSCdKdLXVyeTaySfGT2QBvhqC81mzIhw9usv3o+GfMbdykNM0G7R6bF7PUe6mDetsMWLDRDagAd917jaQ6U4s1ZpH7bpiFjOrXbpFTcxG0IP1YhcJKqqOkGGjDUz+j8daulg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Please Perform Merge to complete the request.\",\"request_id\":\"7f955bb1fea74b079400e97f9cca3d2b\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:18 GMT", + "content-length" : "924", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/pkcs10; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a194bc67-5b37-4bf8-bb02-777c5e99fb48", + "Body" : "MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUTWFudWFsRW5yb2xsbWVudEphdmEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIEvlHEOSp8ckpMZNBM9Q6nsfCUBpoiLFkSM21p2bgW2E3Sf2PVd+dmUUGl8Kai3PXqdA0nUJw0OfLro67rQiV3gEBikYrsk2CW00cP+26dihTJo/qG+9W3/rw/PUR2kFuNFju1LKWO9aKQoa58a8068RbB7Xew1DqG4uaW8TWeReHE+ufQs95Wit+Rcf/P/gyBg/uLA5eXmL4rlpUx6aJB8tc/72wp1MPx+xXBUhibiE3ak6xJKDTCO6LgyBCdTWIh1p9VFf88g43WRiuAifG5KY2MgLQ/d5WGGcz4uxlW7pwn5mvavaaBdhWRs1fIRPnZRxXNPGSGhxl5fz+JxrbAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEArZIyz+QcRiwAApjXYcH9NqNUWISLfNwOgMxMWvIilZVpF1xMh/D8lfuCbf5JG8udmCkr+SrIGKOO646KPnCpISVyPPwFOwOB37KvyF1aRTrYVdDvqw9cw6GRqZ26b3oqH+5jQYga6L+7g+HcBglfJrsJlU4c/HFXaZfE3Hh3g0yCMPVJCPSBglNWBCiPbdR4b1BhYibNhz63dJnwQ3VSCdKdLXVyeTaySfGT2QBvhqC81mzIhw9usv3o+GfMbdykNM0G7R6bF7PUe6mDetsMWLDRDagAd917jaQ6U4s1ZpH7bpiFjOrXbpFTcxG0IP1YhcJKqqOkGGjDUz+j8daulg==" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:18 GMT", + "content-length" : "1181", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "05bbecce-b81e-427c-90b6-ae3307650a38", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava\",\"deletedDate\":1547151258,\"scheduledPurgeDate\":1554927258,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/b2ada709438f4e50aa323dd70b7121b0\",\"attributes\":{\"enabled\":false,\"nbf\":1547150657,\"exp\":1578687257,\"created\":1547151257,\"updated\":1547151257,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=ManualEnrollmentJava\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151257,\"updated\":1547151257}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:18 GMT", + "content-length" : "110", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "960e9d78-5a7e-4c97-99c5-44b500fdfe0c", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createManualEnrollmentJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:28 GMT", + "content-length" : "110", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "95d31d5d-f669-4cfa-abc7-23c9ef1fb384", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createManualEnrollmentJava\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:39 GMT", + "content-length" : "1181", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "987d0c49-7154-4bd7-b7c4-f7f81ee1429b", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava\",\"deletedDate\":1547151258,\"scheduledPurgeDate\":1554927258,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/b2ada709438f4e50aa323dd70b7121b0\",\"attributes\":{\"enabled\":false,\"nbf\":1547150657,\"exp\":1578687257,\"created\":1547151257,\"updated\":1547151257,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=ManualEnrollmentJava\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151257,\"updated\":1547151257}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createManualEnrollmentJava/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:39 GMT", + "content-length" : "102", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "accfe0fb-6e0d-4d49-ad8d-a55631f0c895", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createManualEnrollmentJava\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createManualEnrollmentJava?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:14:40 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6970a445-83b8-40c4-b674-5ba63e20ea25", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePemForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePemForCertificateOperationsTest.json index a7b82ea76b682..32a2e9a600bc7 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePemForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePemForCertificateOperationsTest.json @@ -1,354 +1,354 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:04 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f56a8f57-3302-4118-85bc-c6de041893d0", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:05 GMT", - "content-length" : "1308", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0&request_id=a002f2871f4f40ef8b4f0bd36087c9f8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3c48e98b-f21b-4bcf-bde1-eaf5dbea9412", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:05 GMT", - "content-length" : "1308", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5b8c7515-2b07-4d98-989b-bed920ad18e9", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:16 GMT", - "content-length" : "1308", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "84a1a18f-8f81-4b48-a8fe-4ff273629065", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:26 GMT", - "content-length" : "1227", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b64e4b97-8663-440e-9c08-24307c1550ff", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:26 GMT", - "content-length" : "2360", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5104f22d-5487-4065-90ed-90f4d742d11d", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"x5t\":\"TR7XnaeTIm_daAq-WVtI2Y1EBWw\",\"cer\":\"MIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAcMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0yMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4F+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXuGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8IkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEwHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IBAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8jUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVodH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgdim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TLBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXArnMgcocUx7gw/8mZ3IQTopXio\",\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151426,\"updated\":1547151426}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:27 GMT", - "content-length" : "3362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fd821cc2-72fd-43b7-b017-9cde34119a9c", - "Body" : "{\"value\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCsRCCTU1dxiV04\\nR8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otad\\nRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr\\n2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpT\\nblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5R\\nQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V\\n2g6G6HGFAgMBAAECggEAJFCCS3xksScDc0NQ6CN2QJIXSoLMXAM9xiSBZPMS/7Ak\\nJnO5LfPmJi5DLU4WwVYaWsdnnn1R0wY8Vs/S0vKavFc7pba7BSPJTbWtug1wVjcg\\nhl/DwgOifFiV+6puhNTyOgHSAOS7GJOYHFOyoBgIOFFhEhnpROPdhDkaR2NUGNwg\\nm/FzhoQNHgaHZoYURWcHfeLImw/4ShOODqlaebw296Lc/aSaIeFmzdB4H58BuMi7\\nsZRiu9JGX840GlZslDZ1UhCAOjSiEaSfAKS0Cgl+yiQikIIAuE/HHaITIJddzO0K\\njAAJo7lXjHVC9anXPqr3piDpyK6tDwe7dFfK0d9q+wKBgQDg9MoSXBtQVNtEUG3p\\nzY7bGFyCelDaR8Mf781Tuh3Y4YzcGRcCqxtGkDBJmHNpGeNUHbpljiR2WKHxTGmm\\ntc0Z7jKBlW7DZ76X8Q/bipbHS76yV4LYaWXEwKyEbof5wCGpWGnfBog9vm6XlLoH\\nOXKmaIJFfUxdVJo0W0sWszEHTwKBgQDECemVfzYXhrak1uV0KEauy4z8i5bSv10Z\\n9CnxVMMBgUCy4AihIy9jmw02U8TAIF0wysuytB9gKCogiuyWYCkaiJWNE+gvSk9i\\nVd48pXYzH3fQVtBV9V9cts6ZsC2c8uLge77JvaZya0dDz+9xCtcjlzpSJIMgCPJI\\n/9NeRD6E6wKBgHs+gWrXnXtAUjS2H9Gk9awhR6WQX7WG9WcM2SAS6oFE6Qg4kru6\\nhKH/IwVfCXO+ZCZUdydmXaGc43Qwmf1kwu5+6prGBL33m5rgzgBIiFy9qcdJXH02\\nGTRXHu0bJVH2Kjr+Hlq62G+DYlGXgOeuWJrEzQJHKExFqooerh/MooLPAoGAMgUd\\ndqm40ZPr8m9qqJLGRj9lv+KWHzv4s3Cbaxpnj3C9Y2bKjOL/anjbjCsfnq4jWRnF\\nk9ll0BEvfpIz/8KVelGzZwXXTom1a6/hPrQxTqYO2jfsfKJZLLzwRkKvwMYwoXqx\\nmaQsXjGFQ4ZA4CUV89zYYrEyS/A8cefktL7Q/PUCgYBEb+2Ev8jOibDDDaeF+deN\\nxnT2L4Edl11VPhcV4H4naoVEB5yF+K52zCCBPC1qDCBmKvWDvjgV63+rwXIjEqd2\\nT42a0+7zVBT/BIY8nfMxZOCgb+ud1mI/HWY8FDvtEDK1yWpYmfp5icR1YqTsphtc\\nml1XV2L5k4G3eFWi93Vkuw==\\n-----END PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAc\\nMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0y\\nMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4\\nF+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT\\n6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXu\\nGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq\\n559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8I\\nkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQAB\\no3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEF\\nBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEw\\nHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IB\\nAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8j\\nUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVod\\nH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgd\\nim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TL\\nBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXAr\\nnMgcocUx7gw/8mZ3IQTopXio\\n-----END CERTIFICATE-----\\n\",\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:27 GMT", - "content-length" : "2512", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c17aceac-fdf3-47e3-98f6-cf9bc7b8a0cd", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2\",\"deletedDate\":1547151448,\"scheduledPurgeDate\":1554927448,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"x5t\":\"TR7XnaeTIm_daAq-WVtI2Y1EBWw\",\"cer\":\"MIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAcMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0yMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4F+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXuGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8IkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEwHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IBAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8jUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVodH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgdim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TLBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXArnMgcocUx7gw/8mZ3IQTopXio\",\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151426,\"updated\":1547151426}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:27 GMT", - "content-length" : "94", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7e7fc7a2-09a3-4fef-87a1-bbc9711a0d01", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: SelfSignedJavaPem2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:27 GMT", - "content-length" : "102", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8010bf71-631f-4f79-8be1-bf3a23b2db30", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: SelfSignedJavaPem2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:38 GMT", - "content-length" : "102", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2fec1dde-e1d2-464e-9cc0-1b5f884c5dc0", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: SelfSignedJavaPem2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:48 GMT", - "content-length" : "2512", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "db237de8-ba39-4d51-9b8f-d1dcd2baa832", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2\",\"deletedDate\":1547151448,\"scheduledPurgeDate\":1554927448,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"x5t\":\"TR7XnaeTIm_daAq-WVtI2Y1EBWw\",\"cer\":\"MIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAcMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0yMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4F+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXuGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8IkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEwHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IBAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8jUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVodH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgdim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TLBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXArnMgcocUx7gw/8mZ3IQTopXio\",\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151426,\"updated\":1547151426}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:17:49 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1e84a3ac-fee7-4282-af10-4fb7e56f416e", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:04 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f56a8f57-3302-4118-85bc-c6de041893d0", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:05 GMT", + "content-length" : "1308", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0&request_id=a002f2871f4f40ef8b4f0bd36087c9f8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3c48e98b-f21b-4bcf-bde1-eaf5dbea9412", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:05 GMT", + "content-length" : "1308", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5b8c7515-2b07-4d98-989b-bed920ad18e9", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:16 GMT", + "content-length" : "1308", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "84a1a18f-8f81-4b48-a8fe-4ff273629065", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:26 GMT", + "content-length" : "1227", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b64e4b97-8663-440e-9c08-24307c1550ff", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrDCCAZQCAQAwHDEaMBgGA1UEAxMRU2VsZlNpZ25lZEphdmFQZW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCsRCCTU1dxiV04R8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otadRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpTblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5RQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V2g6G6HGFAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAdA/2L3kLaBvsgnFYEeKxT31dfjnfTyT+X4EOFjDgAWZ7+oW4n2haLmpaEVfpMH06sk/RXCwfzqVgNF9Wr7oZ3xLu/NzmEOGUSLocxWehNn3XYEP75PM9r62g7tQDgaZPG11xyDbyNI6oLBMBd6Ovv7nN1kAe920Em6WOCtVdLDQSoiOg1s8y9KsfoBzhLH+Q/5r2eWbo1CaDOWJf/qmOLJHMv3anAQkQlAexdNMKQ252gTLL9+nQ09u0ST0BLKbzuuTfycozfP7ZIJ/lLuevx2oBP7I/ZJzpHZn7316PrSmvlINgnFFnNCX22/bzmmhe+4kq/U+kVWA+RBeO952rzg==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2\",\"request_id\":\"a002f2871f4f40ef8b4f0bd36087c9f8\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:26 GMT", + "content-length" : "2360", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5104f22d-5487-4065-90ed-90f4d742d11d", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"x5t\":\"TR7XnaeTIm_daAq-WVtI2Y1EBWw\",\"cer\":\"MIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAcMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0yMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4F+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXuGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8IkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEwHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IBAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8jUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVodH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgdim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TLBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXArnMgcocUx7gw/8mZ3IQTopXio\",\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151426,\"updated\":1547151426}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:27 GMT", + "content-length" : "3362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fd821cc2-72fd-43b7-b017-9cde34119a9c", + "Body" : "{\"value\":\"-----BEGIN PRIVATE KEY-----\\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCsRCCTU1dxiV04\\nR8A/Oxu/yBx5HPgX7ulV9Mfj/dAAzKQvnpmWo++e/CljR2f4TrWXSHM3j5D5otad\\nRDFNyYjjgnpoWVPpCbCqAvkOOYrnMBIv57pvQsgkJzcj8kqRulQf+8Z/Er4o3wnr\\n2rxHULZ9Mv4EVe4YrzB3dI2dW6YPL8PPvSR14v0Iv6QmMehQRAMTB40yEorGscpT\\nblFV+Mwm93wZvOrnn2fKHIsIeHwW5Wg9Mp0yPvyXxDO5T0UTIJocOPTHbfxdLo5R\\nQ6jkaYgqd9BOLwiTM0yJsKonUPzej2Hs43icqGEOFokJHtrm0WpUsC9WlmwLNQ5V\\n2g6G6HGFAgMBAAECggEAJFCCS3xksScDc0NQ6CN2QJIXSoLMXAM9xiSBZPMS/7Ak\\nJnO5LfPmJi5DLU4WwVYaWsdnnn1R0wY8Vs/S0vKavFc7pba7BSPJTbWtug1wVjcg\\nhl/DwgOifFiV+6puhNTyOgHSAOS7GJOYHFOyoBgIOFFhEhnpROPdhDkaR2NUGNwg\\nm/FzhoQNHgaHZoYURWcHfeLImw/4ShOODqlaebw296Lc/aSaIeFmzdB4H58BuMi7\\nsZRiu9JGX840GlZslDZ1UhCAOjSiEaSfAKS0Cgl+yiQikIIAuE/HHaITIJddzO0K\\njAAJo7lXjHVC9anXPqr3piDpyK6tDwe7dFfK0d9q+wKBgQDg9MoSXBtQVNtEUG3p\\nzY7bGFyCelDaR8Mf781Tuh3Y4YzcGRcCqxtGkDBJmHNpGeNUHbpljiR2WKHxTGmm\\ntc0Z7jKBlW7DZ76X8Q/bipbHS76yV4LYaWXEwKyEbof5wCGpWGnfBog9vm6XlLoH\\nOXKmaIJFfUxdVJo0W0sWszEHTwKBgQDECemVfzYXhrak1uV0KEauy4z8i5bSv10Z\\n9CnxVMMBgUCy4AihIy9jmw02U8TAIF0wysuytB9gKCogiuyWYCkaiJWNE+gvSk9i\\nVd48pXYzH3fQVtBV9V9cts6ZsC2c8uLge77JvaZya0dDz+9xCtcjlzpSJIMgCPJI\\n/9NeRD6E6wKBgHs+gWrXnXtAUjS2H9Gk9awhR6WQX7WG9WcM2SAS6oFE6Qg4kru6\\nhKH/IwVfCXO+ZCZUdydmXaGc43Qwmf1kwu5+6prGBL33m5rgzgBIiFy9qcdJXH02\\nGTRXHu0bJVH2Kjr+Hlq62G+DYlGXgOeuWJrEzQJHKExFqooerh/MooLPAoGAMgUd\\ndqm40ZPr8m9qqJLGRj9lv+KWHzv4s3Cbaxpnj3C9Y2bKjOL/anjbjCsfnq4jWRnF\\nk9ll0BEvfpIz/8KVelGzZwXXTom1a6/hPrQxTqYO2jfsfKJZLLzwRkKvwMYwoXqx\\nmaQsXjGFQ4ZA4CUV89zYYrEyS/A8cefktL7Q/PUCgYBEb+2Ev8jOibDDDaeF+deN\\nxnT2L4Edl11VPhcV4H4naoVEB5yF+K52zCCBPC1qDCBmKvWDvjgV63+rwXIjEqd2\\nT42a0+7zVBT/BIY8nfMxZOCgb+ud1mI/HWY8FDvtEDK1yWpYmfp5icR1YqTsphtc\\nml1XV2L5k4G3eFWi93Vkuw==\\n-----END PRIVATE KEY-----\\n-----BEGIN CERTIFICATE-----\\nMIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAc\\nMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0y\\nMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjAN\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4\\nF+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT\\n6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXu\\nGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq\\n559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8I\\nkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQAB\\no3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEF\\nBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEw\\nHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IB\\nAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8j\\nUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVod\\nH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgd\\nim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TL\\nBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXAr\\nnMgcocUx7gw/8mZ3IQTopXio\\n-----END CERTIFICATE-----\\n\",\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:27 GMT", + "content-length" : "2512", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c17aceac-fdf3-47e3-98f6-cf9bc7b8a0cd", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2\",\"deletedDate\":1547151448,\"scheduledPurgeDate\":1554927448,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"x5t\":\"TR7XnaeTIm_daAq-WVtI2Y1EBWw\",\"cer\":\"MIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAcMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0yMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4F+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXuGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8IkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEwHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IBAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8jUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVodH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgdim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TLBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXArnMgcocUx7gw/8mZ3IQTopXio\",\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151426,\"updated\":1547151426}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:27 GMT", + "content-length" : "94", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7e7fc7a2-09a3-4fef-87a1-bbc9711a0d01", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: SelfSignedJavaPem2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:27 GMT", + "content-length" : "102", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8010bf71-631f-4f79-8be1-bf3a23b2db30", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: SelfSignedJavaPem2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:38 GMT", + "content-length" : "102", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2fec1dde-e1d2-464e-9cc0-1b5f884c5dc0", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: SelfSignedJavaPem2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:48 GMT", + "content-length" : "2512", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "db237de8-ba39-4d51-9b8f-d1dcd2baa832", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2\",\"deletedDate\":1547151448,\"scheduledPurgeDate\":1554927448,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem2/00378306c6114f68831081b8e89fc786\",\"x5t\":\"TR7XnaeTIm_daAq-WVtI2Y1EBWw\",\"cer\":\"MIIDPjCCAiagAwIBAgIQUtuZI97+SZ+14dgY0GaQWTANBgkqhkiG9w0BAQsFADAcMRowGAYDVQQDExFTZWxmU2lnbmVkSmF2YVBlbTAeFw0xOTAxMTAyMDA3MTdaFw0yMDAxMTAyMDE3MTdaMBwxGjAYBgNVBAMTEVNlbGZTaWduZWRKYXZhUGVtMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArEQgk1NXcYldOEfAPzsbv8gceRz4F+7pVfTH4/3QAMykL56ZlqPvnvwpY0dn+E61l0hzN4+Q+aLWnUQxTcmI44J6aFlT6QmwqgL5DjmK5zASL+e6b0LIJCc3I/JKkbpUH/vGfxK+KN8J69q8R1C2fTL+BFXuGK8wd3SNnVumDy/Dz70kdeL9CL+kJjHoUEQDEweNMhKKxrHKU25RVfjMJvd8Gbzq559nyhyLCHh8FuVoPTKdMj78l8QzuU9FEyCaHDj0x238XS6OUUOo5GmIKnfQTi8IkzNMibCqJ1D83o9h7ON4nKhhDhaJCR7a5tFqVLAvVpZsCzUOVdoOhuhxhQIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUBE5ETr0fhoISwa5x+v8/h3PUFlEwHQYDVR0OBBYEFARORE69H4aCEsGucfr/P4dz1BZRMA0GCSqGSIb3DQEBCwUAA4IBAQAX7VLK36ouMCYAcfeUG8JhDmrMoZ44913RMEAoyq86P8bb9QpvzE0Ohe+eWf8jUxh/wCxhWsRDpBdc+1nhWV9m3WZEPqhpIOD2t8R+Hy8jjsvEyTUI7H1VZkmKyVodH0bNobD5+l4LWtPtKDL5yIOdJlEYcsgNcIJ2swnX+z5fvR7Bxs9sjySoSgCQKdgdim1FFQhGMHEk+9QZLyRfhKzzGwM9TBpBqqyQ8uolH2UFUxhWmjLxYu0bN3fwD/TLBkyochumYf++gAWkoHtCAwT6rV2L0ihxMhsRqu9xw62mox2inVGrW6v5FtSkeXArnMgcocUx7gw/8mZ3IQTopXio\",\"attributes\":{\"enabled\":true,\"nbf\":1547150837,\"exp\":1578687437,\"created\":1547151437,\"updated\":1547151437,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pem-file\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPem\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151426,\"updated\":1547151426}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/SelfSignedJavaPem2/pending\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/SelfSignedJavaPem2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:17:49 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1e84a3ac-fee7-4282-af10-4fb7e56f416e", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePkcs12ForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePkcs12ForCertificateOperationsTest.json index 24cd0edeadfcb..08991f1c001fc 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePkcs12ForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/createSelfSignedCertificatePkcs12ForCertificateOperationsTest.json @@ -1,381 +1,381 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:25 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "20e74eec-acd2-49e4-b489-48bc0b5ff02a", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:26 GMT", - "content-length" : "1320", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0&request_id=296f5bf3adb14425a52f44ad9b75ea3c", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "892532bb-5e27-459f-810a-aaf8a9a42458", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:26 GMT", - "content-length" : "1320", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cec19b15-d710-4b84-b05b-f9e906b47895", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:37 GMT", - "content-length" : "1320", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f06af10f-54d1-46f9-a816-baba0d95aec1", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:47 GMT", - "content-length" : "1247", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4d00d4b7-d2f9-4909-a561-faf697149ae6", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:47 GMT", - "content-length" : "2419", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2f64d8ac-8e72-4ae0-bf7a-9baee5fbfca2", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"x5t\":\"kKkwviPy7mUqcDNyUJX_W1GMJDc\",\"cer\":\"MIIDRDCCAiygAwIBAgIQbt/RjW8ARkedzbikCP+Z/jANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRTZWxmU2lnbmVkSmF2YVBrY3MxMjAeFw0xOTAxMTAyMDA1NDdaFw0yMDAxMTAyMDE1NDdaMB8xHTAbBgNVBAMTFFNlbGZTaWduZWRKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl15xMRjDcOyJge+2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n/3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP/MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5/7LedxZ2yoD2EBVq6oHV1f/HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq+TWwLTFCi37wIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUU/X3T/oKMhpEKD0iHddFDS3UZgQwHQYDVR0OBBYEFFP190/6CjIaRCg9Ih3XRQ0t1GYEMA0GCSqGSIb3DQEBCwUAA4IBAQB3eHuDseE4YWRPmUrPSzF92BMdSBtFXwuDuZtWTZ6fwR0tJmxO+t1IT4KXsxbqqehhdt4lQw4l3aJP+apVp26UlMNsXlbwg6BRiyfjDBtCMMERUIEE6+XgRdwgOpILITibMzR8IE1bm+IKHOfCvV8qjfmthBtFExPL9W47Jcr6oE42LDk0mt9ClD0Y32RF/qI8uU3Hh9vAX8lVJO8ZDS/ukVtIK9MFvwvyjTvVNSh5a61WQpNb99xlgSEW2M4tJjAsG2ouL9TlxnvYoBMS97Wdc1kxNnOyTR52WlnQR33zQdMvDGdZCuG3cgPPxzjTV09H69+o5sN8VhTTGtBozqUa\",\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151326,\"updated\":1547151326}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:47 GMT", - "content-length" : "3982", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "961b283c-29cf-406d-8d7c-3753aa186602", - "Body" : "{\"value\":\"MIIKVAIBAzCCChQGCSqGSIb3DQEHAaCCCgUEggoBMIIJ/TCCBhYGCSqGSIb3DQEHAaCCBgcEggYDMIIF/zCCBfsGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi3DeOYtOdiigICB9AEggTYfdiJraceQS9VCIhCsuqi77COFzrO9YTbiSYlKSSsZMhpy1OPt9J4yyq4Q6c16mPz/9LAnRpC0s2H3beppMjFBZ68h4zyRGxziAI6FgtcJIhDgNZHJOGCT9GI3UfajDerE7vm/Ha7s/ztG98S+EU9slYch+XGQPCwzmKUCdfJ19Qi/YNDl5kt2Hvnx+J3OSAN+XNofTlVc0399ZMep9Ghct8fDGyJVNodg65zEh7ez+ydYkfoeth4HmzwzGnMrjQGeGxSVXpIw5YWLPtx2EI3l/lIykc5wyCYe2++dAtrhYKw5x400aiTxY8sjhuhoki1+SeeTgjt5JoThGRWAp7uD1YNs0IUoQonUz7e15QiittHpPGFaSaBnHh7jpuvuoMkfcFCgRr84MO2fPkKKREXoaHMpWSdyAs3sZBvcmz6V9Z8xoLflV6K8p1ShcqfpT4WehyE3uL3EhYrSagpGPdPv1hcJaSBXz0f9k1/Bd2GDEp83JmpEB7zqoivhG4YvCODJGiQADgXYNBB9dkhhwmEt7r7NihhhMwXEEZzqBdEEVHXrhyq5m9ffRHP7In5DYLG9gvCiz/t4t53phcNFPDKKKLzPsQXqbcS2dwA2c8VIzWTHsSW6u6yHo15x+gIzh55MjB4qjNKrWZUuiN5aP9nWlHg/mQFjPWBns6GM6Tn6ANvMoDsBDIhxpguzrbaX6NkS84S1eLw4LX0TMqIGwcC0lrKHNOug44jYqTkvfE3jOUMhnq+e4Dq9hur7bateNx8t9tNJO/v05+VAhX1sOcYejbRAiaTWlr8j7SvmslzjTGF3LjJn+keak/56M5+hQW1lz0A8iyILJ3ny0Y2ez8c0yMiNquaVfboX5lyx+j3MF/dcBPhdV22IHbHgsHSTktuzJTMv1crpft+yf2WybuC5sNOiCaKPP2y5VwS8G5exjkqn/4N7p50wtkfb/RdC43FRt5MaZ+em5A0DrDEMtSHfQwkLldAjlb1j9S9VrRnW6QibOUSgTzroJjQzqyPTtb+gtIeuEs4NuxXcZ24cOHUyCweDD3M2OtuH3W3Y/+dTKqsiwc/sQiFct+pDphlmlJaCSKmtfcvACQZZhoithEOyBhlb954osbPmazOVRKWc4Sfdpt4zSPJQM/sYqHhmY0d3Ssl/px8JQC/3L1y8OLdazsgCMeu+tyFnEHA9gB31r80FbjOgmjkGmif/pD15ouWapKUJicbx0ldEAo6mwJrcfw0JKFqZfMzeXqr2jIG5yQidid0PQNA//GI/cb9sM3qcN46OIn0W7xl8/X1aQ7miPD5AaP1OeM9Shf63WrEw8P/n+XOYQdwtZ/d7hYEJ+ZKYM88ipGf7vKuP7kJy+Ygko/iJJycNMRyg+/8szNlJtkAm2sQHEx9p+fVf9dMnqMtRkq7vfe0w8nSuTi71O75w59xlc2Kukm9dRN6Q3VolCy7f4KZKFtdOTXm++TE80nGCxkXiWKo23y6oN4OkeAX8YqWOO62ApMnpECaM9P+9/l2Pj66TDPMJq5UXCpCZr92xBaCf4B9Mv18sGgtCuOWo3zZzob1YqDeJlv4vFWKnfqW7UyFG9mD1qhFwTY56AQN94xIlt299ygRc7spjrdwr00YDnbK3oKPnamJ/3PSXC3kRqkW6A84tTGB6TATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGYAYQAyADEAZQA5ADUAYQAtADIAOABjAGMALQA0AGEANAA1AC0AOQBjADEAYQAtADEAOQAyAGQANgA5ADgAYgA3ADQAZQA1MHkGCSsGAQQBgjcRATFsHmoATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABSAFMAQQAgAGEAbgBkACAAQQBFAFMAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIID3wYJKoZIhvcNAQcGoIID0DCCA8wCAQAwggPFBgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAhUD9GC5iy9qQICB9CAggOYGj6xa0HoQMmHZ5ziqHShh9nkwBySfKGQoALPg6J/95uppglK0lo/eIeISvTzmkWLxyV6nB1GtYbn+JzgtQNQxEW4oov+MOzHtC6+IdUXsqHJv/OBFcyT0CPPuT3CKCOIvx7iZPuY7HbH2u8Dbp1PHGR+W5j0RnFwnPpJjBEPZei/0Hs1skC5oC2e1TLOhlrUMLyr5pjevm7L7QQ64idMepXAyDaV5jf7t7zND7lpK1oS9gMN2cG/fedSaWT56K1blfJhcSBTr+uCMqc7lHmqZZ7iz5IIKrkuKquLo5U0o4pvQAIOIScZYS4szwF2Iuat7rKlHI7M6VeXxHvoXUAF2QkOa/4mp7QZxn0h7Teiq7wDnym5lWqawGb4BXTmaYKGJIc/j/WzwXJQCqq4h58YF27kQ1z1l/brFF94FcQuN6xdxN1khXn3IJX1VUDyqyMYg4NXzog/vLWjT38o27kOX/Oy7phWQ0wv7iKx+PnPU7Ahgy3DFZMxwU7pnq5xXOJpXva8i/Kmkt3ns8te/9ejRSfabv5LZ4+lW8lRh6ugOD+X/vdxtoOJ9DyYsTgLG26nZlslCogfFJcYVJO5plvNbwV5/doTGqPMswj5hh8x4AcYlWKOa72jrVyqCXDd4ekOF80lZkmo80vaIilkQcw5GPa5QbGW+Y/MPmgZcGurXN9rQH9uzaO3YqrPJWi21TNgFzBSpF8rnEzlr2ewMFr/3cvfqrlqZexFQZUfsQFdvr2ZjJO/77XUYQiIuPkqeICbO52r34mS+ikrYC3N+1TaynM44BEC5FhvK9rKYAWehspLdkl47DcNemL4jpT1uST06WKvWD/LtcsiDvxqht9Oe5aZgtaYELm/3UqLqttP3cDmAPf3RQMF3Xrh+uyTp+3PUnmEc8Tzz6cdwbEZE0Jb3JZGCOt6aW1Srjjb875uXXQ5Ec7pph7Vs40tTaMls9R89n40eOxSe1/qtr7hRubJCCWAfWoV2GJB0wSxUXhHagTWGhw5YZUD0KobQid9BzqbfZCm+qnWoiQQVyXOKCuTOUoTPhYt+HPF3hcltbf9JuPSEPsUoyaRfKAW1DVdTNYdeOPqiHh364ZDYPwgEzyV390I3kKGgcOCHFhaYF2G0a+xWb+b6hZXnDhZhRtNKvcAVbJ4CmGQ0dWLvE6qJ5b9KfzD9dh5aFul+rcp3WAaEhZ6+3z3cSnSZQauTc9zyJz59GHNfUAvAhwwNzAfMAcGBSsOAwIaBBQsyjgf0/GtE+YpNzgsV3ZoXm3CXwQU6OW47eIQp1KSDMNjH0Ws3t0lvHg=\",\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:48 GMT", - "content-length" : "716", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f0541d9e-6588-45b6-b4bb-37125fea104a", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"l15xMRjDcOyJge-2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n_3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP_MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5_7LedxZ2yoD2EBVq6oHV1f_HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq-TWwLTFCi37w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"managed\":true}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:48 GMT", - "content-length" : "2579", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f74752df-f7ea-426f-b515-7dc547cde04d", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12\",\"deletedDate\":1547151349,\"scheduledPurgeDate\":1554927349,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"x5t\":\"kKkwviPy7mUqcDNyUJX_W1GMJDc\",\"cer\":\"MIIDRDCCAiygAwIBAgIQbt/RjW8ARkedzbikCP+Z/jANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRTZWxmU2lnbmVkSmF2YVBrY3MxMjAeFw0xOTAxMTAyMDA1NDdaFw0yMDAxMTAyMDE1NDdaMB8xHTAbBgNVBAMTFFNlbGZTaWduZWRKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl15xMRjDcOyJge+2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n/3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP/MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5/7LedxZ2yoD2EBVq6oHV1f/HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq+TWwLTFCi37wIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUU/X3T/oKMhpEKD0iHddFDS3UZgQwHQYDVR0OBBYEFFP190/6CjIaRCg9Ih3XRQ0t1GYEMA0GCSqGSIb3DQEBCwUAA4IBAQB3eHuDseE4YWRPmUrPSzF92BMdSBtFXwuDuZtWTZ6fwR0tJmxO+t1IT4KXsxbqqehhdt4lQw4l3aJP+apVp26UlMNsXlbwg6BRiyfjDBtCMMERUIEE6+XgRdwgOpILITibMzR8IE1bm+IKHOfCvV8qjfmthBtFExPL9W47Jcr6oE42LDk0mt9ClD0Y32RF/qI8uU3Hh9vAX8lVJO8ZDS/ukVtIK9MFvwvyjTvVNSh5a61WQpNb99xlgSEW2M4tJjAsG2ouL9TlxnvYoBMS97Wdc1kxNnOyTR52WlnQR33zQdMvDGdZCuG3cgPPxzjTV09H69+o5sN8VhTTGtBozqUa\",\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151326,\"updated\":1547151326}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:48 GMT", - "content-length" : "110", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fe4c97fe-6f71-4e25-ad44-487c4db9718e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createSelfSignedJavaPkcs12\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:59 GMT", - "content-length" : "110", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8abd50af-d6c3-4c8d-a442-cb1a0611d0b7", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createSelfSignedJavaPkcs12\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:09 GMT", - "content-length" : "2579", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "21953fff-cb4c-47b5-b4c1-0915bb0cb875", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12\",\"deletedDate\":1547151349,\"scheduledPurgeDate\":1554927349,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"x5t\":\"kKkwviPy7mUqcDNyUJX_W1GMJDc\",\"cer\":\"MIIDRDCCAiygAwIBAgIQbt/RjW8ARkedzbikCP+Z/jANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRTZWxmU2lnbmVkSmF2YVBrY3MxMjAeFw0xOTAxMTAyMDA1NDdaFw0yMDAxMTAyMDE1NDdaMB8xHTAbBgNVBAMTFFNlbGZTaWduZWRKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl15xMRjDcOyJge+2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n/3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP/MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5/7LedxZ2yoD2EBVq6oHV1f/HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq+TWwLTFCi37wIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUU/X3T/oKMhpEKD0iHddFDS3UZgQwHQYDVR0OBBYEFFP190/6CjIaRCg9Ih3XRQ0t1GYEMA0GCSqGSIb3DQEBCwUAA4IBAQB3eHuDseE4YWRPmUrPSzF92BMdSBtFXwuDuZtWTZ6fwR0tJmxO+t1IT4KXsxbqqehhdt4lQw4l3aJP+apVp26UlMNsXlbwg6BRiyfjDBtCMMERUIEE6+XgRdwgOpILITibMzR8IE1bm+IKHOfCvV8qjfmthBtFExPL9W47Jcr6oE42LDk0mt9ClD0Y32RF/qI8uU3Hh9vAX8lVJO8ZDS/ukVtIK9MFvwvyjTvVNSh5a61WQpNb99xlgSEW2M4tJjAsG2ouL9TlxnvYoBMS97Wdc1kxNnOyTR52WlnQR33zQdMvDGdZCuG3cgPPxzjTV09H69+o5sN8VhTTGtBozqUa\",\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151326,\"updated\":1547151326}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:09 GMT", - "content-length" : "102", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6604ff4b-e269-4fea-894c-d7ed6fa6ffbf", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createSelfSignedJavaPkcs12\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:16:10 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a2fd2485-06df-4c42-9c39-fde22eb9bd59", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:25 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "20e74eec-acd2-49e4-b489-48bc0b5ff02a", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:26 GMT", + "content-length" : "1320", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "location" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0&request_id=296f5bf3adb14425a52f44ad9b75ea3c", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "892532bb-5e27-459f-810a-aaf8a9a42458", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:26 GMT", + "content-length" : "1320", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cec19b15-d710-4b84-b05b-f9e906b47895", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:37 GMT", + "content-length" : "1320", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f06af10f-54d1-46f9-a816-baba0d95aec1", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"inProgress\",\"status_details\":\"Pending certificate created. Certificate request is in progress. This may take some time based on the issuer provider. Please check again later.\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:47 GMT", + "content-length" : "1247", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4d00d4b7-d2f9-4909-a561-faf697149ae6", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\",\"issuer\":{\"name\":\"Self\"},\"csr\":\"MIICrzCCAZcCAQAwHzEdMBsGA1UEAxMUU2VsZlNpZ25lZEphdmFQa2NzMTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCXXnExGMNw7ImB77a9CWtpHXPM+y4PZfxmvPtDBwaJTJFjaTlWJyxaF4np2jxmpm3vvmvwiQNyS1ICu/Sjq6C7bP2f/cXM4fFIq/bVU2GFzPEOjVcK1apmBPe06l6NWkj1VHHR6XLnkmq3eaP3e7KTg6kot1/D2zipUq3jUU994cwjX1I/8zAeWttKeFTKctiaOpsNknSt3H05Fd0ocPAjKAlFdLgkL3V1jn/st53FnbKgPYQFWrqgdXV/8cnkxVFzwuDwvp0U9vvIPZ8JhszFvIYOm3zMGImKS0jYGMvAXV9jlpRIjYsevOUWE5lYrNNs0547Qigyr5NbAtMUKLfvAgMBAAGgSzBJBgkqhkiG9w0BCQ4xPDA6MA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAQEAB/vTItcw9GSBHhjwytEqJSBnkYFRWL4v0KdSBsRAUb3c7H8Qfl3maEZS97LR0QI2ZgFAt7pxBojBIMMH+kMFut68ecA88I1hcBWpOXGt9/oIHCnZqAlDNsI+jW6Cwidf5XaDVHNNSSQu35hxNqdrSckMMIhgpg85th8LmLpDStRID+jsNaAm08r59PdrhjyZ+DOycppO9sjhxjuByI0bJg+pwTyJUlXLhFxhM/i4bt8gn2w2TxCa28EiHSV1yphXB1haZaIhTSk2o52o1BJq+FDIOZla0llA00Q++u9eb4HMoFMtE89Tp4iRc9xPz0jyx4JXwGvYOC9C62fALThnAg==\",\"cancellation_requested\":false,\"status\":\"completed\",\"target\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12\",\"request_id\":\"296f5bf3adb14425a52f44ad9b75ea3c\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:47 GMT", + "content-length" : "2419", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2f64d8ac-8e72-4ae0-bf7a-9baee5fbfca2", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"x5t\":\"kKkwviPy7mUqcDNyUJX_W1GMJDc\",\"cer\":\"MIIDRDCCAiygAwIBAgIQbt/RjW8ARkedzbikCP+Z/jANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRTZWxmU2lnbmVkSmF2YVBrY3MxMjAeFw0xOTAxMTAyMDA1NDdaFw0yMDAxMTAyMDE1NDdaMB8xHTAbBgNVBAMTFFNlbGZTaWduZWRKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl15xMRjDcOyJge+2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n/3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP/MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5/7LedxZ2yoD2EBVq6oHV1f/HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq+TWwLTFCi37wIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUU/X3T/oKMhpEKD0iHddFDS3UZgQwHQYDVR0OBBYEFFP190/6CjIaRCg9Ih3XRQ0t1GYEMA0GCSqGSIb3DQEBCwUAA4IBAQB3eHuDseE4YWRPmUrPSzF92BMdSBtFXwuDuZtWTZ6fwR0tJmxO+t1IT4KXsxbqqehhdt4lQw4l3aJP+apVp26UlMNsXlbwg6BRiyfjDBtCMMERUIEE6+XgRdwgOpILITibMzR8IE1bm+IKHOfCvV8qjfmthBtFExPL9W47Jcr6oE42LDk0mt9ClD0Y32RF/qI8uU3Hh9vAX8lVJO8ZDS/ukVtIK9MFvwvyjTvVNSh5a61WQpNb99xlgSEW2M4tJjAsG2ouL9TlxnvYoBMS97Wdc1kxNnOyTR52WlnQR33zQdMvDGdZCuG3cgPPxzjTV09H69+o5sN8VhTTGtBozqUa\",\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151326,\"updated\":1547151326}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:47 GMT", + "content-length" : "3982", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "961b283c-29cf-406d-8d7c-3753aa186602", + "Body" : "{\"value\":\"MIIKVAIBAzCCChQGCSqGSIb3DQEHAaCCCgUEggoBMIIJ/TCCBhYGCSqGSIb3DQEHAaCCBgcEggYDMIIF/zCCBfsGCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi3DeOYtOdiigICB9AEggTYfdiJraceQS9VCIhCsuqi77COFzrO9YTbiSYlKSSsZMhpy1OPt9J4yyq4Q6c16mPz/9LAnRpC0s2H3beppMjFBZ68h4zyRGxziAI6FgtcJIhDgNZHJOGCT9GI3UfajDerE7vm/Ha7s/ztG98S+EU9slYch+XGQPCwzmKUCdfJ19Qi/YNDl5kt2Hvnx+J3OSAN+XNofTlVc0399ZMep9Ghct8fDGyJVNodg65zEh7ez+ydYkfoeth4HmzwzGnMrjQGeGxSVXpIw5YWLPtx2EI3l/lIykc5wyCYe2++dAtrhYKw5x400aiTxY8sjhuhoki1+SeeTgjt5JoThGRWAp7uD1YNs0IUoQonUz7e15QiittHpPGFaSaBnHh7jpuvuoMkfcFCgRr84MO2fPkKKREXoaHMpWSdyAs3sZBvcmz6V9Z8xoLflV6K8p1ShcqfpT4WehyE3uL3EhYrSagpGPdPv1hcJaSBXz0f9k1/Bd2GDEp83JmpEB7zqoivhG4YvCODJGiQADgXYNBB9dkhhwmEt7r7NihhhMwXEEZzqBdEEVHXrhyq5m9ffRHP7In5DYLG9gvCiz/t4t53phcNFPDKKKLzPsQXqbcS2dwA2c8VIzWTHsSW6u6yHo15x+gIzh55MjB4qjNKrWZUuiN5aP9nWlHg/mQFjPWBns6GM6Tn6ANvMoDsBDIhxpguzrbaX6NkS84S1eLw4LX0TMqIGwcC0lrKHNOug44jYqTkvfE3jOUMhnq+e4Dq9hur7bateNx8t9tNJO/v05+VAhX1sOcYejbRAiaTWlr8j7SvmslzjTGF3LjJn+keak/56M5+hQW1lz0A8iyILJ3ny0Y2ez8c0yMiNquaVfboX5lyx+j3MF/dcBPhdV22IHbHgsHSTktuzJTMv1crpft+yf2WybuC5sNOiCaKPP2y5VwS8G5exjkqn/4N7p50wtkfb/RdC43FRt5MaZ+em5A0DrDEMtSHfQwkLldAjlb1j9S9VrRnW6QibOUSgTzroJjQzqyPTtb+gtIeuEs4NuxXcZ24cOHUyCweDD3M2OtuH3W3Y/+dTKqsiwc/sQiFct+pDphlmlJaCSKmtfcvACQZZhoithEOyBhlb954osbPmazOVRKWc4Sfdpt4zSPJQM/sYqHhmY0d3Ssl/px8JQC/3L1y8OLdazsgCMeu+tyFnEHA9gB31r80FbjOgmjkGmif/pD15ouWapKUJicbx0ldEAo6mwJrcfw0JKFqZfMzeXqr2jIG5yQidid0PQNA//GI/cb9sM3qcN46OIn0W7xl8/X1aQ7miPD5AaP1OeM9Shf63WrEw8P/n+XOYQdwtZ/d7hYEJ+ZKYM88ipGf7vKuP7kJy+Ygko/iJJycNMRyg+/8szNlJtkAm2sQHEx9p+fVf9dMnqMtRkq7vfe0w8nSuTi71O75w59xlc2Kukm9dRN6Q3VolCy7f4KZKFtdOTXm++TE80nGCxkXiWKo23y6oN4OkeAX8YqWOO62ApMnpECaM9P+9/l2Pj66TDPMJq5UXCpCZr92xBaCf4B9Mv18sGgtCuOWo3zZzob1YqDeJlv4vFWKnfqW7UyFG9mD1qhFwTY56AQN94xIlt299ygRc7spjrdwr00YDnbK3oKPnamJ/3PSXC3kRqkW6A84tTGB6TATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGYAYQAyADEAZQA5ADUAYQAtADIAOABjAGMALQA0AGEANAA1AC0AOQBjADEAYQAtADEAOQAyAGQANgA5ADgAYgA3ADQAZQA1MHkGCSsGAQQBgjcRATFsHmoATQBpAGMAcgBvAHMAbwBmAHQAIABFAG4AaABhAG4AYwBlAGQAIABSAFMAQQAgAGEAbgBkACAAQQBFAFMAIABDAHIAeQBwAHQAbwBnAHIAYQBwAGgAaQBjACAAUAByAG8AdgBpAGQAZQByMIID3wYJKoZIhvcNAQcGoIID0DCCA8wCAQAwggPFBgkqhkiG9w0BBwEwHAYKKoZIhvcNAQwBBjAOBAhUD9GC5iy9qQICB9CAggOYGj6xa0HoQMmHZ5ziqHShh9nkwBySfKGQoALPg6J/95uppglK0lo/eIeISvTzmkWLxyV6nB1GtYbn+JzgtQNQxEW4oov+MOzHtC6+IdUXsqHJv/OBFcyT0CPPuT3CKCOIvx7iZPuY7HbH2u8Dbp1PHGR+W5j0RnFwnPpJjBEPZei/0Hs1skC5oC2e1TLOhlrUMLyr5pjevm7L7QQ64idMepXAyDaV5jf7t7zND7lpK1oS9gMN2cG/fedSaWT56K1blfJhcSBTr+uCMqc7lHmqZZ7iz5IIKrkuKquLo5U0o4pvQAIOIScZYS4szwF2Iuat7rKlHI7M6VeXxHvoXUAF2QkOa/4mp7QZxn0h7Teiq7wDnym5lWqawGb4BXTmaYKGJIc/j/WzwXJQCqq4h58YF27kQ1z1l/brFF94FcQuN6xdxN1khXn3IJX1VUDyqyMYg4NXzog/vLWjT38o27kOX/Oy7phWQ0wv7iKx+PnPU7Ahgy3DFZMxwU7pnq5xXOJpXva8i/Kmkt3ns8te/9ejRSfabv5LZ4+lW8lRh6ugOD+X/vdxtoOJ9DyYsTgLG26nZlslCogfFJcYVJO5plvNbwV5/doTGqPMswj5hh8x4AcYlWKOa72jrVyqCXDd4ekOF80lZkmo80vaIilkQcw5GPa5QbGW+Y/MPmgZcGurXN9rQH9uzaO3YqrPJWi21TNgFzBSpF8rnEzlr2ewMFr/3cvfqrlqZexFQZUfsQFdvr2ZjJO/77XUYQiIuPkqeICbO52r34mS+ikrYC3N+1TaynM44BEC5FhvK9rKYAWehspLdkl47DcNemL4jpT1uST06WKvWD/LtcsiDvxqht9Oe5aZgtaYELm/3UqLqttP3cDmAPf3RQMF3Xrh+uyTp+3PUnmEc8Tzz6cdwbEZE0Jb3JZGCOt6aW1Srjjb875uXXQ5Ec7pph7Vs40tTaMls9R89n40eOxSe1/qtr7hRubJCCWAfWoV2GJB0wSxUXhHagTWGhw5YZUD0KobQid9BzqbfZCm+qnWoiQQVyXOKCuTOUoTPhYt+HPF3hcltbf9JuPSEPsUoyaRfKAW1DVdTNYdeOPqiHh364ZDYPwgEzyV390I3kKGgcOCHFhaYF2G0a+xWb+b6hZXnDhZhRtNKvcAVbJ4CmGQ0dWLvE6qJ5b9KfzD9dh5aFul+rcp3WAaEhZ6+3z3cSnSZQauTc9zyJz59GHNfUAvAhwwNzAfMAcGBSsOAwIaBBQsyjgf0/GtE+YpNzgsV3ZoXm3CXwQU6OW47eIQp1KSDMNjH0Ws3t0lvHg=\",\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:48 GMT", + "content-length" : "716", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f0541d9e-6588-45b6-b4bb-37125fea104a", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"l15xMRjDcOyJge-2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n_3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP_MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5_7LedxZ2yoD2EBVq6oHV1f_HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq-TWwLTFCi37w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"managed\":true}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:48 GMT", + "content-length" : "2579", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f74752df-f7ea-426f-b515-7dc547cde04d", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12\",\"deletedDate\":1547151349,\"scheduledPurgeDate\":1554927349,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"x5t\":\"kKkwviPy7mUqcDNyUJX_W1GMJDc\",\"cer\":\"MIIDRDCCAiygAwIBAgIQbt/RjW8ARkedzbikCP+Z/jANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRTZWxmU2lnbmVkSmF2YVBrY3MxMjAeFw0xOTAxMTAyMDA1NDdaFw0yMDAxMTAyMDE1NDdaMB8xHTAbBgNVBAMTFFNlbGZTaWduZWRKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl15xMRjDcOyJge+2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n/3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP/MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5/7LedxZ2yoD2EBVq6oHV1f/HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq+TWwLTFCi37wIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUU/X3T/oKMhpEKD0iHddFDS3UZgQwHQYDVR0OBBYEFFP190/6CjIaRCg9Ih3XRQ0t1GYEMA0GCSqGSIb3DQEBCwUAA4IBAQB3eHuDseE4YWRPmUrPSzF92BMdSBtFXwuDuZtWTZ6fwR0tJmxO+t1IT4KXsxbqqehhdt4lQw4l3aJP+apVp26UlMNsXlbwg6BRiyfjDBtCMMERUIEE6+XgRdwgOpILITibMzR8IE1bm+IKHOfCvV8qjfmthBtFExPL9W47Jcr6oE42LDk0mt9ClD0Y32RF/qI8uU3Hh9vAX8lVJO8ZDS/ukVtIK9MFvwvyjTvVNSh5a61WQpNb99xlgSEW2M4tJjAsG2ouL9TlxnvYoBMS97Wdc1kxNnOyTR52WlnQR33zQdMvDGdZCuG3cgPPxzjTV09H69+o5sN8VhTTGtBozqUa\",\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151326,\"updated\":1547151326}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:48 GMT", + "content-length" : "110", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fe4c97fe-6f71-4e25-ad44-487c4db9718e", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createSelfSignedJavaPkcs12\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:59 GMT", + "content-length" : "110", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8abd50af-d6c3-4c8d-a442-cb1a0611d0b7", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: createSelfSignedJavaPkcs12\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:09 GMT", + "content-length" : "2579", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "21953fff-cb4c-47b5-b4c1-0915bb0cb875", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12\",\"deletedDate\":1547151349,\"scheduledPurgeDate\":1554927349,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/createSelfSignedJavaPkcs12/7c4a6df827f743178bcf75635c8ce1b4\",\"x5t\":\"kKkwviPy7mUqcDNyUJX_W1GMJDc\",\"cer\":\"MIIDRDCCAiygAwIBAgIQbt/RjW8ARkedzbikCP+Z/jANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExRTZWxmU2lnbmVkSmF2YVBrY3MxMjAeFw0xOTAxMTAyMDA1NDdaFw0yMDAxMTAyMDE1NDdaMB8xHTAbBgNVBAMTFFNlbGZTaWduZWRKYXZhUGtjczEyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl15xMRjDcOyJge+2vQlraR1zzPsuD2X8Zrz7QwcGiUyRY2k5VicsWheJ6do8ZqZt775r8IkDcktSArv0o6ugu2z9n/3FzOHxSKv21VNhhczxDo1XCtWqZgT3tOpejVpI9VRx0ely55Jqt3mj93uyk4OpKLdfw9s4qVKt41FPfeHMI19SP/MwHlrbSnhUynLYmjqbDZJ0rdx9ORXdKHDwIygJRXS4JC91dY5/7LedxZ2yoD2EBVq6oHV1f/HJ5MVRc8Lg8L6dFPb7yD2fCYbMxbyGDpt8zBiJiktI2BjLwF1fY5aUSI2LHrzlFhOZWKzTbNOeO0IoMq+TWwLTFCi37wIDAQABo3wwejAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUU/X3T/oKMhpEKD0iHddFDS3UZgQwHQYDVR0OBBYEFFP190/6CjIaRCg9Ih3XRQ0t1GYEMA0GCSqGSIb3DQEBCwUAA4IBAQB3eHuDseE4YWRPmUrPSzF92BMdSBtFXwuDuZtWTZ6fwR0tJmxO+t1IT4KXsxbqqehhdt4lQw4l3aJP+apVp26UlMNsXlbwg6BRiyfjDBtCMMERUIEE6+XgRdwgOpILITibMzR8IE1bm+IKHOfCvV8qjfmthBtFExPL9W47Jcr6oE42LDk0mt9ClD0Y32RF/qI8uU3Hh9vAX8lVJO8ZDS/ukVtIK9MFvwvyjTvVNSh5a61WQpNb99xlgSEW2M4tJjAsG2ouL9TlxnvYoBMS97Wdc1kxNnOyTR52WlnQR33zQdMvDGdZCuG3cgPPxzjTV09H69+o5sN8VhTTGtBozqUa\",\"attributes\":{\"enabled\":true,\"nbf\":1547150747,\"exp\":1578687347,\"created\":1547151347,\"updated\":1547151347,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=SelfSignedJavaPkcs12\",\"ekus\":[\"1.3.6.1.5.5.7.3.1\",\"1.3.6.1.5.5.7.3.2\"],\"key_usage\":[\"digitalSignature\",\"keyEncipherment\"],\"validity_months\":12,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"AutoRenew\"}}],\"issuer\":{\"name\":\"Self\"},\"attributes\":{\"enabled\":true,\"created\":1547151326,\"updated\":1547151326}},\"pending\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/pending\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/createSelfSignedJavaPkcs12/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:09 GMT", + "content-length" : "102", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6604ff4b-e269-4fea-894c-d7ed6fa6ffbf", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: createSelfSignedJavaPkcs12\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/createSelfSignedJavaPkcs12?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:16:10 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a2fd2485-06df-4c42-9c39-fde22eb9bd59", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForKeyOperationsTest.json index f6564eef808f7..ce94beb1132fc 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForKeyOperationsTest.json @@ -1,407 +1,407 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:49 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2d896176-5d8c-4860-9604-e10d6528cfc8", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:49 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9724b717-7d72-4fea-8aae-d261e03fa836", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:50 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1cf6b7d2-47a3-4381-bb99-fd1e9daa9283", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:50 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "be837db5-fd31-4a23-850e-f2c86e596deb", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:50 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "712073fb-e35a-45fa-9d0c-da101a445d9b", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:50 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "74b4fc53-afcb-4b9a-a17f-b51c425da97f", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:50 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6c679975-821d-42f2-8dbd-1695306c2c67", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:51 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2dba127f-54bb-46bf-9094-02b41e9b3043", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:51 GMT", - "content-length" : "670", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "35233a96-9bc4-4f32-898e-4abeafb7d32e", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949436991,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:51 GMT", - "content-length" : "803", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1337f42a-4597-48f1-9f3e-91057581ef63", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152191,\"scheduledPurgeDate\":1554928191,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949436991,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:52 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5ab1d923-bb94-4e1e-a951-adeab8bbbafd", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:02 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "98e2290c-84d2-44da-abf3-72090f13faf3", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:12 GMT", - "content-length" : "803", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "977474c3-7c92-401d-8038-cac7f60fe2ab", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152191,\"scheduledPurgeDate\":1554928191,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949436991,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:12 GMT", - "content-length" : "67", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7c013f7f-0fca-45f4-9b86-f0c57d212cb0", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Key not found: javaKey\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:12 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6da16364-7a38-467d-9d62-4a659ea17e38", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:49 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2d896176-5d8c-4860-9604-e10d6528cfc8", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:49 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9724b717-7d72-4fea-8aae-d261e03fa836", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:50 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1cf6b7d2-47a3-4381-bb99-fd1e9daa9283", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:50 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "be837db5-fd31-4a23-850e-f2c86e596deb", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:50 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "712073fb-e35a-45fa-9d0c-da101a445d9b", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:50 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "74b4fc53-afcb-4b9a-a17f-b51c425da97f", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:50 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6c679975-821d-42f2-8dbd-1695306c2c67", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152189,\"updated\":1547152189,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:51 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2dba127f-54bb-46bf-9094-02b41e9b3043", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:51 GMT", + "content-length" : "670", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "35233a96-9bc4-4f32-898e-4abeafb7d32e", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949436991,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:51 GMT", + "content-length" : "803", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1337f42a-4597-48f1-9f3e-91057581ef63", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152191,\"scheduledPurgeDate\":1554928191,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949436991,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:52 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5ab1d923-bb94-4e1e-a951-adeab8bbbafd", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:02 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "98e2290c-84d2-44da-abf3-72090f13faf3", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:12 GMT", + "content-length" : "803", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "977474c3-7c92-401d-8038-cac7f60fe2ab", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152191,\"scheduledPurgeDate\":1554928191,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/0bfb73c3d5c444939b76cd855706177f\",\"kty\":\"RSA\",\"key_ops\":[\"sign\",\"verify\"],\"n\":\"iklsQgYIpSY4w2XHegIzlI_ROMvpWOWykXyvVXS_kpySPUgWn0SMN3KgdvgMxxt_WAJPYRbu9Xq3rCJB2pjJeQr_BF9Nl-Cowf8B2p1txl-pmE-N-3XtBsbL4cjkO2RHdrrK6MsIQspG6ZgLps6PI8L73igtF1AAvtAZw0QuVlnzbPoCTa64zXMPDUOP6gi4897yzLmxn_VtAZOu_RvM7HElWXHNHUtQvgIkuaj9sBjJa9_as_QmVi7h5H8LpjzT9uAmorjy_3NHgo2xQhkSXss0jb_iDmyST1QoxUpBK9FZLUkfr5Mw6Gu5nD1pY-57ec2a1d8h1qwMm0_9cU2EzQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":949436991,\"exp\":2527360191,\"created\":1547152189,\"updated\":1547152191,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:12 GMT", + "content-length" : "67", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7c013f7f-0fca-45f4-9b86-f0c57d212cb0", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Key not found: javaKey\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:12 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6da16364-7a38-467d-9d62-4a659ea17e38", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForSecretOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForSecretOperationsTest.json index b915b2e5af498..34301f23929df 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForSecretOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/crudOperationsForSecretOperationsTest.json @@ -1,407 +1,407 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:08 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3750e274-8f84-4203-a007-c7f7bea29752", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:08 GMT", - "content-length" : "269", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fcec21e0-ce40-458d-89f6-8cfd1b4bf177", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:08 GMT", - "content-length" : "269", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a72c9be7-96a6-4d51-9752-ddf01f3106c3", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:08 GMT", - "content-length" : "269", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7d841e4c-7fef-4045-b2b7-81e5a1c38f2d", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:09 GMT", - "content-length" : "269", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "97185d98-b735-4272-8070-52312650e884", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:09 GMT", - "content-length" : "269", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "233e30b4-d99c-46b3-b652-0d45f99f552c", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:09 GMT", - "content-length" : "284", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f1bec618-7339-4d15-a5d7-1fb4c1321b83", - "Body" : "{\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:10 GMT", - "content-length" : "301", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3a917405-44a2-456b-93a1-eb7199953064", - "Body" : "{\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"nbf\":949442230,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"rex\":\"woof\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:10 GMT", - "content-length" : "440", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bb2677aa-1462-41ad-b31d-2367d806b2a9", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret\",\"deletedDate\":1547157430,\"scheduledPurgeDate\":1554933430,\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"nbf\":949442230,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"rex\":\"woof\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:10 GMT", - "content-length" : "84", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bbb9b4f5-25f2-48b2-ad68-a949dca71c87", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: crudSecret\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:20 GMT", - "content-length" : "84", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "45c71def-97a0-4769-b0b6-193aa218996c", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: crudSecret\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:31 GMT", - "content-length" : "84", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5edd03a4-0207-44be-85fe-c3cbddca9c8d", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: crudSecret\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:41 GMT", - "content-length" : "440", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4e1b5da8-682f-45e5-9920-544941905e0f", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret\",\"deletedDate\":1547157430,\"scheduledPurgeDate\":1554933430,\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"nbf\":949442230,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"rex\":\"woof\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:42 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2aa1910a-b4d1-41e7-85a6-006268bef7a9", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Secret not found: crudSecret\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:42 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "70e835ec-f04c-4e84-9dd8-34a990c26d70", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:08 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3750e274-8f84-4203-a007-c7f7bea29752", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:08 GMT", + "content-length" : "269", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fcec21e0-ce40-458d-89f6-8cfd1b4bf177", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:08 GMT", + "content-length" : "269", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a72c9be7-96a6-4d51-9752-ddf01f3106c3", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:08 GMT", + "content-length" : "269", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7d841e4c-7fef-4045-b2b7-81e5a1c38f2d", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:09 GMT", + "content-length" : "269", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "97185d98-b735-4272-8070-52312650e884", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:09 GMT", + "content-length" : "269", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "233e30b4-d99c-46b3-b652-0d45f99f552c", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"created\":1547157428,\"updated\":1547157428,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:09 GMT", + "content-length" : "284", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f1bec618-7339-4d15-a5d7-1fb4c1321b83", + "Body" : "{\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:10 GMT", + "content-length" : "301", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3a917405-44a2-456b-93a1-eb7199953064", + "Body" : "{\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"nbf\":949442230,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"rex\":\"woof\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:10 GMT", + "content-length" : "440", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bb2677aa-1462-41ad-b31d-2367d806b2a9", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret\",\"deletedDate\":1547157430,\"scheduledPurgeDate\":1554933430,\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"nbf\":949442230,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"rex\":\"woof\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:10 GMT", + "content-length" : "84", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bbb9b4f5-25f2-48b2-ad68-a949dca71c87", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: crudSecret\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:20 GMT", + "content-length" : "84", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "45c71def-97a0-4769-b0b6-193aa218996c", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: crudSecret\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:31 GMT", + "content-length" : "84", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5edd03a4-0207-44be-85fe-c3cbddca9c8d", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: crudSecret\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:41 GMT", + "content-length" : "440", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4e1b5da8-682f-45e5-9920-544941905e0f", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret\",\"deletedDate\":1547157430,\"scheduledPurgeDate\":1554933430,\"contentType\":\"application/html\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/04b9e3b399dd4f0db9c1747240dce0f8\",\"attributes\":{\"enabled\":true,\"nbf\":949442230,\"exp\":2527365430,\"created\":1547157428,\"updated\":1547157430,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"rex\":\"woof\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/crudSecret/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:42 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2aa1910a-b4d1-41e7-85a6-006268bef7a9", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Secret not found: crudSecret\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/crudSecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:42 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "70e835ec-f04c-4e84-9dd8-34a990c26d70", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/deserializeWithExtraFieldTestForSecretOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/deserializeWithExtraFieldTestForSecretOperationsTest.json index 723a9ae601f8e..ba5f37f8f8555 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/deserializeWithExtraFieldTestForSecretOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/deserializeWithExtraFieldTestForSecretOperationsTest.json @@ -1,4 +1,4 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ ] +{ + "networkCallRecords" : [ ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/disabledSecretGetForSecretOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/disabledSecretGetForSecretOperationsTest.json index f30e3a6647d4a..d6a7d935f8715 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/disabledSecretGetForSecretOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/disabledSecretGetForSecretOperationsTest.json @@ -1,137 +1,137 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:44 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1a134ca2-48d4-43aa-8005-77aa297c5b4e", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:45 GMT", - "content-length" : "274", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "201dad8a-a8c4-4165-9522-38f90c34ca8b", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret/866ee42a6f1a4b779840d7213f2d97e9\",\"attributes\":{\"enabled\":false,\"created\":1547157465,\"updated\":1547157465,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret/866ee42a6f1a4b779840d7213f2d97e9?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:45 GMT", - "content-length" : "132", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c120212b-8d61-4108-a65a-6dc6133cb807", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation get is not allowed on a disabled secret.\",\"innererror\":{\"code\":\"SecretDisabled\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:45 GMT", - "content-length" : "361", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "61fb33ca-8eb2-4747-acb3-c70040fb48ea", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/disabledsecret\",\"deletedDate\":1547157465,\"scheduledPurgeDate\":1554933465,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret/866ee42a6f1a4b779840d7213f2d97e9\",\"attributes\":{\"enabled\":false,\"created\":1547157465,\"updated\":1547157465,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/disabledsecret?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:58:25 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b72f5cb5-4b59-41ef-9af7-807004d648fc", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:44 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1a134ca2-48d4-43aa-8005-77aa297c5b4e", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:45 GMT", + "content-length" : "274", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "201dad8a-a8c4-4165-9522-38f90c34ca8b", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret/866ee42a6f1a4b779840d7213f2d97e9\",\"attributes\":{\"enabled\":false,\"created\":1547157465,\"updated\":1547157465,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret/866ee42a6f1a4b779840d7213f2d97e9?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:45 GMT", + "content-length" : "132", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c120212b-8d61-4108-a65a-6dc6133cb807", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation get is not allowed on a disabled secret.\",\"innererror\":{\"code\":\"SecretDisabled\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:45 GMT", + "content-length" : "361", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "61fb33ca-8eb2-4747-acb3-c70040fb48ea", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/disabledsecret\",\"deletedDate\":1547157465,\"scheduledPurgeDate\":1554933465,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/disabledsecret/866ee42a6f1a4b779840d7213f2d97e9\",\"attributes\":{\"enabled\":false,\"created\":1547157465,\"updated\":1547157465,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/disabledsecret?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:58:25 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b72f5cb5-4b59-41ef-9af7-807004d648fc", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/encryptDecryptOperationsForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/encryptDecryptOperationsForKeyOperationsTest.json index d315c4f5afbea..2182ccd73fd0f 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/encryptDecryptOperationsForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/encryptDecryptOperationsForKeyOperationsTest.json @@ -1,166 +1,166 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:03 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1af570c0-e5c1-45f9-98ce-f9b3b94a36aa", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:04 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "591e7a44-53e7-4b2f-9ee1-389aa6809b5c", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//encrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:04 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2ab9b44d-e9da-45ea-b3b1-70103b393066", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"KurD21M8Ajh9QWzxFRZYJGfkLlCvchkisUhuhfU6v6D27mtv2ggvu-nYp2xc5pabO2VQJzUpKCIhWW-1wmQ0ltMzxKJWG6auLrQTdCy0_iq85bVH64CHCIzfP_6-HNhCZvBm19_6IpiwKImCKC-ZPX42Fsfx7exh-nnJZ9fO-puLRZ_L3AFVid7zHZ_d1dTaLOm-9EoDFNloZ3trES5ZHmJn3ZF_7BcM8BwRw4-gSZbKzVbb69FWSoKb3mqPsvG26B7AuDmxU-8HBwJb-uc_82BVcM64dnRBhGgqg9iZE6k1vyk9Y7UD036jaY_h-Blvj_oQrJYl9u-hB0wRU0tsvA\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//decrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:04 GMT", - "content-length" : "241", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ee4c6f13-d167-4f34-a0c5-d5c7622c6e00", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142/encrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:04 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e6926d52-823b-493a-8d3e-2bbb6f6fc7b7", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"Bmg_ZMIXbQTdfFoH6BeCIr6DjT9p2VxuDktvYv-LEeCVYuOclLE9ZyO2kDHuezffrIXbhDiGVJlmTRgjIdcL8fHw6yunNGb3HOBLT-rKZZlh3myy2deLyh-AgLjfTbBY9wc9WYsWTyQF4TjzmA-R0Nls5x0cVZnRBt6w-F_MEHIEOqmUVBESFvplXJuHXtcx6qAHp7p07X_wsvNgbmCFA5w5w-LXynN--kr5nw1Ax_yiMJHgUARS_qvjU-jhNT-JIzYkGkoGe40LgXrL-QVWJMsiAtQoD4kIoIq2xT4E4SBiTyGWlaHgk0K7cDvc5-qbQ3z6vRQJP2rCzwvdAO9uxg\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142/decrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:04 GMT", - "content-length" : "241", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "39583ec1-d599-4456-ac0a-ee8ff6eaf0c4", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:03 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1af570c0-e5c1-45f9-98ce-f9b3b94a36aa", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:04 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "591e7a44-53e7-4b2f-9ee1-389aa6809b5c", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//encrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:04 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2ab9b44d-e9da-45ea-b3b1-70103b393066", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"KurD21M8Ajh9QWzxFRZYJGfkLlCvchkisUhuhfU6v6D27mtv2ggvu-nYp2xc5pabO2VQJzUpKCIhWW-1wmQ0ltMzxKJWG6auLrQTdCy0_iq85bVH64CHCIzfP_6-HNhCZvBm19_6IpiwKImCKC-ZPX42Fsfx7exh-nnJZ9fO-puLRZ_L3AFVid7zHZ_d1dTaLOm-9EoDFNloZ3trES5ZHmJn3ZF_7BcM8BwRw4-gSZbKzVbb69FWSoKb3mqPsvG26B7AuDmxU-8HBwJb-uc_82BVcM64dnRBhGgqg9iZE6k1vyk9Y7UD036jaY_h-Blvj_oQrJYl9u-hB0wRU0tsvA\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//decrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:04 GMT", + "content-length" : "241", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ee4c6f13-d167-4f34-a0c5-d5c7622c6e00", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142/encrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:04 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e6926d52-823b-493a-8d3e-2bbb6f6fc7b7", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"Bmg_ZMIXbQTdfFoH6BeCIr6DjT9p2VxuDktvYv-LEeCVYuOclLE9ZyO2kDHuezffrIXbhDiGVJlmTRgjIdcL8fHw6yunNGb3HOBLT-rKZZlh3myy2deLyh-AgLjfTbBY9wc9WYsWTyQF4TjzmA-R0Nls5x0cVZnRBt6w-F_MEHIEOqmUVBESFvplXJuHXtcx6qAHp7p07X_wsvNgbmCFA5w5w-LXynN--kr5nw1Ax_yiMJHgUARS_qvjU-jhNT-JIzYkGkoGe40LgXrL-QVWJMsiAtQoD4kIoIq2xT4E4SBiTyGWlaHgk0K7cDvc5-qbQ3z6vRQJP2rCzwvdAO9uxg\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142/decrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:04 GMT", + "content-length" : "241", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "39583ec1-d599-4456-ac0a-ee8ff6eaf0c4", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importCertificatePkcs12ForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importCertificatePkcs12ForCertificateOperationsTest.json index 26e1562a8c4da..1a2427652241c 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importCertificatePkcs12ForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importCertificatePkcs12ForCertificateOperationsTest.json @@ -1,245 +1,245 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:13 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cd5f24cf-e809-432e-bc0c-fb26a1fb3772", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:13 GMT", - "content-length" : "1832", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4f530c2a-1957-49ae-9d91-17d1a95eb47b", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150893,\"updated\":1547150893}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:14 GMT", - "content-length" : "3558", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5b886689-c4ee-4a64-9f8a-d8d8d0a07394", - "Body" : "{\"value\":\"MIIJKAIBAzCCCOgGCSqGSIb3DQEHAaCCCNkEggjVMIII0TCCBfoGCSqGSIb3DQEHAaCCBesEggXnMIIF4zCCBd8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjHcCOHBv9sTgICB9AEggTYyuWdpgBmMbf9rbrvyyGe3HXVyXZgpepgNbQeGjS5eFypOSe1H1LZoV+zTltAOgpUJX85pm5CFXb8RmcE16ojQ8hEZkcuJXcRI+07ovGz6bbSNq7V9ljM62TwUMNemhUTsqs1IEy9VRCddrRzDwfUqMnrhJAyPZ+jMg7MjyHtEqdPRMMeaadYv5cuksr8I21GTFJBHwDPCqs6YGRWAZPk2wr1F08WoQ3usWOwXGPvUUB7C2jt1DQGF56cDo6kEDHAPWpHSz8Z7oZDMWCx6jWJ6tSMSAVkuH3mcmW71dbLOTGdG7yN0tw8NYW0/Rd3BsjQ/tCWrt/+KS3u5doremlw+3bEQR7mnx+4YDtvBH29shRCxUA3luDx1j1nQnT0Ua57VEfk15lVpcqlHb+Xoaw71AB7UaWjX4/fgqJfhpfj0eqsu1i8ogxq5kj2eEw23NzpnpwmLfTRXxrDN8PeAPv/L1Nz/ch9KVe6xSiuAZ4WWwi/UBtRoVRBuBC7Awv6NdweRn2GQOQ5LlmG/1upp348paZ9i1GNHOavH3PSAcVJdk4gmbbkxcHf+Wo/CJOVtcu1MIwe2tGInHfmnapMO/MetTR70LJ5AUN8kWIY9xDX1nF78rjyUHxQCL4Kho3JNDbvfR/p6nq5npiLZ+8TTVRdg4luH7YbwfkWVlpUKzYyCXbISe+LCTrktr7jODei2NiBMABd25AWLWftVTwX1sdhe5VBOw2W5IMXPi2KGZLOID+jOH9v5ZKTe0O+dCpmeRR+yzDBG2HVdJOapPGNXgAONagGBug9VsH1K6CUMRw/i9ciCesZmk/v9KTHyBhDjHQZwHEx4dP/Ujn8YWyDhXE1TFwkE2SBQ2OtZMa9/gkPGwi4KFssTwK8jyCbt5+nIsPsHs5qSB4Fd6bSEua/wZtuVf8fnpa5yIzsBs2LXoTdFp4/ljbQR+6W2ZV4JEeyVv42usNBDHVCcjQ5mY8s1Bgn1WrbMNRFxzwI2B96oZwAR7HEdr7yCmY2lSLaGujHQLxTrflxNfmp5f/xDCGFlcb4we+LKvoApnbrRzHDtGbihF2ChYFEkNQXD4mgX6MvgehOrnTHgyohj4Kgg7pJAS5UMl2lodLd5T0/W8PPJ+ravyt6LSQWlmx5hjqa6wUP779/Z+2EC7ft3gutA9yhx2NjIHhIb2Sw7DXz7gpbKJVAc0DkRHIeplrZfWKta6Cw4c2zAgh/fJGqwd9xQPWWq58vM99RgHbxern6sqkkmBAcls8CLFempIzdQn42QObzESpOMRO7U6nYlmpGtxDSnwPQfO6hzOzRvY9Ahs5UJaIogZ5D4WiFCw+re+2+NCehGlqOKPm6yGqvDCNRzhpuLQ2pz3T5MMui5CLBHKrtzG8JG1D4cFon9W4kyDZR81C7Bv2QKAA+6JTrFzkCptR/882mBPN8X98pDemzTDfxWEgsf8KXnQKOfjKtCQcBT3QUVcAzYGsx+UgRAIskVNDjPb6ntNeHZByovIzO432CIobHuzZPNY5RNRudlCr3chGi59+ZbO5/M13olPUaPpuZPl/bEMOg+FdszviveQOlayqqcWQNd2L8hZCUs6qTN7AGr6rsp6a0IOvnxNg95JpYp0fC2VbORlglviB0ihmdQmH1Z7CQ4+turlNKqTGBzTATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAOAAwAGQAZgBmADgANgAtAGUAOQA2AGUALQA0ADIAMgA0AC0AYQBhADEAMQAtAGIAZAAxADkANABkADUAYQA2AGIANwA3MF0GCSsGAQQBgjcRATFQHk4ATQBpAGMAcgBvAHMAbwBmAHQAIABTAHQAcgBvAG4AZwAgAEMAcgB5AHAAdABvAGcAcgBhAHAAaABpAGMAIABQAHIAbwB2AGkAZABlAHIwggLPBgkqhkiG9w0BBwagggLAMIICvAIBADCCArUGCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECObcnoLV1D+3AgIH0ICCAohj2hLwzQOkqfax1OworHjXnFX7dtHAKtQJSWxkrkktg1EL2kmAMMlAdD65Q1nn5W1SSybq+kNcR6O00mXsXn7EnmF49/LFNRITL/BfF2qZ+ryAZEiKVikQoYwUypXo9tN5IwcZW60oKvnPrkc9ptj8IRo0DpTn4FYeLTxumVsyxDXcMnuE1XQut4SEjdHLULPMPMFsCFV/kxYRWKO38m34o61rX1+UUNoaiL1UEs/GpKMnZZuhrK8TzVgtjgEY9VgVE4QYdsf0079jhA1AKR+Jb47qlsRcFNLU59h/uXVkPUE6Ylj33YdQKTPGSoEMcRBP4mtBxzaNxgrJuNIQNZ65ikHtEiitck6OrIyK5ALBPL3Kzkc7596vm1//ldlkuvhY3fjBGrqf0Rv+PtuUllJ/kvra9K59lveiae5lw1oGrS+xxGBlEl+Uu152QECYRZoHDe90DfIUCo1faOR+c+ekJFZAesOdClxpvv0T5xVsZYS/jzODIxOOKtacqJa2nd1yXV7i3Z9FajoSdN2BIdxfTiMAKkLksWyaG4XXA7wU13vYTyLneUxaJt1AChT2C41wf8CjYxf1lG8rGskSXQuJWv3a9oF4YJJIA+pSskK5ReC790cwqccifQV3ORDKV+QpYD4SPri+N8NyUfO9/KpJDlWHjEKYgPL5imSsPFAfox7v0U7JbHKeem4cLllrlh9eFk5Pw0KH8mYTIIbrDMZpGe8yw1HOmqMTNYyjZMfwgGQxdJ2XehvdzqTqabMcUt2OSTJQCX4sJTsoI8JHoS18lz6DS45juzrKbQXGbzuf+m2io4OI3Zyhw6FO+3Naex38qXoQBPJjYWc1Sv3IFDsMyECNyMtSNFAwNzAfMAcGBSsOAwIaBBTKNA64YLrBB9L1vvU6qE7lvrZU8AQULbKXVgFE2m0EMrY7K0nf2ZtaYc0=\",\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:14 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2b034a23-cf87-461d-afe5-c346eac0c9e4", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs\",\"deletedDate\":1547150895,\"scheduledPurgeDate\":1554926895,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150893,\"updated\":1547150893}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:14 GMT", - "content-length" : "98", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4586e83d-5524-4010-830c-58a8b24af80c", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: importCertPkcs\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:25 GMT", - "content-length" : "98", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "82dc0dee-4962-4a95-b7d8-511fea95ce6f", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: importCertPkcs\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:35 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "eb891dea-898e-4ad5-bfa0-cc036d69575a", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs\",\"deletedDate\":1547150895,\"scheduledPurgeDate\":1554926895,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150893,\"updated\":1547150893}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:35 GMT", - "content-length" : "90", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1c3450d1-8c96-4409-ad70-7e7678650e3b", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: importCertPkcs\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:35 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b92545be-7adb-4459-8eb0-f52d2d2eb843", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:13 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cd5f24cf-e809-432e-bc0c-fb26a1fb3772", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:13 GMT", + "content-length" : "1832", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4f530c2a-1957-49ae-9d91-17d1a95eb47b", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150893,\"updated\":1547150893}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:14 GMT", + "content-length" : "3558", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5b886689-c4ee-4a64-9f8a-d8d8d0a07394", + "Body" : "{\"value\":\"MIIJKAIBAzCCCOgGCSqGSIb3DQEHAaCCCNkEggjVMIII0TCCBfoGCSqGSIb3DQEHAaCCBesEggXnMIIF4zCCBd8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjHcCOHBv9sTgICB9AEggTYyuWdpgBmMbf9rbrvyyGe3HXVyXZgpepgNbQeGjS5eFypOSe1H1LZoV+zTltAOgpUJX85pm5CFXb8RmcE16ojQ8hEZkcuJXcRI+07ovGz6bbSNq7V9ljM62TwUMNemhUTsqs1IEy9VRCddrRzDwfUqMnrhJAyPZ+jMg7MjyHtEqdPRMMeaadYv5cuksr8I21GTFJBHwDPCqs6YGRWAZPk2wr1F08WoQ3usWOwXGPvUUB7C2jt1DQGF56cDo6kEDHAPWpHSz8Z7oZDMWCx6jWJ6tSMSAVkuH3mcmW71dbLOTGdG7yN0tw8NYW0/Rd3BsjQ/tCWrt/+KS3u5doremlw+3bEQR7mnx+4YDtvBH29shRCxUA3luDx1j1nQnT0Ua57VEfk15lVpcqlHb+Xoaw71AB7UaWjX4/fgqJfhpfj0eqsu1i8ogxq5kj2eEw23NzpnpwmLfTRXxrDN8PeAPv/L1Nz/ch9KVe6xSiuAZ4WWwi/UBtRoVRBuBC7Awv6NdweRn2GQOQ5LlmG/1upp348paZ9i1GNHOavH3PSAcVJdk4gmbbkxcHf+Wo/CJOVtcu1MIwe2tGInHfmnapMO/MetTR70LJ5AUN8kWIY9xDX1nF78rjyUHxQCL4Kho3JNDbvfR/p6nq5npiLZ+8TTVRdg4luH7YbwfkWVlpUKzYyCXbISe+LCTrktr7jODei2NiBMABd25AWLWftVTwX1sdhe5VBOw2W5IMXPi2KGZLOID+jOH9v5ZKTe0O+dCpmeRR+yzDBG2HVdJOapPGNXgAONagGBug9VsH1K6CUMRw/i9ciCesZmk/v9KTHyBhDjHQZwHEx4dP/Ujn8YWyDhXE1TFwkE2SBQ2OtZMa9/gkPGwi4KFssTwK8jyCbt5+nIsPsHs5qSB4Fd6bSEua/wZtuVf8fnpa5yIzsBs2LXoTdFp4/ljbQR+6W2ZV4JEeyVv42usNBDHVCcjQ5mY8s1Bgn1WrbMNRFxzwI2B96oZwAR7HEdr7yCmY2lSLaGujHQLxTrflxNfmp5f/xDCGFlcb4we+LKvoApnbrRzHDtGbihF2ChYFEkNQXD4mgX6MvgehOrnTHgyohj4Kgg7pJAS5UMl2lodLd5T0/W8PPJ+ravyt6LSQWlmx5hjqa6wUP779/Z+2EC7ft3gutA9yhx2NjIHhIb2Sw7DXz7gpbKJVAc0DkRHIeplrZfWKta6Cw4c2zAgh/fJGqwd9xQPWWq58vM99RgHbxern6sqkkmBAcls8CLFempIzdQn42QObzESpOMRO7U6nYlmpGtxDSnwPQfO6hzOzRvY9Ahs5UJaIogZ5D4WiFCw+re+2+NCehGlqOKPm6yGqvDCNRzhpuLQ2pz3T5MMui5CLBHKrtzG8JG1D4cFon9W4kyDZR81C7Bv2QKAA+6JTrFzkCptR/882mBPN8X98pDemzTDfxWEgsf8KXnQKOfjKtCQcBT3QUVcAzYGsx+UgRAIskVNDjPb6ntNeHZByovIzO432CIobHuzZPNY5RNRudlCr3chGi59+ZbO5/M13olPUaPpuZPl/bEMOg+FdszviveQOlayqqcWQNd2L8hZCUs6qTN7AGr6rsp6a0IOvnxNg95JpYp0fC2VbORlglviB0ihmdQmH1Z7CQ4+turlNKqTGBzTATBgkqhkiG9w0BCRUxBgQEAQAAADBXBgkqhkiG9w0BCRQxSh5IAGEAOAAwAGQAZgBmADgANgAtAGUAOQA2AGUALQA0ADIAMgA0AC0AYQBhADEAMQAtAGIAZAAxADkANABkADUAYQA2AGIANwA3MF0GCSsGAQQBgjcRATFQHk4ATQBpAGMAcgBvAHMAbwBmAHQAIABTAHQAcgBvAG4AZwAgAEMAcgB5AHAAdABvAGcAcgBhAHAAaABpAGMAIABQAHIAbwB2AGkAZABlAHIwggLPBgkqhkiG9w0BBwagggLAMIICvAIBADCCArUGCSqGSIb3DQEHATAcBgoqhkiG9w0BDAEGMA4ECObcnoLV1D+3AgIH0ICCAohj2hLwzQOkqfax1OworHjXnFX7dtHAKtQJSWxkrkktg1EL2kmAMMlAdD65Q1nn5W1SSybq+kNcR6O00mXsXn7EnmF49/LFNRITL/BfF2qZ+ryAZEiKVikQoYwUypXo9tN5IwcZW60oKvnPrkc9ptj8IRo0DpTn4FYeLTxumVsyxDXcMnuE1XQut4SEjdHLULPMPMFsCFV/kxYRWKO38m34o61rX1+UUNoaiL1UEs/GpKMnZZuhrK8TzVgtjgEY9VgVE4QYdsf0079jhA1AKR+Jb47qlsRcFNLU59h/uXVkPUE6Ylj33YdQKTPGSoEMcRBP4mtBxzaNxgrJuNIQNZ65ikHtEiitck6OrIyK5ALBPL3Kzkc7596vm1//ldlkuvhY3fjBGrqf0Rv+PtuUllJ/kvra9K59lveiae5lw1oGrS+xxGBlEl+Uu152QECYRZoHDe90DfIUCo1faOR+c+ekJFZAesOdClxpvv0T5xVsZYS/jzODIxOOKtacqJa2nd1yXV7i3Z9FajoSdN2BIdxfTiMAKkLksWyaG4XXA7wU13vYTyLneUxaJt1AChT2C41wf8CjYxf1lG8rGskSXQuJWv3a9oF4YJJIA+pSskK5ReC790cwqccifQV3ORDKV+QpYD4SPri+N8NyUfO9/KpJDlWHjEKYgPL5imSsPFAfox7v0U7JbHKeem4cLllrlh9eFk5Pw0KH8mYTIIbrDMZpGe8yw1HOmqMTNYyjZMfwgGQxdJ2XehvdzqTqabMcUt2OSTJQCX4sJTsoI8JHoS18lz6DS45juzrKbQXGbzuf+m2io4OI3Zyhw6FO+3Naex38qXoQBPJjYWc1Sv3IFDsMyECNyMtSNFAwNzAfMAcGBSsOAwIaBBTKNA64YLrBB9L1vvU6qE7lvrZU8AQULbKXVgFE2m0EMrY7K0nf2ZtaYc0=\",\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:14 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2b034a23-cf87-461d-afe5-c346eac0c9e4", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs\",\"deletedDate\":1547150895,\"scheduledPurgeDate\":1554926895,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150893,\"updated\":1547150893}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:14 GMT", + "content-length" : "98", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4586e83d-5524-4010-830c-58a8b24af80c", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: importCertPkcs\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:25 GMT", + "content-length" : "98", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "82dc0dee-4962-4a95-b7d8-511fea95ce6f", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: importCertPkcs\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:35 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "eb891dea-898e-4ad5-bfa0-cc036d69575a", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs\",\"deletedDate\":1547150895,\"scheduledPurgeDate\":1554926895,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/importCertPkcs/2b6aea9a1daf43cd86ee50ad058d2db6\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150893,\"updated\":1547150893,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150893,\"updated\":1547150893}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/importCertPkcs/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:35 GMT", + "content-length" : "90", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1c3450d1-8c96-4409-ad70-7e7678650e3b", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Certificate not found: importCertPkcs\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/importCertPkcs?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:35 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b92545be-7adb-4459-8eb0-f52d2d2eb843", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importKeyOperationForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importKeyOperationForKeyOperationsTest.json index 313c0879f38e9..5e499fcbb33f1 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importKeyOperationForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/importKeyOperationForKeyOperationsTest.json @@ -1,193 +1,193 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:46 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "09c6c275-57cc-414f-b849-5256baf616aa", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:47 GMT", - "content-length" : "674", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b1639901-888d-41f9-a96d-f12e3fc9424b", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":947536187,\"exp\":2525459387,\"created\":1547152187,\"updated\":1547152187,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e/encrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:47 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0159e62e-f78c-49d7-bf23-313951f1866c", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e\",\"value\":\"M2nm5dFJH7u95jPG1adv7VAbPShpfgypY2z0cyzaVYZHNadg8BFhxIkTpmHKPb57DgJJX8GCfOZzwYLxV6rMNDB-zZFdqrHqJLw3l0vKY7pknTvQU4XD76y74rqlUI9o0Ae25OFN682k8nQOmWdJKWyNLFu0zIRuSWJ4YP3LHuOBNSauv5NDZ0Pql0FXHYxDy--2Vr_AAqMdZKjyvk-c3VUaOCfb2ZpY-3l-4i6APdxxtR5rkh1nesgs69OqXjlaH8HkPZYW8sJPsNAuyDaWDiha2X-SoYeEZ5om6JMrwfa9-1go27IGCim6wdz8BeK_hpNsJoeZ-ZHM7ptFupZ2UQ\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e/decrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:47 GMT", - "content-length" : "241", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d983be40-e5ad-4ad0-baea-e968516143d9", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:47 GMT", - "content-length" : "678", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fa968528-2793-464d-aa9f-a529b5fc38f9", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d\",\"kty\":\"RSA-HSM\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":947536188,\"exp\":2525459388,\"created\":1547152188,\"updated\":1547152188,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d/encrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:48 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "14ff2d29-18fa-4ac2-84f1-6730046732a9", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d\",\"value\":\"Lm9t1-xe6jqYaq861DbyIoKzey3OS1P2h8ldOg1ueDkYvC2LvP3UCGo1yvpJgiYlqQC95tbTECMHTLRvUsSM6pLAqPTWPhQGGoEPe59BrqCtzL5Cbc_YGIUalfp8IaP9QuiHeztqNKNw83P1ivnzuFG_msNh5MZCbCCURKyMQC3e8OLxf5wGuB5APPFFyo0tst64h9c2tYs2AQsMy0SRWlp22qz2zMv9ZYqrjfLZ-QOCPbGlwIC_6DtbWuQEgfJp0o6gFxO788Odu06VfNURid8A9tV2exk1ULos0weNM-ZKtcj4uKJ00f-KdQSm1uSR26khXtDi87TbeUAOxfnIvQ\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d/decrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:48 GMT", - "content-length" : "241", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a8c2c241-a6a0-4e0a-a433-4bc09425cba3", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:46 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "09c6c275-57cc-414f-b849-5256baf616aa", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:47 GMT", + "content-length" : "674", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b1639901-888d-41f9-a96d-f12e3fc9424b", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":947536187,\"exp\":2525459387,\"created\":1547152187,\"updated\":1547152187,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e/encrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:47 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0159e62e-f78c-49d7-bf23-313951f1866c", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e\",\"value\":\"M2nm5dFJH7u95jPG1adv7VAbPShpfgypY2z0cyzaVYZHNadg8BFhxIkTpmHKPb57DgJJX8GCfOZzwYLxV6rMNDB-zZFdqrHqJLw3l0vKY7pknTvQU4XD76y74rqlUI9o0Ae25OFN682k8nQOmWdJKWyNLFu0zIRuSWJ4YP3LHuOBNSauv5NDZ0Pql0FXHYxDy--2Vr_AAqMdZKjyvk-c3VUaOCfb2ZpY-3l-4i6APdxxtR5rkh1nesgs69OqXjlaH8HkPZYW8sJPsNAuyDaWDiha2X-SoYeEZ5om6JMrwfa9-1go27IGCim6wdz8BeK_hpNsJoeZ-ZHM7ptFupZ2UQ\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e/decrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:47 GMT", + "content-length" : "241", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d983be40-e5ad-4ad0-baea-e968516143d9", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/983e2e74151d487086b75e4f09e4783e\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:47 GMT", + "content-length" : "678", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fa968528-2793-464d-aa9f-a529b5fc38f9", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d\",\"kty\":\"RSA-HSM\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":947536188,\"exp\":2525459388,\"created\":1547152188,\"updated\":1547152188,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d/encrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:48 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "14ff2d29-18fa-4ac2-84f1-6730046732a9", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d\",\"value\":\"Lm9t1-xe6jqYaq861DbyIoKzey3OS1P2h8ldOg1ueDkYvC2LvP3UCGo1yvpJgiYlqQC95tbTECMHTLRvUsSM6pLAqPTWPhQGGoEPe59BrqCtzL5Cbc_YGIUalfp8IaP9QuiHeztqNKNw83P1ivnzuFG_msNh5MZCbCCURKyMQC3e8OLxf5wGuB5APPFFyo0tst64h9c2tYs2AQsMy0SRWlp22qz2zMv9ZYqrjfLZ-QOCPbGlwIC_6DtbWuQEgfJp0o6gFxO788Odu06VfNURid8A9tV2exk1ULos0weNM-ZKtcj4uKJ00f-KdQSm1uSR26khXtDi87TbeUAOxfnIvQ\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d/decrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:48 GMT", + "content-length" : "241", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a8c2c241-a6a0-4e0a-a433-4bc09425cba3", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/f32db7c1fe9243a29856eee74016715d\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerAsyncForAsyncOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerAsyncForAsyncOperationsTest.json index e153762ab4c8a..3eaed942f3933 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerAsyncForAsyncOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerAsyncForAsyncOperationsTest.json @@ -1,166 +1,166 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:54 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bf7ad48b-b7e3-4097-8d01-8d84ac5847a7", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:54 GMT", - "content-length" : "169", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3e9e266d-8662-4a6f-bf76-c0c42e099275", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"Test\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152614}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:54 GMT", - "content-length" : "173", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "252efea1-6e4b-464b-bad4-c4942cf1d2c4", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152615}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:54 GMT", - "content-length" : "173", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6d48da37-e5e5-4c2c-9800-4b2030982915", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152615}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:55 GMT", - "content-length" : "376", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "300dca93-6c96-46e1-9065-30293786d1fb", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01\",\"provider\":\"Test\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01\",\"provider\":\"Test\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\"}],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:55 GMT", - "content-length" : "173", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d4cf1ea7-bbc3-4e69-90b8-8df29c95b774", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152615}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:54 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bf7ad48b-b7e3-4097-8d01-8d84ac5847a7", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:54 GMT", + "content-length" : "169", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3e9e266d-8662-4a6f-bf76-c0c42e099275", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"Test\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152614}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:54 GMT", + "content-length" : "173", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "252efea1-6e4b-464b-bad4-c4942cf1d2c4", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152615}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:54 GMT", + "content-length" : "173", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6d48da37-e5e5-4c2c-9800-4b2030982915", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152615}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:55 GMT", + "content-length" : "376", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "300dca93-6c96-46e1-9065-30293786d1fb", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPemIssuer01\",\"provider\":\"Test\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/createCertificateJavaPkcs12Issuer01\",\"provider\":\"Test\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\"}],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:55 GMT", + "content-length" : "173", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d4cf1ea7-bbc3-4e69-90b8-8df29c95b774", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/myIssuer\",\"provider\":\"SslAdmin\",\"attributes\":{\"enabled\":true,\"created\":1547152614,\"updated\":1547152615}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerCrudOperationsForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerCrudOperationsForCertificateOperationsTest.json index fe138bb986802..1dd16f4b41dee 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerCrudOperationsForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/issuerCrudOperationsForCertificateOperationsTest.json @@ -1,166 +1,166 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:11 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "872513da-d764-4ee7-82d3-8f7bb5a698fd", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:11 GMT", - "content-length" : "342", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e7b0862c-6648-4cd0-b1ca-88c48013f551", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150891}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:11 GMT", - "content-length" : "342", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "920cadcb-023c-4a86-9f55-18704aa09e81", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150891}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:11 GMT", - "content-length" : "342", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "83d9e615-6669-49a8-b4cf-db6370dc0ed9", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account2\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150892}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:12 GMT", - "content-length" : "342", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5c4d5d96-d845-44e0-984d-bf08345a93d8", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account2\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150892}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:08:12 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2119ec0f-b7a6-442d-9dc5-9bd844de12bd", - "Body" : "{\"error\":{\"code\":\"CertificateIssuerNotFound\",\"message\":\"Issuer not found\"}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:11 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "872513da-d764-4ee7-82d3-8f7bb5a698fd", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:11 GMT", + "content-length" : "342", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e7b0862c-6648-4cd0-b1ca-88c48013f551", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150891}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:11 GMT", + "content-length" : "342", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "920cadcb-023c-4a86-9f55-18704aa09e81", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account1\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150891}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:11 GMT", + "content-length" : "342", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "83d9e615-6669-49a8-b4cf-db6370dc0ed9", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account2\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150892}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:12 GMT", + "content-length" : "342", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5c4d5d96-d845-44e0-984d-bf08345a93d8", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1\",\"provider\":\"Test\",\"credentials\":{\"account_id\":\"account2\"},\"org_details\":{\"zip\":0,\"admin_details\":[{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@contoso.com\",\"phone\":\"1234567890\"}]},\"attributes\":{\"enabled\":true,\"created\":1547150891,\"updated\":1547150892}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/issuers/issuer1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:08:12 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2119ec0f-b7a6-442d-9dc5-9bd844de12bd", + "Body" : "{\"error\":{\"code\":\"CertificateIssuerNotFound\",\"message\":\"Issuer not found\"}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/keyAsyncForAsyncOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/keyAsyncForAsyncOperationsTest.json index 339769f85cccb..bb19a26e6ae67 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/keyAsyncForAsyncOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/keyAsyncForAsyncOperationsTest.json @@ -1,837 +1,837 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:32 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f7305e07-2a14-45f8-b833-52d6a5dcbc70", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:32 GMT", - "content-length" : "656", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f8369219-2a6d-413c-a8a5-40e5bdf93d10", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:33 GMT", - "content-length" : "656", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5c3ba71b-2d90-4e3e-a8f5-ba3ca887fbe3", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:33 GMT", - "content-length" : "656", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "40713134-2d52-448e-9ef9-30d6474672c4", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?maxresults=2&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:33 GMT", - "content-length" : "306", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fc000678-de62-4680-9b1a-f56b7d717ba0", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJV3RsZVM5RFVrVkJWRVZUUlV4R1UwbEhUa1ZFU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJV3RsZVM5RFVrVkJWRVZUUlV4R1UwbEhUa1ZFU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:33 GMT", - "content-length" : "294", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "20a808d4-761d-493e-b890-87e6783e3ec6", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:34 GMT", - "content-length" : "288", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cda4a3de-df96-4780-bc18-a1feb240a668", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:34 GMT", - "content-length" : "463", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4c2dc89e-5024-4d7d-9033-4414c82f2c6a", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey\",\"attributes\":{\"enabled\":true,\"created\":1547152254,\"updated\":1547152254,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:34 GMT", - "content-length" : "288", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c7097367-768f-4496-a0f2-94c42028da1d", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:35 GMT", - "content-length" : "283", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b13fe369-a3e6-4556-b2a7-36e5ff49e3f2", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4NCFNREF3TURFM0lXdGxlUzlOV1VORlVsUkpSa2xEUVZSRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4NCFNREF3TURFM0lXdGxlUzlOV1VORlVsUkpSa2xEUVZSRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:35 GMT", - "content-length" : "775", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9fb30434-eb5e-47b6-bc0b-a629a660d010", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate\",\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate2\",\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:35 GMT", - "content-length" : "696", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7ab44d0f-b6ce-45b1-ae3d-e17c5140e690", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey\",\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem\",\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"managed\":true}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlUUlV4R1UwbEhUa1ZFU2tGV1FWQkZUVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlUUlV4R1UwbEhUa1ZFU2tGV1FWQkZUVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:36 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f1181ea6-0e17-4822-9a62-50008d7deb0f", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/versions?maxresults=2&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:36 GMT", - "content-length" : "234", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1041ca33-6cbb-4fa3-b036-04dd9d3cfa13", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/backup?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:36 GMT", - "content-length" : "14134", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ca7be4ef-91d9-4691-9cef-b92ec3aab053", - "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQ0lzSW1WdVl5STZJa0V4TWpoRFFrTXRTRk15TlRZaWZRLmRxemhfYnpvSG9DVlBpZU5IaUFQSndKSnJqY1I2REs2cTFQM2RaNXJZY1dmZTlnQnpidk5xQXlpdkZRNENzSVF2djVFSDdrbDFiYU03aFNmSWgxU3JoaG0tMGpDYTVzUlpGSkdCLV83amtFbnhnYWozQ0NScVd6YUx1cUVvMFFpVmRDVTNtRjhPT3NaWVZNYTdPWlNhNXFRcktLSy04bzJocml5VFlnOFZrWXRwaXliamR4ak9KcGZZdWo5SVJfM3hrNmNnWlBCV0xvRHVSek5INGNORkJ0NXpmdUZOSjhWYms5bUdfTUUyUEU5S01aV1hHQ3dNWDVVVmhSaWh3MzI3cm96bE9JNWhhYkdiQWVYdVgyRlVWNUxtR1k1ZVRWWVlNTjdyeTB1ajJ6UkxpM0FfZ3M3X09mTXRIX3J3UmxsUHFnOU1iclAwVXI2ZHR0S0I3LU1mdy5lU3NYdElEc3VGc282WUcya29YN19nLlZlMkNfVXdid2FnRU0wNVk3Ni1xQ1FZRjJ6TndLUW95MlA3aUZmcVY3NmtqcnctUVJkbU5hOWxBZTZ2YjdmMXo2VW5KYTZCeGRjVFBWNWFsQ3Jvd0MtREdDb1JueXBmbk53Z0xyZ1N6ckJhTzBiVVpjNUNvQjVta2xFY3Q1R0FVaW4zOWtLeDJTRlVyRGRQNlgtMW1ndE41aG1rZFA1dHR4R3g3Q0xDSmdXYlFHTmxxbW5UUUdnWWlQUVBNMV8zNG5nYUl1enBnSnFJZ2dSN3o4MXYzeTFBUVB1UDRNdFlPTzV1TUZzUV9XdklKWHZuemNuSXBITTRqT3IzX000M3VzSDltVlpZTTFYQjVrbXgzaG5qdEEtTjc2bWlxMGt4V2VncEcxSjlxQjU0b1lJWlV3SlpVTTBTWFR1Uko4a0Q5UmE4S3BpdktyNlphb3dQbnBEZndaek5jS0ZnT3hsVkt3eDVTc01xT0VwejYtMkw2dEh2WG16VlNWaEZPZjBpaHFwdEZ2RVdkbTJBUUNIRVVBR2NvLXFZeVJEWGE2N2dyY0IzZy1BZ0IwRldUVEFkYzJVbVFoc2M1aGp3U1p6MDJ1TkYwZl9tUXNnczgzSzJjYjBxdG5PdHhtV2lQbkRPOHFvRXFrVWt4Y2FSdUNDSVQtWUZfdlV6NHZTOHFWZmtnbXNkdzB1T3ItRGxOeHl2SXE2YURfR1V2Mk41QmNJdTgyRDJveWFOTnpQMzktREdYYklEM2w3SW9WenBaekUxb0paM2RPbWFhRU5Ua2FvcWVDeXJCWFk5cHhJT19wZlhwNldobDhNM0dRbnhTeHdjYlBaUEh1WTJsUHNVUGRwQk5oRXZUMnRPdExjMmNtVkNuNVJkaUhWak4tZmR0VHFmbTdMdmdYWlFhbmxrV0dyZ0k2aTZEZkxqd3VtVHpUREhvMEI1NTdRcFB2QzFpY19oRlhNb2Qxdmc5dHJzRFNhWmlNS1BNYWw3X20yV1JHd2NwU0hlTnYxZUF0T3pjVUk2NzdaaE5KNTBhclpfblZnWUR4dGYwazhCT1VyQ0Z5MEhCQU4wcmxDX3VDdC1SM3Y2U3o5TkxTbXE2NF9GakxSWjZkM1I2cHlQTTFGMUJZcmlORjNzd3pMNTRFZEFDNUlmWEktM1JzZXREcVltQWNJQjdWRENrQ3ZkUEwyUmdLZFNUNmpma1hDOWtIRVFCN3BBZk9Na01OQXpCdlEyWDlDUjBDTGlqNkdkWUd5eE5xY2hBTDVrSkQ2Mjc1QjZyaVVQaFFxcERCRDRqSDNqTzdEbzkyOUpRQWhxanpBQmNrYURKc3VPRXFRdVUwU053X3gzd1dieTBONlRibTR5SjFYQW0zMFNPNWVad1ZNWHBZdjRfQnJ3TlhhVnBjRXdQTFhYQUFXU2MyVHlubm13NzRaOVdLdi0yMmtBNGZrbWNDc1BTX3RJVXhDVnZuYmJ3bWlnU2VuMi1YcmNQUVRURmdPX3hzVGhQZ1psb0lnMUEwWXlpckJpTlJXeExxakVNQndPNkRTeWlZYlFNRFYyWXVhOXRTaG94RnNiUFE2bzBBUXFoTWNqMU5RSEwwM2QwNHBKOFE3ei1SWC1OSVFERGR1SGcyZ3RrUThwMzlPcGdCdHlQMXFxSnlDVS1fbG1WSGVhc1dnTmZjSTZsWUdXYjBMV0tNOGZUZFhZV1VGdW93YTRGMmlrQjE4aEVBc3VlN2dzNk1McXZVajFfRUpPN3BmX1o5dFNJSFg1djJqNU1oTDBNa1NPa3BwZTB3WHp0LWJwemNzU3NxbHNOTjFRZlIzSms5RURBUzRpWVQxNjhqQTNCcFRMRFVRRllwNmMtUENZSjlYTlZURHFleEZ5Nl95N01pRUhDWE9KUldVTzNsLS1OZGpnUjBnTHQxVXdLZExsQTB5UUdiQUsxYk9GUTA1VEU1QU5RV3Bsd0hfNjJJeVhMdGdPR2RfNFJWTXM2aXJuSW5MRmItNkdrWERHdnF1QldXMHAwTjJicktQR2ppUV9wV092OXlRNFpCSy1JaFZGX1c0V0pSUGlRbWt0M1hoV3NjX0Q1NUx2S1cyc2EwZnA3Ump6UmtOZndVWk9UMzhrZklxc3dWek1haDllUlVsWkpTUzFyMmxWT2JHQ2FjZkdkVkt3RmtKWFlPc1lZYzN5STYwd3Y0YnBOSlhhQnk1LS1MRXBCeG5WYXBRWWpWRXRSQ1BOdWFSV1RTR2Q4UUZYa3FZczVtVXFkQ0FLYUM3Ry1ETkI0ZTZLVVlaSnJKR2xXVlhNNXJZcnVBVVpwbE52eDBFalJiaFRlRjNwUVJHT2hSZmMtRUFNdVZ5V1FYY1VHcnBNQUgwek1vb2FvM0h5dW5QUjVVclVSQUZ6MlhCUkQ5R0N2MUd2eW04MkJqQjlLSnZxcmJkZXg1dGVhbUxUeVVBZDFYQ3k4dEtLRWdtVklzODNIT1lBODVYdVJxdGVjUTB6X1hmZ0JjVVlucEpaQWZNcTY3czIta0tpbTNnRGVGTEFaRlc2ZHJXVHp5N0ZvaXJoNXc0V3VFWHIwbzZvMzdQZXpSTk96TGJtemRoNjlmVFJuMjJLSUViTTNJRzlvdGs2bHpYcmd2b1BmSWRleHN0Mk5qZFkwazkwaXdfSXZ5TGhUc2RRUFg0YUdKNTJJZ05rTDV4X0VXYU1QRUR3MzBPQXhoYlN0N3BZSWpaNFhTYmJfSkVQbEVvNFRRUzdIZXpEY0JEVFZTeTFYdkMzTTA3Z0J2TFFXNXpRNFVSSmxRNTMzTjZhUzVrOEJLcWhGVnZzZEFQeXppYUxzcG5JVjZRa1BkQUdUU095WHBzM2lWRDJXZWp0TlZKeWhBSTMzQzRQdjBzRGVkVG5OdWFXUU9XN2xydld0d0Z3bWJHSGZfd0xLTmVxSlJpM0d4N1B6ME5PVGp4bTV1UjhIRW5TZ1AxaXU5S1ZsRmZpNURhcDljVmFZZlh1cEs5bGZuR0RHOWhHc0tZZ0N3amlSUE1fTVg1LTBCbFNDdmpKV0JIS0dZUThkc3JrVVNyWTlwQjRrcUktc0NTbjZzMjA2b1FudkNRdXdFM2dGT1J0Sk5KOEJqUlhsNVNCZE5CVjk3Rl94Unc2c25KT0M4S0lvb1hSOWtTTlIzVnhsLW93NVFIaFdsYzNHU3JpZjZtR3RyeEVtZEVTdE84eGg4d1BfNnRBN0duemdDcXlpdlZoc002dnh2VW5pV0gtc1A5OHVRZGdnVDA1RTdTeTctWHFra3ppalcyRmRNVkFWbHd3LVoxUmpMSFlpUmJCWFBpcl96Z2pfZ1QtY0FEMmlLcDMxNWF2d093bU15UkhwZDdpTnl5YllTU2l0MGFiblVrbGpDVTJKQTYwU1hTWHhYbVltb1V6OWVFNHR3YUVtTmRnNWxtWDNzd0Z3bS1kUWR3MnN4VjdmRVZPSTZUNEJ1cTZ1eXdXZFU4a1ptV0piSldUOUxwSGNxakQ0WmpZSVZ6T1dnWEVMTndCWWN6UzJIUWFxUDNmTGNzYlNUc0hiQ0FxSmV2bW5yY0hsVURKb0FDdWh2UGFuclZrU3JKSVRxQ2FUUnRwQkxmSjRDNG5XYmFDUDR1bHFvdVNSb1F0UHI1VTBEcVptSk9HNXpqeG1kX2hUSjVKUG9NMWRhc1ZpbTloQ2ZLRVFNSk01cXZaVTU1a2VJR1dRUko5ZVZsUDhUNXNBdjRJSzBXOFY0T2RqMldObXlNWmxvbmVJYXZ4TEpoN2VxZUJUS1ZaZ29NZy1PMEpJdklaWnlBUThGN3FQTHFZdk8zemZ5bm9XVUJsQVBDMDRxLW9nR19zZXpWeElNM2hmQ05vSUVYbTlkMEROMDVOREx6eGc5NWdhcnFtZjkzSjc4TGJ6aTB5TVpTMHZQUldWTC1RVi1IOWpPX1BmMjh3OUUyLUVqRFhVRU5hemhERGx5XzBxbjBLWlBPSmpBN0kxakxMZzd6am5CaEFfMWtNTmM2clRlbll3dzVRbmxPdXV0RWs1Mk52ZGFHUnpKZk40em1iRTFGejg2bDhxdGliMGRQbFhicTNkc3NmS1FERnlQaWFQMl96bFN5U0dyQjNKZktUZXFCX0NyTnlfamwyTUpqZzZBWUZ3MXppMHVDZTdrYkd4YU5GaFpxbjR4aDV5WGZZc1pKWFJaaWFXbzlENGJCd2JnWXdIRGtnSzFpTjYyMlVHYzE3M2pUYk9hc282WmpOb1NGdTFmdEEzelNOak9Za3Ryc2VrY2MwM2xBemZmaF9zRzlDU3I4ZlBjeW9KWG85dmM5S0VxZEtVekNKX2w4SmNnMzRNb20yY2RQRElOTWpxX2w2eEE0NEMybmxmS3VWdXUyTzRRdjdBQ3haLVR0TTZ3RFJDUExCdXVKTTY4U2cyeHcxYmo2dnEydFdacDBfRTNsNHhaSnY3azBuT250R3B0WERTdGViMURxeDVwLWROdFp3clhtVHJXZ1g5bnIzci1KV0N2bTNvZGU4amQwaDAtSm1rX3BodWRsSWowWVdUTWpVcURVZEcxNjlsWndhYzByU1gyMWhOM2NnVl8ydlZudHc1cEhWcjdwc1lsY20zNUlPVWVOdkVneHNTVVlnWGpmYTZIN0NTQVZaRUlWeDlaZDZ1SklQeHNjX0tqWnZvZHNfN1RDTWRqSWJHbXVRUjZPblViYlhvRGo1WGdYRU5jWjA3U0ROY21ocHh4c2t1MGEydWtPdmdIamRXcHBmZFhfNHNSZ3NnTlFMbGFaWTN2Y2FBanVSb3B5ZWVoak9GRHJRazhRQ2RNS3laRU9wTnRCVjh2UjZUVGdPV2Y5a05TQzM2WFpiUG1RYlFEb05lazNBNzltS3RxT3ROZnFtbEdxRTNrMGdzclRYTWFQT3lSLVNybXBVZldlcy1QeVdyQkhfRS1XTHZ1czQ4ZXBLbDR5VHRkRzdIRjJrZnFGZzhucFdDcVEyRktYRHlXVVdFckx5SmZLXy1QYll0RTlsSGVpMXp4a2hUeDF3MUhqS0JWcGdHYzZhd0lVdDIzbHp4NlpRVE8zaEFuY3pzQWJ4X2llV3JhMUpMTm1EZk8wb1ZkR0JHandGcHpKVy1BQ3FGQURmZzFNczlQdVJ4TllVV0c3bUNyaW43YjV0Z0ZqcHExRF9HRXFRb3cwelpRSWs0UE1fNUlmMno1LXNWSHVoMDA2WlFIdkdFbHdlNWxzVXA4TDFZY2drRWdKdXd2dk11UG9XdklZSzZQTVVnY3cxNnllMFZwcTZSLUtFS2VvaTdsekk0ckVCei11SUZ5RlBDYU1MVEx1YlloZVJ0b18zcW1ZQ21SUlY5Zkl2V2k5MXNYVWhJTWpCdTNoZW9DMTRLSW9WbW9xMGFyOHlEVmJNTFAyWnYzRGxaVFlBdUFoVEtmSnFBS0hjZXZaY2NUemFQdGZuSGQ0a3U0RXVLQWtYdjJ2TjZmeHR1OW1yemppOGhGbFlIUkVhdU9HeWdpZFFJY0FlSlJadC1tWVp3Q20zbFFPZ2Q3WVVUci1kM19vZEJWV0RMR1dsMXB1Y3JncmhxdWFuTjVFYl8tWm1aeTFqNGNmLUVWdUp5eGlZanprZEdsbi0wRE0zSHFHMUJNeHV1WklnTEpDcy1kNjg3Qko2M1ZKZG5qWldYUEljM25Ya0trc08yalppWHZITWZNVE41TzB5SktuMkdkREphVU5hQnZhWmh5aG5pWVBjMlhJLXlLRU8td0Z4aHkyQjh5V053WHNZa3RCQi1CN0lqZ1B4S0NvMllzNHlxYXNvbmdoc0ROVzFnNHJCSERjSk9HOS1GNGxXbTBHWEcxZTBVeVd3czcyXzhpYnRZTy0tcGM0WUZFVDRYaDA5bnRzSlhmbTM4OE92M3ZXSkRCb0JndU5QZGs2eGJvQWJGV05hTEdjdTg0SlVrdXRyQ2VvZ29PUS1DM2FzMmxiWUEwQW9qN3JFY0REWnF4SnlaSGs1ZldFVG1BLVYxQXVfYnUwdEE2NnllaHd3OENoU0c2VV9DQlo2NHkzZ2VsQU0xb2FsajluS1JvZm1FRTctdl85UnlPYXFYc1lRc1hLc3dwNGl0MzBMS19IQ0VXVHl0OTgxR2RXaTRnSi04NDkyS0JjQmhaRUpWN3hkd3V2OGoxYnFHQ3labnpWczdIZXJCTHBPY1RvQUswS3BfQkdDdG9IWF90NHY2VkNBNjRHNlNIa3djOGRmUkcza3NONVQ2eFFLRy1GeV9MazUxTGZ3bWpvb204V0x5MlBOczcyczhNdkh4T1dsdDhDMl9vZWtNdFZFSHY3bDFCRXBBQ3lnOF9XeU0wcWFKbjRzekpwZ3FCb0JucFBiT1p6VU9HSTkzSkdUQk96d1NWOU5Yck5WNFNZNE9BZ1lNWlpWMDlBU3UxcGZfazJRUml4SW1lLWp1X0M2RmRPWldhdGpuVkl1Q1lxSjhjbzdqVkh1bklyb3BNM0pnMkpENGZuVVA5NlIteUJHRTBjZVg5M1BGdC01c2dtM2FqN1pLUmU0M2Z5SlhrbkFXVVFVb2N0b2hVQVhLRTlVRUxlQlhzTnBDZnZCZ1NINUtOS3hpWXRsa1l4cWtWVUJrUl9NM01yVGpRTFhrZVJLdFkwczFLZURxem52NHRLT0ExNGlJb3VIOEhrNkhZbVM2NFl3X2c2RThkMmRiMFpOTTFuenVnM04wbVJUMXhHU1dIWFZXc0E0eG95SUlwMml5TU1HT1ltTTlxWVFYa0Y2eTJyNXVFVXQ1Z0ViNGxHT0pFcEJRby1HV3VtY2pMQ1YxT09PWW02bHh6WVBjbmRmc1Jrc0FUMWJnbkJ0MVhGMU1yTkMzTjVqT0tXXzA5bTJRQmgyN2ZxY0l0NnVkUUdrWmIyOVBOZUJyOEMyamVXOEhCSkF6NVVTcTlJWk00M0ZzSVVuLW5Qakw4aVJOZHJXODlaUlJGS0Q0ZmdjemJTVFc5VXlCdHhhT2t4N3lMemw4VlhHaVZheHo0YXZYTXBFTmFnQU9wWnQwQWkzeGROaEk4Snpqc2VQeVAxY1BjajhOTVNTYm9qbF9KRGtyak1KRVlMdk5FM2xLb0s2a3JYNjhSZnNRMHBMa0l2emhVSTlscDJmSGJ2Zmlra3BhbzVWNGtXZXVEb1loU1hZOFVLTURBbnkzaFh1OC1aTjlicUJYUUw2anJyTzJGTG1kR19RRWZubmtKUXBQM3N4Tk1vWFFQYlE1YTNFUGh3MS1sSThuaHJrZ0Qxd3VGLUx1VHUyb2o3SFZzNHZveXZmLS03RGt5VGFMaTJGVlFabC1qbnFtVWMwaDFnRlVvX0F6Vk9NekJYaG4tRlowOGVUcmY3YUIwQ200UW9tazZhSFJraWI3enhYYWlFWDB5V001U3Q2TlVSSDNiQzBFZUJ6VktDbUJ5c0w1RVVXem1tMXBLbVNVdmVpQjQxQl9TNWlkdk9ZdUtCU3liU3dHWEt4M3RCQ0hrbGJ0a29fZ3ZLcUJTaWU1M0wySlBWbElBei1hNkhLdVFYZTFUcnBWc2hrWWFncHZ6aVFWdjZZXzRQV1dZRUVsOG5NeUF5eUhFaUlLYWZGRThNbGRaUS14TXpldWU2U2I1eVR6SWpIdzF5TmlleHFiZi1TQ1pDWVpKb2x0TXJiUXFvTDVWc2t4UlczLWxKVk1vX29UamdqemdUZU4wZDJ6SHAyS1NITTJlMHQ2Qm1mWUk2Vm1YT1ZWek10SVFSSlowMW1aRG1xYUJFMEd4RUVuNGRLYkFwMW1oV2liUkZtdHBPQ2xEUUtHcC04MG5FaGZ4M1pGSURfMDlXaXg5Q1VOWVBOYXM5YS1UNmRoSldzX0tTQVRjc2drVHJEeFdEUGNkSDF2RDlKOXZlVkZ0aVNaMzRseUZpQmtwNS12cWJGMkRPX1Y3RUFaZDJCbVBfVGJucUI3U29GYmxTaldGazcyckVlMGIzaDIxV3J2NDBrcjNaSzJBOFBVLWwwZXR1UktiMDF5Xy1WYzlCX2x4dWJVUk95N2dKOFFzTXR0UnZfclliWDRSYUVNc05ZZ0Jjb0hfa29XZUh5aUIzUzUtR0pPdFNpOVdxYVNWdGdybURKRm5uYWFmY1B0aXVzcnBlLWNsa2ZHMnFKNG0xaXgwSUFwR3VNM0pfOU9zUUE0NWhtTUdJZm9OS0xpSGhMOUl2eS1hbnRkaVZmZTNJeDIwMmNFNGpRWHlzUm9Hano4dlZqN3Z2SUNuZ0RWWWtDWVQ1eVZROERlSnBLbk5xNjJ0TzVPMUhzck5udjZ5NXE2SkxYYVl5dGlRTDBKSWkybUVRdFAwaS15LWdHRDJwYW5zbElLamcxTGMwNEpFNWFoUkpWSk9Na1RTMTZISTJyd3ZraGVRNUh4YzNkU2pfRlh3LU0xQmY4dFpQa2lEdmFvTmU2S2pydzllSkU2LWQtZzlaTXJkRmw5Mkp1VjFodjRBTzFlRlBOeERKTFVXN1BOMGtCOXFGdTZKOXhpX29KcXFmV1BJbTBGcTNFVGs4MXVKdTU1TkhHckwyTWhSbEh0WllwZWRqNkd4Z0dTb1BtVTVxa21NTzlCQ3Qtb1d6bGdjNU9GZjZ1N3NjQUcwY2t5Q1JMR2Z3azVsdjA0aWhwbkhIRzVOMEZidFEwX0w3dHZYanpxcnNaZTM5bWl2T2oyNWMyZjlTcEpKSFl0RnphT2xqU195YWx6N203TjVRRG9FWEJKMG1pU0QyY0xyRjZPUUYyeDlnRVljSW9oTXp4cmpqekpJTTVhWWdxWVJ1TzZNRy12ZDJQNktieEdUR01SOE9VRG1xdGpVM0VxdkpwN3gyV054VUQxUFA5QWQxYk1zbU1lbHpaMG1SemlWSTBjcmF4WDBSUm8tQUJTLTBuMHU2SnMxMmFiVXhWVV92Z2ZTemdZaWhCUEtfVWVUamRicnlJMU5VbzNESUp0TEFtOEdKTmN1T0doWEZSRlIzOUc5NDlKbW43VXJJbTVuSVRVVE1tQXpsemhMNzRmXzdOeC1qOS16SHhOOHpBMHdVRUtielZtdVN4OGU5SW1GUnBEQnYzeTFJMDZERURDNjhVSkUtdzR0ZU1vdlJPc1EzN0hXbC0tWEhxa1UwLWYzZ0JBeWV6V01tcUV1a1BMYUtSaWxYbUFBT2loMXVDSkVla3ZHUnZqUFhXek5jTmh1bXRNNU51ZHJFWDZQN2FQYlBMcnM1ZnpkSUVhd1VXbWFhNzZ3LUtIVXVHaUQ2dEVZSmNlWEotaWtnVUxXeUliVE5fZDNNUWJkSS1ENnBfVHFQTzh5R1ZpNWxOTlY1bG1VaEJkTFdLRjJzYTQtdDByTXZPS0wxSHBiOTVIejlIelEwYkk4MDNzaTVwWjVOQVNNNmRuVzFKbHN1UFRUX3NRY2J3eWxsdHhHUU9kMld2QnNDTGE2djRlQjBqa2JFNDIzYXp0OHdmOEk1NGNremExbm9WTWpxSTZKUUlUcFlQd3p4YWpaVXA3ckNWWU84WEJ1V3Ytang5QWVrWTRnMUlKV1BKMnBMYXdaamIxTjJoSmYwSGFNUmpmNTFJYS0xcmlmV1doYS1oZVpzRDdoNUFycHJ5aWFwaG9UeHJwN1BUZDc3U09oUzFuUWFfLU9uaGFXT0dfNnpZUEFzMThjVlZkQlpyOEpHLW9QTjVPanZNZno1TThjUF9sV2pRNXBHWEFWVUg3YnVtWGhzdFRPVHJfNmlUeXVEcDZEMzlON3Jvem9KampxTEpXZFpQb1Bjc2dSOFNEQnZfM2YxcW83aDFCb2pDSUpsN3BrMFdfcDRzSE5UQ1FaLXpfbm5JMW5ZU3ZqZlpGSDlSa294YU11SFhXbEZqVHFFLVRXeUxwa2VSbnNIc3ZtZjJTM0stMGctLWtjMV9VUzE1dVdqWkpTUmN0clpDbEVxbGtrbVRESUh1RGU3eGZ5dFNfNHJIaDk5SXA4MGN2SmtIYUZRZlk4UzI1cXpGT28zUUI5d0VfMFNhOHB3djBLbTg1dHNmTFcxZUVybXV1NVpvaGxfSXZKMTMtY282MmRJMjFnZ2U3d2JDNzYwUkFtamN2NTJQal9ONXp0M2cxZ1RaZ01pZ3ZyUWk3eTZNS3pfVmdhMTBQNHZCbHViZVpIMHRQVjltaTJ5c3lDVnRnUWlGeklRM1VoWnNxNm9nRWFuZDZXbDJhaC04RVFKOVVWbGQtNlN3NVFKemZ0bGN2ekFhQld6QXVnNV9oN3doSFM0MzZhVHNXckEtZDFDODkyXzNGSUtPeHB1SFJKZVE5Mlh3cDktbTBlWC0xek9FMlZnSVdZTjl6bTBiWUhUSEVHMnkyMXNMS2tYajJTQjBlV1dqLU80U0VQblJldFpKR1pVejgzREJleUtHUFRCRUtCcWM5WFR3LWhSb0lSc2t5MUJseTk4Sjc4MzZTZE96QU5Sd0tlUjhRTWhONkVKY21LalpVQ3ZjNS11djFCTnFqbzY3VE9abk1zOUJzSlJQSW9QMEM1R0F5Z2hrTXpfTWpMeUlDTHA0M0tTTmVFZzRQVnZYd1NpOHZNekg0NHdKMDY1dEpqNzlKcUxGS0tYdWdrTnpQeU55NGVZU2ZiMXo0LUdCelNLTm1fYnhCbnNlS2FXa2djVUVfM0JELTFjeWF6dVpwRUhiem1ZYjBiSk12NlBHZXZOalp4M19KMWdveHZUVFM4MXZVeElFbmhsZVk4ZHppQXMtMmwwTUxQVVVYSEhTUGtjckdlcXhNMzhnSTlUSFdiSXRVbXA2SXlqdndaNVJzRW1kWWh6R1BrLWdrZEhJRG1mT3lTbkRGcEJ5bXJOY01LVFlfSFI5bnNUbEtGNFowTEoyby1ZYmtFcENzSHRDTkNkTk04TWRrT09Cd0tUUnF3b1lhbWt4RWNrbk05anJKZU1kLTVERVIydEJsOWEzdS1URXRxbXcxLUVQblVGSmJsblVPOTZ2bG4tVlpGOFoweUJadGk0cFpTV3VpQzJqNGdfZ0oxTlhubElHd2NOQzA0NkhFZWxWNWFpWE5VWkFvYXNPRVAxakczLTNncTBtSkdjWUtyODM4dC1tQmhzMUVHNUlDbWxha0ZUMVZHenRrdDNNcjV5OHFFdUVrX0thTkZ1NVZNeXBfOHd2NHhNX3JOVWI1aVM1NmVISktzenVPNllEZzBJbXQ3cjQ0Ul9ZRllUUXhhMWVZYUo5amhFejN4MFF4M2FtRWkyMzlxYWNnWG5mZ1hvTmkxWWlLMHhxR1JfMVRqRERKWW10ZDFuV05fdHpfcEc4aGFhelFQdG9wcmhXWGJlcGxuS0oyMmVvajN6enhKMTZqbmdLUUtOYkdvMUo4VlJRRWtJdzZWN19OU1AyVnpBdWJZUDRtUktfZHdrWmVEZjF1cHI1RTdCU1dJR0FrbTh1SzNoVERWbW9HNmd4SndxcXRSLS1lczdHZnJWdFpfZmhJRXZ2YW44TjhHeWtISGViYWFKSkZuOVFIZFBWTU5uZDdzQWRWYkQ3c3BRTnhCNHk0c3N6N0ZZUUlNbllDYmp5dUNzN3h2aGJpZ1BrMDNfUkEwSkVlREhsRzlUcnUxS1R1UHRkYUZ5bWpVMG5jWGZtejgwSjRhSVI0RjZkSUpINnkwcm1XQWEwSWthU1J2WU10WjdmbzRCUER0MWJycVQ0VzhNb3RwUVRJR1NwTnV3OTRKckpJc3g5QXJCeHdPTXh4Nmh4cjQzU2x6bFliRjZoNGJETUtWNFZneFhGZEhIMF8wYkFDSkJ5NVRqbDlBT3ZEdm51MHBiZ2ttZ0hjdFhxZk82ZVJVNGdxQm1LYTZ2U2VmVGtRRlFGNG9jR29sY3FqSWdvb3lwMGtWaUctVEU0RTI4UGFJN1NmTkZCYWpET0tBbjY4dzBLZXNzaE9qMkxVYjNkcnJVZW1MaG4tOGRpZDdEMXJ4Q0dxcllMNUIwdXdNVkNsTzhJeFJDeGJtUElTdWJjcm1fQ2VhalNadjZ2S2tVUVp0bUtMR083UTUzM1RmU0hmeWY4VjZydm03SXdVX2pyWmNlVV9wUnM4U2U1cVFhVlVRVzl4eV9QTkRtMGVyamo1ZHNqckF1RXFlaXdURDh5U1ZMUTVmcnRJZlNicFRIeGExMGxNSkVWZU5wMWEyeEZlQ2xvNkxmVnRBTGdQWlV4SVV3U0hCMGFSZFF1Y3JWSFZVSVhWbTBwbnBFYm5sZXg2RnJhY2JMUHlpUkxvclRSQzhtS1RpZHpwN2RiQU9EUmNNRXlZTmtoM3NaNEd2cVFHM0FXNTVDQ3lPOGlwOUxTSjZNT3poTGU5a0hrOTBEVkhUZ0paWXRfeV8wbzZ3TnZWblFjbkZBTHpiNHc5ZGpXLUpqN05xTEd3VzRuOGpMQ3VxQ0k5RHBpWUZIVGxsX0dkMmJ4NHRwWlpsYUloV0R3UWJ5cElZc2J5WC11eTVBWEdDcHFTLU81ZkxhTlY2cXpHTFdSd0xGZjU3OVBMNTVLOHV4bVBZSy1iRUNOQkVlUF9Pd3JKMW5TRy12S2NjaDVhLXNEQ2tSNDhvMXozZS0tMHdJQWNZNjNvY2ZsWlBuem83QXdPNlJ0VkdkNXZsYzUzOXlDYXdVTG1WbUtnN1dPNndSdkhPRkVVOFZnUVlYTzJQekp3Um4zSk52MWZiWjk1STBnQ2lkV2JpSHBVYkFYTDMxNUU4V21wb1l3MzNjZWU4Sm1CZE1hWndSN2hybkhBU3dfOWp6c0V6R2pVNjhfZXdtOWU1WnRqcll1TEF5YXY5WUphdWJ4cU1vRWUyX3JxaVVESDRUOUU5WGsxM1VpUXlPYjlDT0xEemZDaXhzODEzZnUweXdPdFRySjFqa2J3cEtRazl0TVhtekhfMVJ1eE1OS1JJSWw2MU5iRHl5WUYzTGpFcVlVY3AweVZQOXh3MncxQnM2YkFvTGxSMUY3eWp3TlBoeUxFNnUzMjN1aE5uSGVMbDlXY3pKbUo5QllQZzcxSGtVbzEySDVVY0NfUG9rNV9vRkw2TXNwZmVlRUtETF92WjBHLVA1VFVmTmZ1Nm1xazlTQ2lhRUJGYWJCU1JYZ3hBNTFiaVFmZml4Wk5pSlBMVDFvZU1aVVRUVWdIWUlmY21XeWlNcXBvNUg2VkpRS0toWXJ0dElNejZpNFk3aG5mY01iaWdFeFdRVTRtSDdaOUJYcXltQ0RMS3FBb2ZwV3pmNHRFekV1WFVSWXV2d042bWpjdXdDMDNzSXlzUW5HeDV4YmlyRmxJQU1PVmJOVUxhU1FlQVIzYjlac0NPcjVnSU9vTlJPSTB1UXNWeElLUElzamFpd0FMNG9nUDl1dnViakNtUkNlQk1wSjVEQnhjckh0MDlfWjlWYkhVeXFISFJRY0JRYmFjMTB1T2ZzSXhuQ09OWktER25xbU4zMHdkNC04QWVjTVozcTdoUnNlSFJqbjQuMUJGV2lESnlvNHpPZDBvTEtaZVZiUQ\"}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:36 GMT", - "content-length" : "787", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2d30dc1b-eaf2-483a-94c5-a724b943a688", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152657,\"scheduledPurgeDate\":1554928657,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:37 GMT", - "content-length" : "73", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d835522e-9f9b-4472-b94b-1c3a86bfb24f", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: mykey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:47 GMT", - "content-length" : "787", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b7e7b8c7-ce17-47bf-b254-39e12939786d", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152657,\"scheduledPurgeDate\":1554928657,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:47 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5ff4a38c-be98-4e99-ad88-b84129169807", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/restore?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:28 GMT", - "content-length" : "656", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8728c4b6-cd1b-4044-8441-a08aacdbdbf0", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/encrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:29 GMT", - "content-length" : "447", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7c223a96-0460-43f5-a2ca-dc7b6147f19a", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"rixJLxy_9uJmkyZrPhnb5ioT7JqKVeAeusBnz2twoyvuniE1TsxRl25pKlHwsMNEn_MKogJbzPrLnyOT9rp7ffGr5tp1Y88rgM0SsgmE-b0FZ2tNwF0m9MLKBrdeo5j9zZ6KZc9KHwEoIMI605W5q0o2cajaRQcGMkWVy-S8l33O7qVgXR4WIEIHRcYTQvGdBCJG2z7jQUFa26TCPGlN5r4mvkpIbHwjI6jquJys3B_Xr5k_zkIopA48_MSgfh_5MGrEPtPbceHJeitdWVKEo5_sR_vPl9Yk01CZ7rpJhnQghulSKh95j0VMFMS8j8cKCDh-t_igKnX8mq2nXlGW9Q\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/decrypt?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:29 GMT", - "content-length" : "239", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8a1ac19a-05f6-429c-8617-38d1a7285033", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/wrapkey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:29 GMT", - "content-length" : "447", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "06144d13-fabe-4f6c-be6c-6614dd4caa10", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"WLaWdM19NDybInWIaXX4zjux_UmIuCWkEDOdHXDuizRWvF8rlQmyPjjcozqdqImWpg4ErkWVTgN7T1atq4TI9gSQC23DuWuRI-Xc6ME_siv6Hoc38fyWGxJWUs-lRBjY21mTOwy0p-iA7WB-2N6v930vyS6-4Gy6UWzcLzEjK6e7x9Pq0fkoQVIwKhO9q-k2_-a-_96qLVuHgoBEiAqrX279O_HDwDsN2U7-OvTLdAMJLO3INdo29hyrj-KCx_Go-YaQIaRqAcRLAEyD5bgB1cxyJjnmMTc8h2RgP6ARgY88gj2jDJqCNxG4Eqs5c2fiWkxTtJJ53yUNyBQOeNgMJA\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/unwrapkey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:29 GMT", - "content-length" : "239", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1d4bd1bd-63f8-470c-a657-7aad0593b4ea", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/sign?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:29 GMT", - "content-length" : "447", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1d4bf4d2-8145-46ab-ac60-33aaa30403dd", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"kBMY68n1PGhyVC6Y8l0swQBC6c3DELLJ_I__8hvET56LYMlTEmK8NKdENv1t_1ehwfKZQQx-1hZMt_sI8fZuCDm0Re2r-DbpIG20RBLhYEiXp9GMugnPXsR7rNwfW-DXYkee_tCBBOzTCUm04MrpC0lG6AwHXUn2NJ8PdVuZ4lwoX8j65fiNdJIsJPDg4w7s_2Yie2W-_cbdduSFfjrH3DlWqNnzYZM4tTELb2Fy8tBF3FGqbR9ylkY-3M3vrSUmtmC04Qr_xZ_5Md_SdSo82ZqRDscflp395jB4EO2kzvG5IVVCPqJ8enU_yqbCOFp3BUTJFIXK3W3DzZBgxfaN5Q\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/verify?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:30 GMT", - "content-length" : "14", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "33ac83ed-51b5-48cf-9e8f-375724a395b2", - "Body" : "{\"value\":true}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:30 GMT", - "content-length" : "787", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fd5f5dd9-24a7-4f8c-a940-143a0f36d1a3", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152710,\"scheduledPurgeDate\":1554928710,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:30 GMT", - "content-length" : "73", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1a89c7a3-36d4-43f3-b036-08f058c37736", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: mykey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:40 GMT", - "content-length" : "787", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fe17d5a9-9069-4ef6-9661-adf990df75fb", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152710,\"scheduledPurgeDate\":1554928710,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:38:41 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "23afc4f8-9c12-462b-aba0-bd1c7ddcebf6", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:39:04 GMT", - "content-length" : "65", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5e9f986a-5981-4fdf-ba36-f0909cad32e4", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Key not found: mykey\"}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:32 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f7305e07-2a14-45f8-b833-52d6a5dcbc70", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:32 GMT", + "content-length" : "656", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f8369219-2a6d-413c-a8a5-40e5bdf93d10", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:33 GMT", + "content-length" : "656", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5c3ba71b-2d90-4e3e-a8f5-ba3ca887fbe3", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:33 GMT", + "content-length" : "656", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "40713134-2d52-448e-9ef9-30d6474672c4", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?maxresults=2&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:33 GMT", + "content-length" : "306", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fc000678-de62-4680-9b1a-f56b7d717ba0", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJV3RsZVM5RFVrVkJWRVZUUlV4R1UwbEhUa1ZFU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJV3RsZVM5RFVrVkJWRVZUUlV4R1UwbEhUa1ZFU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:33 GMT", + "content-length" : "294", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "20a808d4-761d-493e-b890-87e6783e3ec6", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkxRMU14TWlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:34 GMT", + "content-length" : "288", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cda4a3de-df96-4780-bc18-a1feb240a668", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:34 GMT", + "content-length" : "463", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4c2dc89e-5024-4d7d-9033-4414c82f2c6a", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey\",\"attributes\":{\"enabled\":true,\"created\":1547152254,\"updated\":1547152254,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:34 GMT", + "content-length" : "288", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c7097367-768f-4496-a0f2-94c42028da1d", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:35 GMT", + "content-length" : "283", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b13fe369-a3e6-4556-b2a7-36e5ff49e3f2", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4NCFNREF3TURFM0lXdGxlUzlOV1VORlVsUkpSa2xEUVZSRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4NCFNREF3TURFM0lXdGxlUzlOV1VORlVsUkpSa2xEUVZSRklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:35 GMT", + "content-length" : "775", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9fb30434-eb5e-47b6-bc0b-a629a660d010", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate\",\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate2\",\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:35 GMT", + "content-length" : "696", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7ab44d0f-b6ce-45b1-ae3d-e17c5140e690", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey\",\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem\",\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"managed\":true}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlUUlV4R1UwbEhUa1ZFU2tGV1FWQkZUVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlXdGxlUzlUUlV4R1UwbEhUa1ZFU2tGV1FWQkZUVEloTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:36 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f1181ea6-0e17-4822-9a62-50008d7deb0f", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/versions?maxresults=2&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:36 GMT", + "content-length" : "234", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1041ca33-6cbb-4fa3-b036-04dd9d3cfa13", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/backup?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:36 GMT", + "content-length" : "14134", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ca7be4ef-91d9-4691-9cef-b92ec3aab053", + "Body" : "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQ0lzSW1WdVl5STZJa0V4TWpoRFFrTXRTRk15TlRZaWZRLmRxemhfYnpvSG9DVlBpZU5IaUFQSndKSnJqY1I2REs2cTFQM2RaNXJZY1dmZTlnQnpidk5xQXlpdkZRNENzSVF2djVFSDdrbDFiYU03aFNmSWgxU3JoaG0tMGpDYTVzUlpGSkdCLV83amtFbnhnYWozQ0NScVd6YUx1cUVvMFFpVmRDVTNtRjhPT3NaWVZNYTdPWlNhNXFRcktLSy04bzJocml5VFlnOFZrWXRwaXliamR4ak9KcGZZdWo5SVJfM3hrNmNnWlBCV0xvRHVSek5INGNORkJ0NXpmdUZOSjhWYms5bUdfTUUyUEU5S01aV1hHQ3dNWDVVVmhSaWh3MzI3cm96bE9JNWhhYkdiQWVYdVgyRlVWNUxtR1k1ZVRWWVlNTjdyeTB1ajJ6UkxpM0FfZ3M3X09mTXRIX3J3UmxsUHFnOU1iclAwVXI2ZHR0S0I3LU1mdy5lU3NYdElEc3VGc282WUcya29YN19nLlZlMkNfVXdid2FnRU0wNVk3Ni1xQ1FZRjJ6TndLUW95MlA3aUZmcVY3NmtqcnctUVJkbU5hOWxBZTZ2YjdmMXo2VW5KYTZCeGRjVFBWNWFsQ3Jvd0MtREdDb1JueXBmbk53Z0xyZ1N6ckJhTzBiVVpjNUNvQjVta2xFY3Q1R0FVaW4zOWtLeDJTRlVyRGRQNlgtMW1ndE41aG1rZFA1dHR4R3g3Q0xDSmdXYlFHTmxxbW5UUUdnWWlQUVBNMV8zNG5nYUl1enBnSnFJZ2dSN3o4MXYzeTFBUVB1UDRNdFlPTzV1TUZzUV9XdklKWHZuemNuSXBITTRqT3IzX000M3VzSDltVlpZTTFYQjVrbXgzaG5qdEEtTjc2bWlxMGt4V2VncEcxSjlxQjU0b1lJWlV3SlpVTTBTWFR1Uko4a0Q5UmE4S3BpdktyNlphb3dQbnBEZndaek5jS0ZnT3hsVkt3eDVTc01xT0VwejYtMkw2dEh2WG16VlNWaEZPZjBpaHFwdEZ2RVdkbTJBUUNIRVVBR2NvLXFZeVJEWGE2N2dyY0IzZy1BZ0IwRldUVEFkYzJVbVFoc2M1aGp3U1p6MDJ1TkYwZl9tUXNnczgzSzJjYjBxdG5PdHhtV2lQbkRPOHFvRXFrVWt4Y2FSdUNDSVQtWUZfdlV6NHZTOHFWZmtnbXNkdzB1T3ItRGxOeHl2SXE2YURfR1V2Mk41QmNJdTgyRDJveWFOTnpQMzktREdYYklEM2w3SW9WenBaekUxb0paM2RPbWFhRU5Ua2FvcWVDeXJCWFk5cHhJT19wZlhwNldobDhNM0dRbnhTeHdjYlBaUEh1WTJsUHNVUGRwQk5oRXZUMnRPdExjMmNtVkNuNVJkaUhWak4tZmR0VHFmbTdMdmdYWlFhbmxrV0dyZ0k2aTZEZkxqd3VtVHpUREhvMEI1NTdRcFB2QzFpY19oRlhNb2Qxdmc5dHJzRFNhWmlNS1BNYWw3X20yV1JHd2NwU0hlTnYxZUF0T3pjVUk2NzdaaE5KNTBhclpfblZnWUR4dGYwazhCT1VyQ0Z5MEhCQU4wcmxDX3VDdC1SM3Y2U3o5TkxTbXE2NF9GakxSWjZkM1I2cHlQTTFGMUJZcmlORjNzd3pMNTRFZEFDNUlmWEktM1JzZXREcVltQWNJQjdWRENrQ3ZkUEwyUmdLZFNUNmpma1hDOWtIRVFCN3BBZk9Na01OQXpCdlEyWDlDUjBDTGlqNkdkWUd5eE5xY2hBTDVrSkQ2Mjc1QjZyaVVQaFFxcERCRDRqSDNqTzdEbzkyOUpRQWhxanpBQmNrYURKc3VPRXFRdVUwU053X3gzd1dieTBONlRibTR5SjFYQW0zMFNPNWVad1ZNWHBZdjRfQnJ3TlhhVnBjRXdQTFhYQUFXU2MyVHlubm13NzRaOVdLdi0yMmtBNGZrbWNDc1BTX3RJVXhDVnZuYmJ3bWlnU2VuMi1YcmNQUVRURmdPX3hzVGhQZ1psb0lnMUEwWXlpckJpTlJXeExxakVNQndPNkRTeWlZYlFNRFYyWXVhOXRTaG94RnNiUFE2bzBBUXFoTWNqMU5RSEwwM2QwNHBKOFE3ei1SWC1OSVFERGR1SGcyZ3RrUThwMzlPcGdCdHlQMXFxSnlDVS1fbG1WSGVhc1dnTmZjSTZsWUdXYjBMV0tNOGZUZFhZV1VGdW93YTRGMmlrQjE4aEVBc3VlN2dzNk1McXZVajFfRUpPN3BmX1o5dFNJSFg1djJqNU1oTDBNa1NPa3BwZTB3WHp0LWJwemNzU3NxbHNOTjFRZlIzSms5RURBUzRpWVQxNjhqQTNCcFRMRFVRRllwNmMtUENZSjlYTlZURHFleEZ5Nl95N01pRUhDWE9KUldVTzNsLS1OZGpnUjBnTHQxVXdLZExsQTB5UUdiQUsxYk9GUTA1VEU1QU5RV3Bsd0hfNjJJeVhMdGdPR2RfNFJWTXM2aXJuSW5MRmItNkdrWERHdnF1QldXMHAwTjJicktQR2ppUV9wV092OXlRNFpCSy1JaFZGX1c0V0pSUGlRbWt0M1hoV3NjX0Q1NUx2S1cyc2EwZnA3Ump6UmtOZndVWk9UMzhrZklxc3dWek1haDllUlVsWkpTUzFyMmxWT2JHQ2FjZkdkVkt3RmtKWFlPc1lZYzN5STYwd3Y0YnBOSlhhQnk1LS1MRXBCeG5WYXBRWWpWRXRSQ1BOdWFSV1RTR2Q4UUZYa3FZczVtVXFkQ0FLYUM3Ry1ETkI0ZTZLVVlaSnJKR2xXVlhNNXJZcnVBVVpwbE52eDBFalJiaFRlRjNwUVJHT2hSZmMtRUFNdVZ5V1FYY1VHcnBNQUgwek1vb2FvM0h5dW5QUjVVclVSQUZ6MlhCUkQ5R0N2MUd2eW04MkJqQjlLSnZxcmJkZXg1dGVhbUxUeVVBZDFYQ3k4dEtLRWdtVklzODNIT1lBODVYdVJxdGVjUTB6X1hmZ0JjVVlucEpaQWZNcTY3czIta0tpbTNnRGVGTEFaRlc2ZHJXVHp5N0ZvaXJoNXc0V3VFWHIwbzZvMzdQZXpSTk96TGJtemRoNjlmVFJuMjJLSUViTTNJRzlvdGs2bHpYcmd2b1BmSWRleHN0Mk5qZFkwazkwaXdfSXZ5TGhUc2RRUFg0YUdKNTJJZ05rTDV4X0VXYU1QRUR3MzBPQXhoYlN0N3BZSWpaNFhTYmJfSkVQbEVvNFRRUzdIZXpEY0JEVFZTeTFYdkMzTTA3Z0J2TFFXNXpRNFVSSmxRNTMzTjZhUzVrOEJLcWhGVnZzZEFQeXppYUxzcG5JVjZRa1BkQUdUU095WHBzM2lWRDJXZWp0TlZKeWhBSTMzQzRQdjBzRGVkVG5OdWFXUU9XN2xydld0d0Z3bWJHSGZfd0xLTmVxSlJpM0d4N1B6ME5PVGp4bTV1UjhIRW5TZ1AxaXU5S1ZsRmZpNURhcDljVmFZZlh1cEs5bGZuR0RHOWhHc0tZZ0N3amlSUE1fTVg1LTBCbFNDdmpKV0JIS0dZUThkc3JrVVNyWTlwQjRrcUktc0NTbjZzMjA2b1FudkNRdXdFM2dGT1J0Sk5KOEJqUlhsNVNCZE5CVjk3Rl94Unc2c25KT0M4S0lvb1hSOWtTTlIzVnhsLW93NVFIaFdsYzNHU3JpZjZtR3RyeEVtZEVTdE84eGg4d1BfNnRBN0duemdDcXlpdlZoc002dnh2VW5pV0gtc1A5OHVRZGdnVDA1RTdTeTctWHFra3ppalcyRmRNVkFWbHd3LVoxUmpMSFlpUmJCWFBpcl96Z2pfZ1QtY0FEMmlLcDMxNWF2d093bU15UkhwZDdpTnl5YllTU2l0MGFiblVrbGpDVTJKQTYwU1hTWHhYbVltb1V6OWVFNHR3YUVtTmRnNWxtWDNzd0Z3bS1kUWR3MnN4VjdmRVZPSTZUNEJ1cTZ1eXdXZFU4a1ptV0piSldUOUxwSGNxakQ0WmpZSVZ6T1dnWEVMTndCWWN6UzJIUWFxUDNmTGNzYlNUc0hiQ0FxSmV2bW5yY0hsVURKb0FDdWh2UGFuclZrU3JKSVRxQ2FUUnRwQkxmSjRDNG5XYmFDUDR1bHFvdVNSb1F0UHI1VTBEcVptSk9HNXpqeG1kX2hUSjVKUG9NMWRhc1ZpbTloQ2ZLRVFNSk01cXZaVTU1a2VJR1dRUko5ZVZsUDhUNXNBdjRJSzBXOFY0T2RqMldObXlNWmxvbmVJYXZ4TEpoN2VxZUJUS1ZaZ29NZy1PMEpJdklaWnlBUThGN3FQTHFZdk8zemZ5bm9XVUJsQVBDMDRxLW9nR19zZXpWeElNM2hmQ05vSUVYbTlkMEROMDVOREx6eGc5NWdhcnFtZjkzSjc4TGJ6aTB5TVpTMHZQUldWTC1RVi1IOWpPX1BmMjh3OUUyLUVqRFhVRU5hemhERGx5XzBxbjBLWlBPSmpBN0kxakxMZzd6am5CaEFfMWtNTmM2clRlbll3dzVRbmxPdXV0RWs1Mk52ZGFHUnpKZk40em1iRTFGejg2bDhxdGliMGRQbFhicTNkc3NmS1FERnlQaWFQMl96bFN5U0dyQjNKZktUZXFCX0NyTnlfamwyTUpqZzZBWUZ3MXppMHVDZTdrYkd4YU5GaFpxbjR4aDV5WGZZc1pKWFJaaWFXbzlENGJCd2JnWXdIRGtnSzFpTjYyMlVHYzE3M2pUYk9hc282WmpOb1NGdTFmdEEzelNOak9Za3Ryc2VrY2MwM2xBemZmaF9zRzlDU3I4ZlBjeW9KWG85dmM5S0VxZEtVekNKX2w4SmNnMzRNb20yY2RQRElOTWpxX2w2eEE0NEMybmxmS3VWdXUyTzRRdjdBQ3haLVR0TTZ3RFJDUExCdXVKTTY4U2cyeHcxYmo2dnEydFdacDBfRTNsNHhaSnY3azBuT250R3B0WERTdGViMURxeDVwLWROdFp3clhtVHJXZ1g5bnIzci1KV0N2bTNvZGU4amQwaDAtSm1rX3BodWRsSWowWVdUTWpVcURVZEcxNjlsWndhYzByU1gyMWhOM2NnVl8ydlZudHc1cEhWcjdwc1lsY20zNUlPVWVOdkVneHNTVVlnWGpmYTZIN0NTQVZaRUlWeDlaZDZ1SklQeHNjX0tqWnZvZHNfN1RDTWRqSWJHbXVRUjZPblViYlhvRGo1WGdYRU5jWjA3U0ROY21ocHh4c2t1MGEydWtPdmdIamRXcHBmZFhfNHNSZ3NnTlFMbGFaWTN2Y2FBanVSb3B5ZWVoak9GRHJRazhRQ2RNS3laRU9wTnRCVjh2UjZUVGdPV2Y5a05TQzM2WFpiUG1RYlFEb05lazNBNzltS3RxT3ROZnFtbEdxRTNrMGdzclRYTWFQT3lSLVNybXBVZldlcy1QeVdyQkhfRS1XTHZ1czQ4ZXBLbDR5VHRkRzdIRjJrZnFGZzhucFdDcVEyRktYRHlXVVdFckx5SmZLXy1QYll0RTlsSGVpMXp4a2hUeDF3MUhqS0JWcGdHYzZhd0lVdDIzbHp4NlpRVE8zaEFuY3pzQWJ4X2llV3JhMUpMTm1EZk8wb1ZkR0JHandGcHpKVy1BQ3FGQURmZzFNczlQdVJ4TllVV0c3bUNyaW43YjV0Z0ZqcHExRF9HRXFRb3cwelpRSWs0UE1fNUlmMno1LXNWSHVoMDA2WlFIdkdFbHdlNWxzVXA4TDFZY2drRWdKdXd2dk11UG9XdklZSzZQTVVnY3cxNnllMFZwcTZSLUtFS2VvaTdsekk0ckVCei11SUZ5RlBDYU1MVEx1YlloZVJ0b18zcW1ZQ21SUlY5Zkl2V2k5MXNYVWhJTWpCdTNoZW9DMTRLSW9WbW9xMGFyOHlEVmJNTFAyWnYzRGxaVFlBdUFoVEtmSnFBS0hjZXZaY2NUemFQdGZuSGQ0a3U0RXVLQWtYdjJ2TjZmeHR1OW1yemppOGhGbFlIUkVhdU9HeWdpZFFJY0FlSlJadC1tWVp3Q20zbFFPZ2Q3WVVUci1kM19vZEJWV0RMR1dsMXB1Y3JncmhxdWFuTjVFYl8tWm1aeTFqNGNmLUVWdUp5eGlZanprZEdsbi0wRE0zSHFHMUJNeHV1WklnTEpDcy1kNjg3Qko2M1ZKZG5qWldYUEljM25Ya0trc08yalppWHZITWZNVE41TzB5SktuMkdkREphVU5hQnZhWmh5aG5pWVBjMlhJLXlLRU8td0Z4aHkyQjh5V053WHNZa3RCQi1CN0lqZ1B4S0NvMllzNHlxYXNvbmdoc0ROVzFnNHJCSERjSk9HOS1GNGxXbTBHWEcxZTBVeVd3czcyXzhpYnRZTy0tcGM0WUZFVDRYaDA5bnRzSlhmbTM4OE92M3ZXSkRCb0JndU5QZGs2eGJvQWJGV05hTEdjdTg0SlVrdXRyQ2VvZ29PUS1DM2FzMmxiWUEwQW9qN3JFY0REWnF4SnlaSGs1ZldFVG1BLVYxQXVfYnUwdEE2NnllaHd3OENoU0c2VV9DQlo2NHkzZ2VsQU0xb2FsajluS1JvZm1FRTctdl85UnlPYXFYc1lRc1hLc3dwNGl0MzBMS19IQ0VXVHl0OTgxR2RXaTRnSi04NDkyS0JjQmhaRUpWN3hkd3V2OGoxYnFHQ3labnpWczdIZXJCTHBPY1RvQUswS3BfQkdDdG9IWF90NHY2VkNBNjRHNlNIa3djOGRmUkcza3NONVQ2eFFLRy1GeV9MazUxTGZ3bWpvb204V0x5MlBOczcyczhNdkh4T1dsdDhDMl9vZWtNdFZFSHY3bDFCRXBBQ3lnOF9XeU0wcWFKbjRzekpwZ3FCb0JucFBiT1p6VU9HSTkzSkdUQk96d1NWOU5Yck5WNFNZNE9BZ1lNWlpWMDlBU3UxcGZfazJRUml4SW1lLWp1X0M2RmRPWldhdGpuVkl1Q1lxSjhjbzdqVkh1bklyb3BNM0pnMkpENGZuVVA5NlIteUJHRTBjZVg5M1BGdC01c2dtM2FqN1pLUmU0M2Z5SlhrbkFXVVFVb2N0b2hVQVhLRTlVRUxlQlhzTnBDZnZCZ1NINUtOS3hpWXRsa1l4cWtWVUJrUl9NM01yVGpRTFhrZVJLdFkwczFLZURxem52NHRLT0ExNGlJb3VIOEhrNkhZbVM2NFl3X2c2RThkMmRiMFpOTTFuenVnM04wbVJUMXhHU1dIWFZXc0E0eG95SUlwMml5TU1HT1ltTTlxWVFYa0Y2eTJyNXVFVXQ1Z0ViNGxHT0pFcEJRby1HV3VtY2pMQ1YxT09PWW02bHh6WVBjbmRmc1Jrc0FUMWJnbkJ0MVhGMU1yTkMzTjVqT0tXXzA5bTJRQmgyN2ZxY0l0NnVkUUdrWmIyOVBOZUJyOEMyamVXOEhCSkF6NVVTcTlJWk00M0ZzSVVuLW5Qakw4aVJOZHJXODlaUlJGS0Q0ZmdjemJTVFc5VXlCdHhhT2t4N3lMemw4VlhHaVZheHo0YXZYTXBFTmFnQU9wWnQwQWkzeGROaEk4Snpqc2VQeVAxY1BjajhOTVNTYm9qbF9KRGtyak1KRVlMdk5FM2xLb0s2a3JYNjhSZnNRMHBMa0l2emhVSTlscDJmSGJ2Zmlra3BhbzVWNGtXZXVEb1loU1hZOFVLTURBbnkzaFh1OC1aTjlicUJYUUw2anJyTzJGTG1kR19RRWZubmtKUXBQM3N4Tk1vWFFQYlE1YTNFUGh3MS1sSThuaHJrZ0Qxd3VGLUx1VHUyb2o3SFZzNHZveXZmLS03RGt5VGFMaTJGVlFabC1qbnFtVWMwaDFnRlVvX0F6Vk9NekJYaG4tRlowOGVUcmY3YUIwQ200UW9tazZhSFJraWI3enhYYWlFWDB5V001U3Q2TlVSSDNiQzBFZUJ6VktDbUJ5c0w1RVVXem1tMXBLbVNVdmVpQjQxQl9TNWlkdk9ZdUtCU3liU3dHWEt4M3RCQ0hrbGJ0a29fZ3ZLcUJTaWU1M0wySlBWbElBei1hNkhLdVFYZTFUcnBWc2hrWWFncHZ6aVFWdjZZXzRQV1dZRUVsOG5NeUF5eUhFaUlLYWZGRThNbGRaUS14TXpldWU2U2I1eVR6SWpIdzF5TmlleHFiZi1TQ1pDWVpKb2x0TXJiUXFvTDVWc2t4UlczLWxKVk1vX29UamdqemdUZU4wZDJ6SHAyS1NITTJlMHQ2Qm1mWUk2Vm1YT1ZWek10SVFSSlowMW1aRG1xYUJFMEd4RUVuNGRLYkFwMW1oV2liUkZtdHBPQ2xEUUtHcC04MG5FaGZ4M1pGSURfMDlXaXg5Q1VOWVBOYXM5YS1UNmRoSldzX0tTQVRjc2drVHJEeFdEUGNkSDF2RDlKOXZlVkZ0aVNaMzRseUZpQmtwNS12cWJGMkRPX1Y3RUFaZDJCbVBfVGJucUI3U29GYmxTaldGazcyckVlMGIzaDIxV3J2NDBrcjNaSzJBOFBVLWwwZXR1UktiMDF5Xy1WYzlCX2x4dWJVUk95N2dKOFFzTXR0UnZfclliWDRSYUVNc05ZZ0Jjb0hfa29XZUh5aUIzUzUtR0pPdFNpOVdxYVNWdGdybURKRm5uYWFmY1B0aXVzcnBlLWNsa2ZHMnFKNG0xaXgwSUFwR3VNM0pfOU9zUUE0NWhtTUdJZm9OS0xpSGhMOUl2eS1hbnRkaVZmZTNJeDIwMmNFNGpRWHlzUm9Hano4dlZqN3Z2SUNuZ0RWWWtDWVQ1eVZROERlSnBLbk5xNjJ0TzVPMUhzck5udjZ5NXE2SkxYYVl5dGlRTDBKSWkybUVRdFAwaS15LWdHRDJwYW5zbElLamcxTGMwNEpFNWFoUkpWSk9Na1RTMTZISTJyd3ZraGVRNUh4YzNkU2pfRlh3LU0xQmY4dFpQa2lEdmFvTmU2S2pydzllSkU2LWQtZzlaTXJkRmw5Mkp1VjFodjRBTzFlRlBOeERKTFVXN1BOMGtCOXFGdTZKOXhpX29KcXFmV1BJbTBGcTNFVGs4MXVKdTU1TkhHckwyTWhSbEh0WllwZWRqNkd4Z0dTb1BtVTVxa21NTzlCQ3Qtb1d6bGdjNU9GZjZ1N3NjQUcwY2t5Q1JMR2Z3azVsdjA0aWhwbkhIRzVOMEZidFEwX0w3dHZYanpxcnNaZTM5bWl2T2oyNWMyZjlTcEpKSFl0RnphT2xqU195YWx6N203TjVRRG9FWEJKMG1pU0QyY0xyRjZPUUYyeDlnRVljSW9oTXp4cmpqekpJTTVhWWdxWVJ1TzZNRy12ZDJQNktieEdUR01SOE9VRG1xdGpVM0VxdkpwN3gyV054VUQxUFA5QWQxYk1zbU1lbHpaMG1SemlWSTBjcmF4WDBSUm8tQUJTLTBuMHU2SnMxMmFiVXhWVV92Z2ZTemdZaWhCUEtfVWVUamRicnlJMU5VbzNESUp0TEFtOEdKTmN1T0doWEZSRlIzOUc5NDlKbW43VXJJbTVuSVRVVE1tQXpsemhMNzRmXzdOeC1qOS16SHhOOHpBMHdVRUtielZtdVN4OGU5SW1GUnBEQnYzeTFJMDZERURDNjhVSkUtdzR0ZU1vdlJPc1EzN0hXbC0tWEhxa1UwLWYzZ0JBeWV6V01tcUV1a1BMYUtSaWxYbUFBT2loMXVDSkVla3ZHUnZqUFhXek5jTmh1bXRNNU51ZHJFWDZQN2FQYlBMcnM1ZnpkSUVhd1VXbWFhNzZ3LUtIVXVHaUQ2dEVZSmNlWEotaWtnVUxXeUliVE5fZDNNUWJkSS1ENnBfVHFQTzh5R1ZpNWxOTlY1bG1VaEJkTFdLRjJzYTQtdDByTXZPS0wxSHBiOTVIejlIelEwYkk4MDNzaTVwWjVOQVNNNmRuVzFKbHN1UFRUX3NRY2J3eWxsdHhHUU9kMld2QnNDTGE2djRlQjBqa2JFNDIzYXp0OHdmOEk1NGNremExbm9WTWpxSTZKUUlUcFlQd3p4YWpaVXA3ckNWWU84WEJ1V3Ytang5QWVrWTRnMUlKV1BKMnBMYXdaamIxTjJoSmYwSGFNUmpmNTFJYS0xcmlmV1doYS1oZVpzRDdoNUFycHJ5aWFwaG9UeHJwN1BUZDc3U09oUzFuUWFfLU9uaGFXT0dfNnpZUEFzMThjVlZkQlpyOEpHLW9QTjVPanZNZno1TThjUF9sV2pRNXBHWEFWVUg3YnVtWGhzdFRPVHJfNmlUeXVEcDZEMzlON3Jvem9KampxTEpXZFpQb1Bjc2dSOFNEQnZfM2YxcW83aDFCb2pDSUpsN3BrMFdfcDRzSE5UQ1FaLXpfbm5JMW5ZU3ZqZlpGSDlSa294YU11SFhXbEZqVHFFLVRXeUxwa2VSbnNIc3ZtZjJTM0stMGctLWtjMV9VUzE1dVdqWkpTUmN0clpDbEVxbGtrbVRESUh1RGU3eGZ5dFNfNHJIaDk5SXA4MGN2SmtIYUZRZlk4UzI1cXpGT28zUUI5d0VfMFNhOHB3djBLbTg1dHNmTFcxZUVybXV1NVpvaGxfSXZKMTMtY282MmRJMjFnZ2U3d2JDNzYwUkFtamN2NTJQal9ONXp0M2cxZ1RaZ01pZ3ZyUWk3eTZNS3pfVmdhMTBQNHZCbHViZVpIMHRQVjltaTJ5c3lDVnRnUWlGeklRM1VoWnNxNm9nRWFuZDZXbDJhaC04RVFKOVVWbGQtNlN3NVFKemZ0bGN2ekFhQld6QXVnNV9oN3doSFM0MzZhVHNXckEtZDFDODkyXzNGSUtPeHB1SFJKZVE5Mlh3cDktbTBlWC0xek9FMlZnSVdZTjl6bTBiWUhUSEVHMnkyMXNMS2tYajJTQjBlV1dqLU80U0VQblJldFpKR1pVejgzREJleUtHUFRCRUtCcWM5WFR3LWhSb0lSc2t5MUJseTk4Sjc4MzZTZE96QU5Sd0tlUjhRTWhONkVKY21LalpVQ3ZjNS11djFCTnFqbzY3VE9abk1zOUJzSlJQSW9QMEM1R0F5Z2hrTXpfTWpMeUlDTHA0M0tTTmVFZzRQVnZYd1NpOHZNekg0NHdKMDY1dEpqNzlKcUxGS0tYdWdrTnpQeU55NGVZU2ZiMXo0LUdCelNLTm1fYnhCbnNlS2FXa2djVUVfM0JELTFjeWF6dVpwRUhiem1ZYjBiSk12NlBHZXZOalp4M19KMWdveHZUVFM4MXZVeElFbmhsZVk4ZHppQXMtMmwwTUxQVVVYSEhTUGtjckdlcXhNMzhnSTlUSFdiSXRVbXA2SXlqdndaNVJzRW1kWWh6R1BrLWdrZEhJRG1mT3lTbkRGcEJ5bXJOY01LVFlfSFI5bnNUbEtGNFowTEoyby1ZYmtFcENzSHRDTkNkTk04TWRrT09Cd0tUUnF3b1lhbWt4RWNrbk05anJKZU1kLTVERVIydEJsOWEzdS1URXRxbXcxLUVQblVGSmJsblVPOTZ2bG4tVlpGOFoweUJadGk0cFpTV3VpQzJqNGdfZ0oxTlhubElHd2NOQzA0NkhFZWxWNWFpWE5VWkFvYXNPRVAxakczLTNncTBtSkdjWUtyODM4dC1tQmhzMUVHNUlDbWxha0ZUMVZHenRrdDNNcjV5OHFFdUVrX0thTkZ1NVZNeXBfOHd2NHhNX3JOVWI1aVM1NmVISktzenVPNllEZzBJbXQ3cjQ0Ul9ZRllUUXhhMWVZYUo5amhFejN4MFF4M2FtRWkyMzlxYWNnWG5mZ1hvTmkxWWlLMHhxR1JfMVRqRERKWW10ZDFuV05fdHpfcEc4aGFhelFQdG9wcmhXWGJlcGxuS0oyMmVvajN6enhKMTZqbmdLUUtOYkdvMUo4VlJRRWtJdzZWN19OU1AyVnpBdWJZUDRtUktfZHdrWmVEZjF1cHI1RTdCU1dJR0FrbTh1SzNoVERWbW9HNmd4SndxcXRSLS1lczdHZnJWdFpfZmhJRXZ2YW44TjhHeWtISGViYWFKSkZuOVFIZFBWTU5uZDdzQWRWYkQ3c3BRTnhCNHk0c3N6N0ZZUUlNbllDYmp5dUNzN3h2aGJpZ1BrMDNfUkEwSkVlREhsRzlUcnUxS1R1UHRkYUZ5bWpVMG5jWGZtejgwSjRhSVI0RjZkSUpINnkwcm1XQWEwSWthU1J2WU10WjdmbzRCUER0MWJycVQ0VzhNb3RwUVRJR1NwTnV3OTRKckpJc3g5QXJCeHdPTXh4Nmh4cjQzU2x6bFliRjZoNGJETUtWNFZneFhGZEhIMF8wYkFDSkJ5NVRqbDlBT3ZEdm51MHBiZ2ttZ0hjdFhxZk82ZVJVNGdxQm1LYTZ2U2VmVGtRRlFGNG9jR29sY3FqSWdvb3lwMGtWaUctVEU0RTI4UGFJN1NmTkZCYWpET0tBbjY4dzBLZXNzaE9qMkxVYjNkcnJVZW1MaG4tOGRpZDdEMXJ4Q0dxcllMNUIwdXdNVkNsTzhJeFJDeGJtUElTdWJjcm1fQ2VhalNadjZ2S2tVUVp0bUtMR083UTUzM1RmU0hmeWY4VjZydm03SXdVX2pyWmNlVV9wUnM4U2U1cVFhVlVRVzl4eV9QTkRtMGVyamo1ZHNqckF1RXFlaXdURDh5U1ZMUTVmcnRJZlNicFRIeGExMGxNSkVWZU5wMWEyeEZlQ2xvNkxmVnRBTGdQWlV4SVV3U0hCMGFSZFF1Y3JWSFZVSVhWbTBwbnBFYm5sZXg2RnJhY2JMUHlpUkxvclRSQzhtS1RpZHpwN2RiQU9EUmNNRXlZTmtoM3NaNEd2cVFHM0FXNTVDQ3lPOGlwOUxTSjZNT3poTGU5a0hrOTBEVkhUZ0paWXRfeV8wbzZ3TnZWblFjbkZBTHpiNHc5ZGpXLUpqN05xTEd3VzRuOGpMQ3VxQ0k5RHBpWUZIVGxsX0dkMmJ4NHRwWlpsYUloV0R3UWJ5cElZc2J5WC11eTVBWEdDcHFTLU81ZkxhTlY2cXpHTFdSd0xGZjU3OVBMNTVLOHV4bVBZSy1iRUNOQkVlUF9Pd3JKMW5TRy12S2NjaDVhLXNEQ2tSNDhvMXozZS0tMHdJQWNZNjNvY2ZsWlBuem83QXdPNlJ0VkdkNXZsYzUzOXlDYXdVTG1WbUtnN1dPNndSdkhPRkVVOFZnUVlYTzJQekp3Um4zSk52MWZiWjk1STBnQ2lkV2JpSHBVYkFYTDMxNUU4V21wb1l3MzNjZWU4Sm1CZE1hWndSN2hybkhBU3dfOWp6c0V6R2pVNjhfZXdtOWU1WnRqcll1TEF5YXY5WUphdWJ4cU1vRWUyX3JxaVVESDRUOUU5WGsxM1VpUXlPYjlDT0xEemZDaXhzODEzZnUweXdPdFRySjFqa2J3cEtRazl0TVhtekhfMVJ1eE1OS1JJSWw2MU5iRHl5WUYzTGpFcVlVY3AweVZQOXh3MncxQnM2YkFvTGxSMUY3eWp3TlBoeUxFNnUzMjN1aE5uSGVMbDlXY3pKbUo5QllQZzcxSGtVbzEySDVVY0NfUG9rNV9vRkw2TXNwZmVlRUtETF92WjBHLVA1VFVmTmZ1Nm1xazlTQ2lhRUJGYWJCU1JYZ3hBNTFiaVFmZml4Wk5pSlBMVDFvZU1aVVRUVWdIWUlmY21XeWlNcXBvNUg2VkpRS0toWXJ0dElNejZpNFk3aG5mY01iaWdFeFdRVTRtSDdaOUJYcXltQ0RMS3FBb2ZwV3pmNHRFekV1WFVSWXV2d042bWpjdXdDMDNzSXlzUW5HeDV4YmlyRmxJQU1PVmJOVUxhU1FlQVIzYjlac0NPcjVnSU9vTlJPSTB1UXNWeElLUElzamFpd0FMNG9nUDl1dnViakNtUkNlQk1wSjVEQnhjckh0MDlfWjlWYkhVeXFISFJRY0JRYmFjMTB1T2ZzSXhuQ09OWktER25xbU4zMHdkNC04QWVjTVozcTdoUnNlSFJqbjQuMUJGV2lESnlvNHpPZDBvTEtaZVZiUQ\"}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:36 GMT", + "content-length" : "787", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2d30dc1b-eaf2-483a-94c5-a724b943a688", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152657,\"scheduledPurgeDate\":1554928657,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:37 GMT", + "content-length" : "73", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d835522e-9f9b-4472-b94b-1c3a86bfb24f", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: mykey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:47 GMT", + "content-length" : "787", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b7e7b8c7-ce17-47bf-b254-39e12939786d", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152657,\"scheduledPurgeDate\":1554928657,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:47 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5ff4a38c-be98-4e99-ad88-b84129169807", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/restore?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:28 GMT", + "content-length" : "656", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8728c4b6-cd1b-4044-8441-a08aacdbdbf0", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/encrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:29 GMT", + "content-length" : "447", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7c223a96-0460-43f5-a2ca-dc7b6147f19a", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"rixJLxy_9uJmkyZrPhnb5ioT7JqKVeAeusBnz2twoyvuniE1TsxRl25pKlHwsMNEn_MKogJbzPrLnyOT9rp7ffGr5tp1Y88rgM0SsgmE-b0FZ2tNwF0m9MLKBrdeo5j9zZ6KZc9KHwEoIMI605W5q0o2cajaRQcGMkWVy-S8l33O7qVgXR4WIEIHRcYTQvGdBCJG2z7jQUFa26TCPGlN5r4mvkpIbHwjI6jquJys3B_Xr5k_zkIopA48_MSgfh_5MGrEPtPbceHJeitdWVKEo5_sR_vPl9Yk01CZ7rpJhnQghulSKh95j0VMFMS8j8cKCDh-t_igKnX8mq2nXlGW9Q\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/decrypt?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:29 GMT", + "content-length" : "239", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8a1ac19a-05f6-429c-8617-38d1a7285033", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/wrapkey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:29 GMT", + "content-length" : "447", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "06144d13-fabe-4f6c-be6c-6614dd4caa10", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"WLaWdM19NDybInWIaXX4zjux_UmIuCWkEDOdHXDuizRWvF8rlQmyPjjcozqdqImWpg4ErkWVTgN7T1atq4TI9gSQC23DuWuRI-Xc6ME_siv6Hoc38fyWGxJWUs-lRBjY21mTOwy0p-iA7WB-2N6v930vyS6-4Gy6UWzcLzEjK6e7x9Pq0fkoQVIwKhO9q-k2_-a-_96qLVuHgoBEiAqrX279O_HDwDsN2U7-OvTLdAMJLO3INdo29hyrj-KCx_Go-YaQIaRqAcRLAEyD5bgB1cxyJjnmMTc8h2RgP6ARgY88gj2jDJqCNxG4Eqs5c2fiWkxTtJJ53yUNyBQOeNgMJA\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/unwrapkey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:29 GMT", + "content-length" : "239", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1d4bd1bd-63f8-470c-a657-7aad0593b4ea", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/sign?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:29 GMT", + "content-length" : "447", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1d4bf4d2-8145-46ab-ac60-33aaa30403dd", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"value\":\"kBMY68n1PGhyVC6Y8l0swQBC6c3DELLJ_I__8hvET56LYMlTEmK8NKdENv1t_1ehwfKZQQx-1hZMt_sI8fZuCDm0Re2r-DbpIG20RBLhYEiXp9GMugnPXsR7rNwfW-DXYkee_tCBBOzTCUm04MrpC0lG6AwHXUn2NJ8PdVuZ4lwoX8j65fiNdJIsJPDg4w7s_2Yie2W-_cbdduSFfjrH3DlWqNnzYZM4tTELb2Fy8tBF3FGqbR9ylkY-3M3vrSUmtmC04Qr_xZ_5Md_SdSo82ZqRDscflp395jB4EO2kzvG5IVVCPqJ8enU_yqbCOFp3BUTJFIXK3W3DzZBgxfaN5Q\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b/verify?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:30 GMT", + "content-length" : "14", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "33ac83ed-51b5-48cf-9e8f-375724a395b2", + "Body" : "{\"value\":true}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:30 GMT", + "content-length" : "787", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fd5f5dd9-24a7-4f8c-a940-143a0f36d1a3", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152710,\"scheduledPurgeDate\":1554928710,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:30 GMT", + "content-length" : "73", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1a89c7a3-36d4-43f3-b036-08f058c37736", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: mykey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:40 GMT", + "content-length" : "787", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fe17d5a9-9069-4ef6-9661-adf990df75fb", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey\",\"deletedDate\":1547152710,\"scheduledPurgeDate\":1554928710,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/mykey/d9b0e0731e974c25a425c2025d3aea8b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wHtg8gzbftYbsgTzUgUPZjmf2-AZPu1_I4_SI4Nc_EWY4w_dPAf_2J2C9-qQ4-BAbN2qLnGmsDx_VZw9GKHZYQ1woxi_OIXMzpqmI0BziNCTqkb4wqPXMpDc5zEVHAc9zxdbaLDIVQEl1ajmpYMLH5nNaNDRD0A9oFG9Hr-y11akEbGxnB8jDTMiLC9V1IWBGjJPC53X3nmtXlWkPhBY-eVLDhRVR9LUyOdd2vTVMZINrtbWDsHIo9jRD4vBeytjVJnEH8Krr9tJdg2_CbLb4CvFFW8wPHituxtNrymtFO2tJnAbhjsEnwg6OxiQ7GL2doYbWz71YLLlwb7LghILMw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152653,\"updated\":1547152653,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:38:41 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "23afc4f8-9c12-462b-aba0-bd1c7ddcebf6", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/mykey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:39:04 GMT", + "content-length" : "65", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5e9f986a-5981-4fdf-ba36-f0909cad32e4", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Key not found: mykey\"}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificateVersionsForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificateVersionsForCertificateOperationsTest.json index d6e457dd3c599..c7eceb90ce763 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificateVersionsForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificateVersionsForCertificateOperationsTest.json @@ -1,353 +1,353 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:00 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "10f84f63-5810-4914-8d46-b491ab105646", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:01 GMT", - "content-length" : "1858", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0d2ba0aa-375d-436d-bf80-4351acad28a5", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151301}}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:01 GMT", - "content-length" : "1858", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2eab025e-36be-4ade-9c35-03cae24c703a", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151301}}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:02 GMT", - "content-length" : "1858", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e529e618-aaec-4727-9ef7-d124b9a9065c", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151302,\"updated\":1547151302,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151302}}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:03 GMT", - "content-length" : "1858", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "dfd3f965-b37a-419d-b348-5230d3344850", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151303}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/versions?maxresults=3&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:03 GMT", - "content-length" : "1256", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6da3fc7f-4341-43c4-aa82-4e248af4bf1a", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151302,\"updated\":1547151302},\"subject\":\"\"}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/certificates/listCertificateVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNjQhTURBd01EYzNJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVlpGVWxOSlQwNVRMMVpGVWxOSlQwNVRMME5CTURRd1JUQTJNek0wUlRSQ05EZENORVkzTTBFNU5VSkNNa0k1UWpjMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNjQhTURBd01EYzNJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVlpGVWxOSlQwNVRMMVpGVWxOSlQwNVRMME5CTURRd1JUQTJNek0wUlRSQ05EZENORVkzTTBFNU5VSkNNa0k1UWpjMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:03 GMT", - "content-length" : "302", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "665ec165-cb35-4179-938c-7aae492e9eac", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303},\"subject\":\"\"}],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/versions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:03 GMT", - "content-length" : "1127", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fd72baa3-09bd-4fe9-b7bc-48adc2917be3", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151302,\"updated\":1547151302},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303},\"subject\":\"\"}],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:04 GMT", - "content-length" : "2015", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d613695f-fdbe-41fe-92fc-41e457001509", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions\",\"deletedDate\":1547151304,\"scheduledPurgeDate\":1554927304,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151303}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:04 GMT", - "content-length" : "107", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a7186c19-51c0-4144-ac6d-4e8a3a6ec3af", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificateVersions\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:14 GMT", - "content-length" : "107", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f1d9ca2a-67c4-46d9-be51-02f987b77ffd", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificateVersions\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:24 GMT", - "content-length" : "2015", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "640602d5-2d92-4105-b189-60e94bd4d64c", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions\",\"deletedDate\":1547151304,\"scheduledPurgeDate\":1554927304,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151303}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:15:24 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "11e45aa9-f3c3-407c-8b38-8575ba7b0cf2", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:00 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "10f84f63-5810-4914-8d46-b491ab105646", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:01 GMT", + "content-length" : "1858", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0d2ba0aa-375d-436d-bf80-4351acad28a5", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151301}}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:01 GMT", + "content-length" : "1858", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2eab025e-36be-4ade-9c35-03cae24c703a", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151301}}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:02 GMT", + "content-length" : "1858", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e529e618-aaec-4727-9ef7-d124b9a9065c", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151302,\"updated\":1547151302,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151302}}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:03 GMT", + "content-length" : "1858", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "dfd3f965-b37a-419d-b348-5230d3344850", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151303}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/versions?maxresults=3&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:03 GMT", + "content-length" : "1256", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6da3fc7f-4341-43c4-aa82-4e248af4bf1a", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151302,\"updated\":1547151302},\"subject\":\"\"}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/certificates/listCertificateVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNjQhTURBd01EYzNJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVlpGVWxOSlQwNVRMMVpGVWxOSlQwNVRMME5CTURRd1JUQTJNek0wUlRSQ05EZENORVkzTTBFNU5VSkNNa0k1UWpjMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExNjQhTURBd01EYzNJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVlpGVWxOSlQwNVRMMVpGVWxOSlQwNVRMME5CTURRd1JUQTJNek0wUlRSQ05EZENORVkzTTBFNU5VSkNNa0k1UWpjMklUQXdNREF5T0NFNU9UazVMVEV5TFRNeFZESXpPalU1T2pVNUxqazVPVGs1T1RsYUlRLS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:03 GMT", + "content-length" : "302", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "665ec165-cb35-4179-938c-7aae492e9eac", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303},\"subject\":\"\"}],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/versions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:03 GMT", + "content-length" : "1127", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fd72baa3-09bd-4fe9-b7bc-48adc2917be3", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/43a22139a7f2420b97b4cbeda7245bd9\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/46a5ced9baf14fc5abf98a0249cc159b\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151301,\"updated\":1547151301},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/a8e7bdfcab6b4cbcaee448e92c26fb96\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151302,\"updated\":1547151302},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303},\"subject\":\"\"}],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:04 GMT", + "content-length" : "2015", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d613695f-fdbe-41fe-92fc-41e457001509", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions\",\"deletedDate\":1547151304,\"scheduledPurgeDate\":1554927304,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151303}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:04 GMT", + "content-length" : "107", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a7186c19-51c0-4144-ac6d-4e8a3a6ec3af", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificateVersions\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:14 GMT", + "content-length" : "107", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f1d9ca2a-67c4-46d9-be51-02f987b77ffd", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificateVersions\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:24 GMT", + "content-length" : "2015", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "640602d5-2d92-4105-b189-60e94bd4d64c", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions\",\"deletedDate\":1547151304,\"scheduledPurgeDate\":1554927304,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificateVersions/ca040e06334e4b47b4f73a95bb2b9b76\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547151303,\"updated\":1547151303,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificateVersions/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547151301,\"updated\":1547151303}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificateVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:15:24 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "11e45aa9-f3c3-407c-8b38-8575ba7b0cf2", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificatesForCertificateOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificatesForCertificateOperationsTest.json index 1562eb4232a0d..8ee33df439f40 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificatesForCertificateOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listCertificatesForCertificateOperationsTest.json @@ -1,752 +1,752 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:55 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "737c7741-d019-4154-a370-611d692795b9", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:55 GMT", - "content-length" : "1830", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f4bce06f-74a4-44ad-8ef9-e1de03651b5e", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150995,\"updated\":1547150995}}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:56 GMT", - "content-length" : "1830", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2a489008-a6fb-41d2-8cbf-6575f4c37331", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:56 GMT", - "content-length" : "1830", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2819f41e-71f4-4dd0-84d8-92463a961cd4", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/import?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:57 GMT", - "content-length" : "1830", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0e51c5f9-ecdf-4cd1-9c0d-f4d48f5f965f", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150997,\"updated\":1547150997}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?maxresults=3&includePending=false&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:57 GMT", - "content-length" : "1028", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "22ecbdea-74b1-428e-bf9a-0037e145817f", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996},\"subject\":\"\"}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVEl2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVEl2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:58 GMT", - "content-length" : "553", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "07ebac13-e6de-4b41-9db8-2612afca8405", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997},\"subject\":\"\"}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJV05sY25ScFptbGpZWFJsTDAxWlEwVlNWRWxHU1VOQlZFVXlMMUJQVEVsRFdTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJV05sY25ScFptbGpZWFJsTDAxWlEwVlNWRWxHU1VOQlZFVXlMMUJQVEVsRFdTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:58 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8fba1a5d-cb79-42bb-a9e5-000be0d9cd01", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:58 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "39f5d252-f9e9-42a8-94a8-ed8389a3f9fe", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1\",\"deletedDate\":1547150998,\"scheduledPurgeDate\":1554926998,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:09:58 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c35c106b-2cda-4273-aa40-81dacc385963", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:09 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "dd54aba3-f3e0-45a0-9dea-8c33240d468e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:19 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c332fed4-6cef-40d4-a1ad-613ff62a29d8", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1\",\"deletedDate\":1547150998,\"scheduledPurgeDate\":1554926998,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:19 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a3d81767-4148-4bbd-b2f3-a1bff257f0b2", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:30 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "51eaeeba-06d0-4ab1-aa8b-e133e4c27e8b", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2\",\"deletedDate\":1547151030,\"scheduledPurgeDate\":1554927030,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:30 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fb95447c-51eb-4d17-93b7-9280426bc9f4", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:40 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8b554208-af66-4662-a8fe-ab9bb0cf1a1d", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:50 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "522a495c-e593-4db2-8369-b76a3e577393", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2\",\"deletedDate\":1547151030,\"scheduledPurgeDate\":1554927030,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:10:51 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "649c400b-405b-410f-ac20-6df1c5c87bab", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:02 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d6f1260f-535f-46e0-8811-4db01c3c5ff8", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3\",\"deletedDate\":1547151062,\"scheduledPurgeDate\":1554927062,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150997,\"updated\":1547150997}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:02 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "75caacbd-02c4-4aa7-988a-03baefa4007e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:12 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5d1a2f1f-d042-44ed-876e-2bc27643472f", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:22 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a27045be-4b10-4d9a-a1c4-b73a438951ba", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3\",\"deletedDate\":1547151062,\"scheduledPurgeDate\":1554927062,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150997,\"updated\":1547150997}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:23 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4d2d75ed-fe9d-483c-ae4a-0e78dd8c882a", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:34 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a9ba59c2-d1dc-4d0a-9206-7689b6dd0d3f", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0\",\"deletedDate\":1547151094,\"scheduledPurgeDate\":1554927094,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150995,\"updated\":1547150995}}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:34 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "10863c8b-ce1a-4dbb-ab09-84918319d36e", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate0\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:44 GMT", - "content-length" : "100", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d1512e52-e70d-4567-acd8-70e31cdea88d", - "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate0\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:55 GMT", - "content-length" : "1980", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cf208b52-81e7-496a-a9e3-21b918e6ac1c", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0\",\"deletedDate\":1547151094,\"scheduledPurgeDate\":1554927094,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150995,\"updated\":1547150995}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:11:55 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "daa1482c-005c-461a-82d4-d593f3ae6dc4", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:55 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "737c7741-d019-4154-a370-611d692795b9", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:55 GMT", + "content-length" : "1830", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f4bce06f-74a4-44ad-8ef9-e1de03651b5e", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150995,\"updated\":1547150995}}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:56 GMT", + "content-length" : "1830", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2a489008-a6fb-41d2-8cbf-6575f4c37331", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:56 GMT", + "content-length" : "1830", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2819f41e-71f4-4dd0-84d8-92463a961cd4", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/import?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:57 GMT", + "content-length" : "1830", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0e51c5f9-ecdf-4cd1-9c0d-f4d48f5f965f", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150997,\"updated\":1547150997}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?maxresults=3&includePending=false&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:57 GMT", + "content-length" : "1028", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "22ecbdea-74b1-428e-bf9a-0037e145817f", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996},\"subject\":\"\"},{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996},\"subject\":\"\"}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVEl2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDghTURBd01ETTFJV05sY25ScFptbGpZWFJsTDB4SlUxUkRSVkpVU1VaSlEwRlVSVEl2VUU5TVNVTlpJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:58 GMT", + "content-length" : "553", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "07ebac13-e6de-4b41-9db8-2612afca8405", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997},\"subject\":\"\"}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJV05sY25ScFptbGpZWFJsTDAxWlEwVlNWRWxHU1VOQlZFVXlMMUJQVEVsRFdTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJV05sY25ScFptbGpZWFJsTDAxWlEwVlNWRWxHU1VOQlZFVXlMMUJQVEVsRFdTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:58 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8fba1a5d-cb79-42bb-a9e5-000be0d9cd01", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:58 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "39f5d252-f9e9-42a8-94a8-ed8389a3f9fe", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1\",\"deletedDate\":1547150998,\"scheduledPurgeDate\":1554926998,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:09:58 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c35c106b-2cda-4273-aa40-81dacc385963", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:09 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "dd54aba3-f3e0-45a0-9dea-8c33240d468e", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:19 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c332fed4-6cef-40d4-a1ad-613ff62a29d8", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1\",\"deletedDate\":1547150998,\"scheduledPurgeDate\":1554926998,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate1/e012cbc2776a4152a93bf7b1d7cac898\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate1/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:19 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a3d81767-4148-4bbd-b2f3-a1bff257f0b2", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:30 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "51eaeeba-06d0-4ab1-aa8b-e133e4c27e8b", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2\",\"deletedDate\":1547151030,\"scheduledPurgeDate\":1554927030,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:30 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fb95447c-51eb-4d17-93b7-9280426bc9f4", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:40 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8b554208-af66-4662-a8fe-ab9bb0cf1a1d", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:50 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "522a495c-e593-4db2-8369-b76a3e577393", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2\",\"deletedDate\":1547151030,\"scheduledPurgeDate\":1554927030,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate2/f45a2d4a7f4a431bb98d001d20b6576f\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150996,\"updated\":1547150996,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate2/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150996,\"updated\":1547150996}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:10:51 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "649c400b-405b-410f-ac20-6df1c5c87bab", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:02 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d6f1260f-535f-46e0-8811-4db01c3c5ff8", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3\",\"deletedDate\":1547151062,\"scheduledPurgeDate\":1554927062,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150997,\"updated\":1547150997}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:02 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "75caacbd-02c4-4aa7-988a-03baefa4007e", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:12 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5d1a2f1f-d042-44ed-876e-2bc27643472f", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:22 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a27045be-4b10-4d9a-a1c4-b73a438951ba", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3\",\"deletedDate\":1547151062,\"scheduledPurgeDate\":1554927062,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate3/6152b06573f44e3db1ccb82dd8382fa5\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150997,\"updated\":1547150997,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate3/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150997,\"updated\":1547150997}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:23 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4d2d75ed-fe9d-483c-ae4a-0e78dd8c882a", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:34 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a9ba59c2-d1dc-4d0a-9206-7689b6dd0d3f", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0\",\"deletedDate\":1547151094,\"scheduledPurgeDate\":1554927094,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150995,\"updated\":1547150995}}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:34 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "10863c8b-ce1a-4dbb-ab09-84918319d36e", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate0\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:44 GMT", + "content-length" : "100", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d1512e52-e70d-4567-acd8-70e31cdea88d", + "Body" : "{\"error\":{\"code\":\"CertificateNotFound\",\"message\":\"Deleted Certificate not found: listCertificate0\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:55 GMT", + "content-length" : "1980", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cf208b52-81e7-496a-a9e3-21b918e6ac1c", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0\",\"deletedDate\":1547151094,\"scheduledPurgeDate\":1554927094,\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"sid\":\"https://azure-keyvault-3.vault.azure.net/secrets/listCertificate0/1333558dbfd64426b69ca0d79d47381c\",\"x5t\":\"fLi3U52HunIVNXubkEnf8tP6Wbo\",\"cer\":\"MIICODCCAeagAwIBAgIQqHmpBAv+CY9IJFoUhlbziTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE1MDQyOTIxNTM0MVoXDTM5MTIzMTIzNTk1OVowFzEVMBMGA1UEAxMMS2V5VmF1bHRUZXN0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5bVAT73zr4+N4WVv2+SvTunAw08ksS4BrJW/nNliz3S9XuzMBMXvmYzU5HJ8TtEgluBiZZYd5qsMJD+OXHSNbsLdmMhni0jYX09h3XlC2VJw2sGKeYF+xEaavXm337aZZaZyjrFBrrUl51UePaN+kVFXNlBb3N3TYpqa7KokXenJQuR+i9Gv9a77c0UsSsDSryxppYhKK7HvTZCpKrhVtulF5iPMswWe9np3uggfMamyIsK/0L7X9w9B2qN7993RR0A00nOk4H6CnkuwO77dSsD0KJsk6FyAoZBzRXDZh9+d9R76zCL506NcQy/jl0lCiQYwsUX73PG5pxOh02OwKwIDAQABo0swSTBHBgNVHQEEQDA+gBAS5AktBh0dTwCNYSHcFmRjoRgwFjEUMBIGA1UEAxMLUm9vdCBBZ2VuY3mCEAY3bACqAGSKEc+41KpcNfQwCQYFKw4DAh0FAANBAGqIjo2geVagzuzaZOe1ClGKhZeiCKfWAxklaGN+qlGUbVS4IN4V1lot3VKnzabasmkEHeNxPwLn1qvSD0cX9CE=\",\"attributes\":{\"enabled\":true,\"nbf\":1430344421,\"exp\":2208988799,\"created\":1547150995,\"updated\":1547150995,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"policy\":{\"id\":\"https://azure-keyvault-3.vault.azure.net/certificates/listCertificate0/policy\",\"key_props\":{\"exportable\":true,\"kty\":\"RSA\",\"key_size\":2048,\"reuse_key\":false},\"secret_props\":{\"contentType\":\"application/x-pkcs12\"},\"x509_props\":{\"subject\":\"CN=KeyVaultTest\",\"ekus\":[],\"key_usage\":[],\"validity_months\":297,\"basic_constraints\":{\"ca\":false}},\"lifetime_actions\":[{\"trigger\":{\"lifetime_percentage\":80},\"action\":{\"action_type\":\"EmailContacts\"}}],\"issuer\":{\"name\":\"Unknown\"},\"attributes\":{\"enabled\":true,\"created\":1547150995,\"updated\":1547150995}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedcertificates/listCertificate0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:11:55 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "daa1482c-005c-461a-82d4-d593f3ae6dc4", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeyVersionsForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeyVersionsForKeyOperationsTest.json index 8d240377f036f..27015a1217f5b 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeyVersionsForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeyVersionsForKeyOperationsTest.json @@ -1,326 +1,326 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:53 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f7d85e8f-ffd9-487d-bdeb-7642a2a016a1", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:53 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ca14a88a-f915-40c3-a8e2-712307e7a8fe", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7882336d37e345698102e693832715d6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zF2Nwjur8LzzmLQgBYOVhDJe7yimhQsehFkSsdfUv0HzqLTCitSgvz5vxcrMWSWKO7jWQmdss-Y4HSsIMh4EQ7soGtiMTI-1O6tT9lyuse3u-whoOyj0-0C4rArvoFGe5rqJwLJ8xKohAFg5HzVFuFFEVxAjq934ubKTxoboC7H5bIBQ_WuNN-1rbKbMnvKURtndgAzpuyCjDX_B-3zvmDgiqT0WGShiwD_jG-iTZgWXMBCvQqpOkRudF28whsAsHPyqNmnZcAvInXIK-m-Qe1q-giuI_srDDOy1fWgKJ8Vt7zvz89G665VozaCR54ncdG1b9mCY39BOKdHGdpc1ZQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:53 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6a2170af-8a3f-4162-b672-cc2ac186cc32", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/af7f367e72a149918041f98c5fcf46b2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mnb16HMxckGTilV6kC1QvL8XpUILv0JJg2RZ5my-qXlTh7v7xo7XOWKIVs76mh7yzwQ0BdDM19k3V8CkEOr1Y1encgz6fPh-hSdlXae2c0hWMpu-JRpdxvVHQQ6zxgeajEi4E-AUN-Qd2omfug_mIx_X9eo4Ly665O3X3QaS9-XLxuvYF70n2ZpuZ7j8G0FGVTi-ruwEpEOcDVpfLswZ9N_zJUtbq6ZtSjHi9k3-ECKDs4KvAhLaIG2rAlo6BMWkaqHYCKQAnnIMbSiBvlm1Grd5NOJepifdBZti_DCpj-TBVIXEjvPzlqtqAKiNBS7X67zhyLRtrU1soy3s8dcStw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:53 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d0f5fe78-4502-43ed-ac3c-0f70a516d1e8", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/49ba491ba0574a7fbf940e9b58d03e66\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sND9UE5OvUj9H9ZHEh76OWu0u1uVBVVHIfbOfx6QtyAfnOukre4lA73ZlVEdvKliWECahDvNgZuPT1M1U1wS_RgmayYx_SQm6zK0kdy2YeeG6w5_ATy_IE5TPZOke4-apHqbveh-cJCvmwBjwnqlV3QKQbeaHcKBO2Xnn1hAxBp9zw3O1qJ0j5KbRiYgt51xH5g_e1rsr33IPswZnybeXxzE06W3SiBh-B8yR_4oLyoaqQlfzB5g-et1e1Y1BgeopRg40LWz1z6hQGaxXRRU0H2w7MV4nId6HEDhLPtauxOXWxxkFd0IWSFoFSqSxLjVmtQ8OBpNydkBid1VeF101w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:54 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9f1543a2-ddb3-4197-ad11-d098b53e2512", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"8LhqxM8wnv1-AfOtQH6RIinc-ogzOmihvL8w7tbPyswA5lOI8oZUDVyGWgU0eSXfkGOYvHkKIbv2RysC8Uup-C6oHm65npPVyjku6ZqCKq10NO5J4L376lU4Fb2EF8n8XY7anrvdl8Ud6pvz3TqU1xnHMf5pkrQzPo5hOWeJLPdrtzYxYPQGEEdwWMY90jcwBPnhhpCCLNm7ssZ4E-0FHlShnNRmq0na1voopx9vt5qSV_h2S5aLvBadRI_PADnErtN6ddPPEfLiYJokIKjJtLvzxLAYCezLw53iZsEazE-Zcc2DoPdTy3i4Lv5wiMgTZRSTz4IbVgULm3cRknxyfw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/versions?maxresults=4&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:54 GMT", - "content-length" : "1184", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8a1ce1f5-8536-4e13-93f6-ee3e0e2bcd76", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"attributes\":{\"enabled\":true,\"created\":1547152132,\"updated\":1547152132,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/49ba491ba0574a7fbf940e9b58d03e66\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7882336d37e345698102e693832715d6\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys/javaKey/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTBJV3RsZVM5S1FWWkJTMFZaTDBGR04wWXpOamRGTnpKQk1UUTVPVEU0TURReFJqazRRelZHUTBZME5rSXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=4\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTBJV3RsZVM5S1FWWkJTMFZaTDBGR04wWXpOamRGTnpKQk1UUTVPVEU0TURReFJqazRRelZHUTBZME5rSXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=4", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:54 GMT", - "content-length" : "236", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c89cb8a5-76f0-41a1-9f16-9d3f9622b7f1", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/af7f367e72a149918041f98c5fcf46b2\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/versions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:54 GMT", - "content-length" : "1072", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "0646b3f6-db40-4a96-80ca-19242d8e2b47", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"attributes\":{\"enabled\":true,\"created\":1547152132,\"updated\":1547152132,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/49ba491ba0574a7fbf940e9b58d03e66\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7882336d37e345698102e693832715d6\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/af7f367e72a149918041f98c5fcf46b2\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:55 GMT", - "content-length" : "791", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "20b69021-e02e-45dc-90b7-439f9693f909", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152135,\"scheduledPurgeDate\":1554928135,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"8LhqxM8wnv1-AfOtQH6RIinc-ogzOmihvL8w7tbPyswA5lOI8oZUDVyGWgU0eSXfkGOYvHkKIbv2RysC8Uup-C6oHm65npPVyjku6ZqCKq10NO5J4L376lU4Fb2EF8n8XY7anrvdl8Ud6pvz3TqU1xnHMf5pkrQzPo5hOWeJLPdrtzYxYPQGEEdwWMY90jcwBPnhhpCCLNm7ssZ4E-0FHlShnNRmq0na1voopx9vt5qSV_h2S5aLvBadRI_PADnErtN6ddPPEfLiYJokIKjJtLvzxLAYCezLw53iZsEazE-Zcc2DoPdTy3i4Lv5wiMgTZRSTz4IbVgULm3cRknxyfw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:55 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d99ac36f-b3a7-4623-ace6-8549db6e4fc9", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:05 GMT", - "content-length" : "791", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "928cfea7-526e-47dd-b381-642364fe2979", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152135,\"scheduledPurgeDate\":1554928135,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"8LhqxM8wnv1-AfOtQH6RIinc-ogzOmihvL8w7tbPyswA5lOI8oZUDVyGWgU0eSXfkGOYvHkKIbv2RysC8Uup-C6oHm65npPVyjku6ZqCKq10NO5J4L376lU4Fb2EF8n8XY7anrvdl8Ud6pvz3TqU1xnHMf5pkrQzPo5hOWeJLPdrtzYxYPQGEEdwWMY90jcwBPnhhpCCLNm7ssZ4E-0FHlShnNRmq0na1voopx9vt5qSV_h2S5aLvBadRI_PADnErtN6ddPPEfLiYJokIKjJtLvzxLAYCezLw53iZsEazE-Zcc2DoPdTy3i4Lv5wiMgTZRSTz4IbVgULm3cRknxyfw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:29:06 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3e34862f-07b7-4a91-ac75-65a5c7d6f65c", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:53 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f7d85e8f-ffd9-487d-bdeb-7642a2a016a1", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:53 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ca14a88a-f915-40c3-a8e2-712307e7a8fe", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7882336d37e345698102e693832715d6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zF2Nwjur8LzzmLQgBYOVhDJe7yimhQsehFkSsdfUv0HzqLTCitSgvz5vxcrMWSWKO7jWQmdss-Y4HSsIMh4EQ7soGtiMTI-1O6tT9lyuse3u-whoOyj0-0C4rArvoFGe5rqJwLJ8xKohAFg5HzVFuFFEVxAjq934ubKTxoboC7H5bIBQ_WuNN-1rbKbMnvKURtndgAzpuyCjDX_B-3zvmDgiqT0WGShiwD_jG-iTZgWXMBCvQqpOkRudF28whsAsHPyqNmnZcAvInXIK-m-Qe1q-giuI_srDDOy1fWgKJ8Vt7zvz89G665VozaCR54ncdG1b9mCY39BOKdHGdpc1ZQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:53 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6a2170af-8a3f-4162-b672-cc2ac186cc32", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/af7f367e72a149918041f98c5fcf46b2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mnb16HMxckGTilV6kC1QvL8XpUILv0JJg2RZ5my-qXlTh7v7xo7XOWKIVs76mh7yzwQ0BdDM19k3V8CkEOr1Y1encgz6fPh-hSdlXae2c0hWMpu-JRpdxvVHQQ6zxgeajEi4E-AUN-Qd2omfug_mIx_X9eo4Ly665O3X3QaS9-XLxuvYF70n2ZpuZ7j8G0FGVTi-ruwEpEOcDVpfLswZ9N_zJUtbq6ZtSjHi9k3-ECKDs4KvAhLaIG2rAlo6BMWkaqHYCKQAnnIMbSiBvlm1Grd5NOJepifdBZti_DCpj-TBVIXEjvPzlqtqAKiNBS7X67zhyLRtrU1soy3s8dcStw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:53 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d0f5fe78-4502-43ed-ac3c-0f70a516d1e8", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/49ba491ba0574a7fbf940e9b58d03e66\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"sND9UE5OvUj9H9ZHEh76OWu0u1uVBVVHIfbOfx6QtyAfnOukre4lA73ZlVEdvKliWECahDvNgZuPT1M1U1wS_RgmayYx_SQm6zK0kdy2YeeG6w5_ATy_IE5TPZOke4-apHqbveh-cJCvmwBjwnqlV3QKQbeaHcKBO2Xnn1hAxBp9zw3O1qJ0j5KbRiYgt51xH5g_e1rsr33IPswZnybeXxzE06W3SiBh-B8yR_4oLyoaqQlfzB5g-et1e1Y1BgeopRg40LWz1z6hQGaxXRRU0H2w7MV4nId6HEDhLPtauxOXWxxkFd0IWSFoFSqSxLjVmtQ8OBpNydkBid1VeF101w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:54 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9f1543a2-ddb3-4197-ad11-d098b53e2512", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"8LhqxM8wnv1-AfOtQH6RIinc-ogzOmihvL8w7tbPyswA5lOI8oZUDVyGWgU0eSXfkGOYvHkKIbv2RysC8Uup-C6oHm65npPVyjku6ZqCKq10NO5J4L376lU4Fb2EF8n8XY7anrvdl8Ud6pvz3TqU1xnHMf5pkrQzPo5hOWeJLPdrtzYxYPQGEEdwWMY90jcwBPnhhpCCLNm7ssZ4E-0FHlShnNRmq0na1voopx9vt5qSV_h2S5aLvBadRI_PADnErtN6ddPPEfLiYJokIKjJtLvzxLAYCezLw53iZsEazE-Zcc2DoPdTy3i4Lv5wiMgTZRSTz4IbVgULm3cRknxyfw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/versions?maxresults=4&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:54 GMT", + "content-length" : "1184", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8a1ce1f5-8536-4e13-93f6-ee3e0e2bcd76", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"attributes\":{\"enabled\":true,\"created\":1547152132,\"updated\":1547152132,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/49ba491ba0574a7fbf940e9b58d03e66\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7882336d37e345698102e693832715d6\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys/javaKey/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTBJV3RsZVM5S1FWWkJTMFZaTDBGR04wWXpOamRGTnpKQk1UUTVPVEU0TURReFJqazRRelZHUTBZME5rSXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=4\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMjAhTURBd01EUTBJV3RsZVM5S1FWWkJTMFZaTDBGR04wWXpOamRGTnpKQk1UUTVPVEU0TURReFJqazRRelZHUTBZME5rSXlJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=4", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:54 GMT", + "content-length" : "236", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c89cb8a5-76f0-41a1-9f16-9d3f9622b7f1", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/af7f367e72a149918041f98c5fcf46b2\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/versions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:54 GMT", + "content-length" : "1072", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "0646b3f6-db40-4a96-80ca-19242d8e2b47", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"attributes\":{\"enabled\":true,\"created\":1547152132,\"updated\":1547152132,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/49ba491ba0574a7fbf940e9b58d03e66\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7882336d37e345698102e693832715d6\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/af7f367e72a149918041f98c5fcf46b2\",\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:55 GMT", + "content-length" : "791", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "20b69021-e02e-45dc-90b7-439f9693f909", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152135,\"scheduledPurgeDate\":1554928135,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"8LhqxM8wnv1-AfOtQH6RIinc-ogzOmihvL8w7tbPyswA5lOI8oZUDVyGWgU0eSXfkGOYvHkKIbv2RysC8Uup-C6oHm65npPVyjku6ZqCKq10NO5J4L376lU4Fb2EF8n8XY7anrvdl8Ud6pvz3TqU1xnHMf5pkrQzPo5hOWeJLPdrtzYxYPQGEEdwWMY90jcwBPnhhpCCLNm7ssZ4E-0FHlShnNRmq0na1voopx9vt5qSV_h2S5aLvBadRI_PADnErtN6ddPPEfLiYJokIKjJtLvzxLAYCezLw53iZsEazE-Zcc2DoPdTy3i4Lv5wiMgTZRSTz4IbVgULm3cRknxyfw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:55 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d99ac36f-b3a7-4623-ace6-8549db6e4fc9", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:05 GMT", + "content-length" : "791", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "928cfea7-526e-47dd-b381-642364fe2979", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547152135,\"scheduledPurgeDate\":1554928135,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/7729e2e38abb43aba1443fa59381712d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"8LhqxM8wnv1-AfOtQH6RIinc-ogzOmihvL8w7tbPyswA5lOI8oZUDVyGWgU0eSXfkGOYvHkKIbv2RysC8Uup-C6oHm65npPVyjku6ZqCKq10NO5J4L376lU4Fb2EF8n8XY7anrvdl8Ud6pvz3TqU1xnHMf5pkrQzPo5hOWeJLPdrtzYxYPQGEEdwWMY90jcwBPnhhpCCLNm7ssZ4E-0FHlShnNRmq0na1voopx9vt5qSV_h2S5aLvBadRI_PADnErtN6ddPPEfLiYJokIKjJtLvzxLAYCezLw53iZsEazE-Zcc2DoPdTy3i4Lv5wiMgTZRSTz4IbVgULm3cRknxyfw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152134,\"updated\":1547152134,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:29:06 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3e34862f-07b7-4a91-ac75-65a5c7d6f65c", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeysForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeysForKeyOperationsTest.json index 176911210d519..7b68dfe119cb6 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeysForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listKeysForKeyOperationsTest.json @@ -1,1209 +1,1209 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey0/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:04 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ae88e191-180d-4fde-ad26-8a767276eb83", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey0/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:05 GMT", - "content-length" : "659", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c0679f23-b6d4-4e46-80c8-1e2132889a5d", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0/e87e549749604558a0baba4a27920608\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nuyAYNY4bwXVt-jF2daSnzlwvTRKW7eoIi-GZ-6l6EgLoNoCLvMWqyMulmT8ItX9BgTNIw3hFcad1lmZ8-cwcwnHASpfoviXaFNPXeG0eUSn31z_Ius3G6Mg7ZUtlc-PTSvqilxY9lPsyhH1p58KB2F2INi_9lhL81ebEcs9spVYBqALW65u69akfZ9etiq9WWhmmgm62jHNk2hr8asi5FQjNz96xbwIPqq0lwI7uHrtdhwhglcEVLsINgs1oQ7KbzkrzjY5FpS11h8qpRmYYK9zyWF2TWU7amjNkNIqWcOaLUVHTErXARgIu8zJINZ6ldTXIr70w0cAxZGFZ_FV9w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey1/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:05 GMT", - "content-length" : "659", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e32ea38d-b2f6-4819-89dd-914ebcbb1760", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1/cfcf779dcb5d4b3c9a7fd3f1a1a0bf77\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0oA3inQkGycO0TDbKsd3r5J7V4qVJEiPpBZca93kP31wTk9knbP6j3WP_0F0D94ZdKW458NaBDZe0o82CXr9t_IFLsrccQSPyt0NWhn1heXfZMkaZXJi1gBMhqUI8nJDppxHxp2e0bmL-ntPR1o1kmkp4J1Hl3G7mJpivklffT0g7jRxrRbMKrH_XQLTI_-8A_ZHjiOhMXTqxVCZxA7Ctiq_L5rBCV5cZvWDnR4eptH1PRYYbLCYno6aU9lJ1-srhD7EGfM4aBRvEr-eWcxpTIEX3B6XbX1dobU-xfpRuRabk7z0zl-DT2tQkTm5v-yNRsbdEDA4j4gLbsYAXwKrWw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey2/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:05 GMT", - "content-length" : "659", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9fee80a4-04f8-4852-951b-2feeb5c6a14f", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2/aec8cc139eda4005a190d776459bb794\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ts7nP3s1ZTlVeTcQfxhec_0OqK41V7p-ypmEUyYbyGd1MOnvSq7AbthxQpZjPKQg5JygNOyTh7BPJTHDBlHVVPUO5BiYr9BTxl1Z95SOMlarAkLiKZfDUGN89vYr7Dm-wP5mbDWzriAfZsacezdt4QRK_F_x96E6NrqoVToO4KPAFd8jzQJt4KkkJ4dGu4Nj_OLKlqHWe5jWz0E5YZZTFPQogc2yGfr4LGTSSYIDWKppbbNKhoTS8EjqLzECvE1VkW_CAcxFbe1xA_4YEEatggoDcTE9-ABxroXx6cdyV4M0qXQLuIc4yRfH4bdiLXbRRrREHDTKmV_DRjL9yOlXbw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey3/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:05 GMT", - "content-length" : "659", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1dcb3fea-5e84-48a7-812f-2c15f9a8f613", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3/c9bccf36c5984a6a9a64e849d7a248f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s2MNdBGA2XiIk5ZdX_usBF6aXjLsXe_c9KQw28Cc5qsdg2UmjEeQbGbvW0AMlbpQBcFMM94iDf3GEaE6vV2C28qRpjpl81o4NZW0l70iAnXnqZo27_Ngn6vz-k2Mu4YmE7qEfAvy3qgX9hZGarrwbkSrA_KXIoezzjP2RppqkY-E4SA_SAerhSHZ8G6Tk5nPgR0AKJ4VTnKu1uC4Y_D2K9CWkE4W9zcfLv2ytkr8ReGErbIvq7Zo7xQ3ILnwcRaiu__8_8RLsxxtrJhD7GO5BF_4xee-ysigzpPmrz5W9fyDFcl3i2btIP5V4wAhEQQLwJ7SgKADo0DGUTC_228oSw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?maxresults=3&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:06 GMT", - "content-length" : "288", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "55aa876c-8a88-423d-8250-d11c250b44c1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkZUU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkZUU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:06 GMT", - "content-length" : "288", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "669fbbd1-a1e9-4445-acd2-e825108f8233", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:08 GMT", - "content-length" : "801", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bac2984d-11e9-40bc-a66a-6b1d422aabe3", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey\",\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0\",\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3NiFNREF3TURFeUlXdGxlUzlLUVZaQlMwVlpNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3NiFNREF3TURFeUlXdGxlUzlLUVZaQlMwVlpNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:08 GMT", - "content-length" : "641", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "de6de0a6-d8b5-430e-ad36-6f970ec2c66e", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:08 GMT", - "content-length" : "299", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3b2fd564-6eb5-41d0-8619-bf0eca87e49f", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVldSVkpUU1U5T1V5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVldSVkpUU1U5T1V5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:08 GMT", - "content-length" : "775", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b754d3f3-c2a8-44fb-97e7-29b22efaa4e5", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate\",\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate2\",\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:09 GMT", - "content-length" : "262", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "1ebda41d-d94c-4e11-9238-1713cdeeeba1", - "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem\",\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"managed\":true}],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/myCertificate?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:09 GMT", - "content-length" : "174", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4ae3baa8-1c7b-4cc8-8b07-f7e61809678e", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"KeyManagedByKeyVault\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:09 GMT", - "content-length" : "174", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5665326f-6928-4ab6-8f3c-269a2ca29f5e", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"KeyManagedByKeyVault\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/myCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:10 GMT", - "content-length" : "174", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7e55dd76-e621-4913-955a-c14baa90b712", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"KeyManagedByKeyVault\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:10 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "463e27bf-93be-46eb-a2d6-726479177e0b", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3\",\"deletedDate\":1547151790,\"scheduledPurgeDate\":1554927790,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3/c9bccf36c5984a6a9a64e849d7a248f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s2MNdBGA2XiIk5ZdX_usBF6aXjLsXe_c9KQw28Cc5qsdg2UmjEeQbGbvW0AMlbpQBcFMM94iDf3GEaE6vV2C28qRpjpl81o4NZW0l70iAnXnqZo27_Ngn6vz-k2Mu4YmE7qEfAvy3qgX9hZGarrwbkSrA_KXIoezzjP2RppqkY-E4SA_SAerhSHZ8G6Tk5nPgR0AKJ4VTnKu1uC4Y_D2K9CWkE4W9zcfLv2ytkr8ReGErbIvq7Zo7xQ3ILnwcRaiu__8_8RLsxxtrJhD7GO5BF_4xee-ysigzpPmrz5W9fyDFcl3i2btIP5V4wAhEQQLwJ7SgKADo0DGUTC_228oSw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:10 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f7ad9dd2-ac37-4455-8e80-dcde14b28c0e", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:20 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c1cc47fb-e31f-47c2-bf4f-3f33817c6cc6", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:30 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "07cba37d-566d-4a57-8e98-f88a3cfe8245", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:40 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "48598e39-b749-4161-bd29-c9e0b1d1be80", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3\",\"deletedDate\":1547151790,\"scheduledPurgeDate\":1554927790,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3/c9bccf36c5984a6a9a64e849d7a248f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s2MNdBGA2XiIk5ZdX_usBF6aXjLsXe_c9KQw28Cc5qsdg2UmjEeQbGbvW0AMlbpQBcFMM94iDf3GEaE6vV2C28qRpjpl81o4NZW0l70iAnXnqZo27_Ngn6vz-k2Mu4YmE7qEfAvy3qgX9hZGarrwbkSrA_KXIoezzjP2RppqkY-E4SA_SAerhSHZ8G6Tk5nPgR0AKJ4VTnKu1uC4Y_D2K9CWkE4W9zcfLv2ytkr8ReGErbIvq7Zo7xQ3ILnwcRaiu__8_8RLsxxtrJhD7GO5BF_4xee-ysigzpPmrz5W9fyDFcl3i2btIP5V4wAhEQQLwJ7SgKADo0DGUTC_228oSw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:41 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3013c1b1-fd9e-4b09-b1e3-c74066ff03ae", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2\",\"deletedDate\":1547151821,\"scheduledPurgeDate\":1554927821,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2/aec8cc139eda4005a190d776459bb794\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ts7nP3s1ZTlVeTcQfxhec_0OqK41V7p-ypmEUyYbyGd1MOnvSq7AbthxQpZjPKQg5JygNOyTh7BPJTHDBlHVVPUO5BiYr9BTxl1Z95SOMlarAkLiKZfDUGN89vYr7Dm-wP5mbDWzriAfZsacezdt4QRK_F_x96E6NrqoVToO4KPAFd8jzQJt4KkkJ4dGu4Nj_OLKlqHWe5jWz0E5YZZTFPQogc2yGfr4LGTSSYIDWKppbbNKhoTS8EjqLzECvE1VkW_CAcxFbe1xA_4YEEatggoDcTE9-ABxroXx6cdyV4M0qXQLuIc4yRfH4bdiLXbRRrREHDTKmV_DRjL9yOlXbw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:41 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d08603dd-8d1d-4960-a99d-f2dee298948d", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:23:51 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a253ea19-875f-445b-b69e-9b4bd100c5e7", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:02 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "60668b43-4529-4fd9-a2ab-3ea38f743792", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:12 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "3a5c07ad-798c-427e-a315-8b9ea1e68aea", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2\",\"deletedDate\":1547151821,\"scheduledPurgeDate\":1554927821,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2/aec8cc139eda4005a190d776459bb794\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ts7nP3s1ZTlVeTcQfxhec_0OqK41V7p-ypmEUyYbyGd1MOnvSq7AbthxQpZjPKQg5JygNOyTh7BPJTHDBlHVVPUO5BiYr9BTxl1Z95SOMlarAkLiKZfDUGN89vYr7Dm-wP5mbDWzriAfZsacezdt4QRK_F_x96E6NrqoVToO4KPAFd8jzQJt4KkkJ4dGu4Nj_OLKlqHWe5jWz0E5YZZTFPQogc2yGfr4LGTSSYIDWKppbbNKhoTS8EjqLzECvE1VkW_CAcxFbe1xA_4YEEatggoDcTE9-ABxroXx6cdyV4M0qXQLuIc4yRfH4bdiLXbRRrREHDTKmV_DRjL9yOlXbw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:13 GMT", - "content-length" : "791", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "2390cb55-cd5e-4748-a257-33ac4bbed10b", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151853,\"scheduledPurgeDate\":1554927853,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:13 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ee95d036-5d29-4336-b608-5a06f47aa3d6", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:23 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6c979923-1c50-4972-8971-cbefafdd6ece", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:34 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c0e9c4c9-5a94-4441-8ff1-b150096b76dd", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:44 GMT", - "content-length" : "791", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "44ba9656-1a54-43f8-99ab-cf88fd09f3ef", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151853,\"scheduledPurgeDate\":1554927853,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:45 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b84db3cf-3486-4029-826b-b492631bb817", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1\",\"deletedDate\":1547151885,\"scheduledPurgeDate\":1554927885,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1/cfcf779dcb5d4b3c9a7fd3f1a1a0bf77\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0oA3inQkGycO0TDbKsd3r5J7V4qVJEiPpBZca93kP31wTk9knbP6j3WP_0F0D94ZdKW458NaBDZe0o82CXr9t_IFLsrccQSPyt0NWhn1heXfZMkaZXJi1gBMhqUI8nJDppxHxp2e0bmL-ntPR1o1kmkp4J1Hl3G7mJpivklffT0g7jRxrRbMKrH_XQLTI_-8A_ZHjiOhMXTqxVCZxA7Ctiq_L5rBCV5cZvWDnR4eptH1PRYYbLCYno6aU9lJ1-srhD7EGfM4aBRvEr-eWcxpTIEX3B6XbX1dobU-xfpRuRabk7z0zl-DT2tQkTm5v-yNRsbdEDA4j4gLbsYAXwKrWw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:45 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "96f1ffe7-8b6a-4680-8d4f-4c385d9ee2f2", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:24:55 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "be7a6b24-edbd-428c-a0b7-f8d83463618b", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:06 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e66b7bb1-33d2-4453-91bc-3ab83a12baf7", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1\",\"deletedDate\":1547151885,\"scheduledPurgeDate\":1554927885,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1/cfcf779dcb5d4b3c9a7fd3f1a1a0bf77\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0oA3inQkGycO0TDbKsd3r5J7V4qVJEiPpBZca93kP31wTk9knbP6j3WP_0F0D94ZdKW458NaBDZe0o82CXr9t_IFLsrccQSPyt0NWhn1heXfZMkaZXJi1gBMhqUI8nJDppxHxp2e0bmL-ntPR1o1kmkp4J1Hl3G7mJpivklffT0g7jRxrRbMKrH_XQLTI_-8A_ZHjiOhMXTqxVCZxA7Ctiq_L5rBCV5cZvWDnR4eptH1PRYYbLCYno6aU9lJ1-srhD7EGfM4aBRvEr-eWcxpTIEX3B6XbX1dobU-xfpRuRabk7z0zl-DT2tQkTm5v-yNRsbdEDA4j4gLbsYAXwKrWw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:06 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c1315ffe-992f-4d34-9b26-e781c915d502", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0\",\"deletedDate\":1547151906,\"scheduledPurgeDate\":1554927906,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0/e87e549749604558a0baba4a27920608\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nuyAYNY4bwXVt-jF2daSnzlwvTRKW7eoIi-GZ-6l6EgLoNoCLvMWqyMulmT8ItX9BgTNIw3hFcad1lmZ8-cwcwnHASpfoviXaFNPXeG0eUSn31z_Ius3G6Mg7ZUtlc-PTSvqilxY9lPsyhH1p58KB2F2INi_9lhL81ebEcs9spVYBqALW65u69akfZ9etiq9WWhmmgm62jHNk2hr8asi5FQjNz96xbwIPqq0lwI7uHrtdhwhglcEVLsINgs1oQ7KbzkrzjY5FpS11h8qpRmYYK9zyWF2TWU7amjNkNIqWcOaLUVHTErXARgIu8zJINZ6ldTXIr70w0cAxZGFZ_FV9w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:06 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ae07801c-f1bf-4023-ab74-c939e3072099", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey0\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:17 GMT", - "content-length" : "76", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "69192f9b-fca0-43ca-a67e-365ab9da5e04", - "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey0\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:27 GMT", - "content-length" : "793", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "19d4008c-65d6-4bc7-b5db-c5be3e4facc4", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0\",\"deletedDate\":1547151906,\"scheduledPurgeDate\":1554927906,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0/e87e549749604558a0baba4a27920608\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nuyAYNY4bwXVt-jF2daSnzlwvTRKW7eoIi-GZ-6l6EgLoNoCLvMWqyMulmT8ItX9BgTNIw3hFcad1lmZ8-cwcwnHASpfoviXaFNPXeG0eUSn31z_Ius3G6Mg7ZUtlc-PTSvqilxY9lPsyhH1p58KB2F2INi_9lhL81ebEcs9spVYBqALW65u69akfZ9etiq9WWhmmgm62jHNk2hr8asi5FQjNz96xbwIPqq0lwI7uHrtdhwhglcEVLsINgs1oQ7KbzkrzjY5FpS11h8qpRmYYK9zyWF2TWU7amjNkNIqWcOaLUVHTErXARgIu8zJINZ6ldTXIr70w0cAxZGFZ_FV9w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:28 GMT", - "content-length" : "1894", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "54749c1e-9006-41af-b73e-9be0468e0172", - "Body" : "{\"value\":[{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151853,\"scheduledPurgeDate\":1554927853,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey\",\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0\",\"deletedDate\":1547151906,\"scheduledPurgeDate\":1554927906,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0\",\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1\",\"deletedDate\":1547151885,\"scheduledPurgeDate\":1554927885,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2\",\"deletedDate\":1547151821,\"scheduledPurgeDate\":1554927821,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3\",\"deletedDate\":1547151790,\"scheduledPurgeDate\":1554927790,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/deletedkeys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVRMFZTVkVsR1NVTkJWRVV4THpBMk0wWkRNRE5HTkRJek56UXpRalZCTWtNeU5EQTROakUxTmpCQlF6UTJJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVRMFZTVkVsR1NVTkJWRVV4THpBMk0wWkRNRE5HTkRJek56UXpRalZCTWtNeU5EQTROakUxTmpCQlF6UTJJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:28 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e1453d2a-fa8e-43bd-a29a-d2c3ebf9c2e0", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:25:29 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b8ed7e70-8964-4ace-a833-a09816b03e3d", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:26:09 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "88d84778-64bd-44f7-84b3-7396b6b1bbd1", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:26:50 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "26434a77-9522-4d30-8f6b-44c3a6728b2a", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:27:30 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "88ee7f98-536c-4205-a3c6-c131faa85df0", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:10 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c29d9363-333d-4f40-846b-656f918385a6", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey0/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:04 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ae88e191-180d-4fde-ad26-8a767276eb83", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey0/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:05 GMT", + "content-length" : "659", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c0679f23-b6d4-4e46-80c8-1e2132889a5d", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0/e87e549749604558a0baba4a27920608\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nuyAYNY4bwXVt-jF2daSnzlwvTRKW7eoIi-GZ-6l6EgLoNoCLvMWqyMulmT8ItX9BgTNIw3hFcad1lmZ8-cwcwnHASpfoviXaFNPXeG0eUSn31z_Ius3G6Mg7ZUtlc-PTSvqilxY9lPsyhH1p58KB2F2INi_9lhL81ebEcs9spVYBqALW65u69akfZ9etiq9WWhmmgm62jHNk2hr8asi5FQjNz96xbwIPqq0lwI7uHrtdhwhglcEVLsINgs1oQ7KbzkrzjY5FpS11h8qpRmYYK9zyWF2TWU7amjNkNIqWcOaLUVHTErXARgIu8zJINZ6ldTXIr70w0cAxZGFZ_FV9w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey1/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:05 GMT", + "content-length" : "659", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e32ea38d-b2f6-4819-89dd-914ebcbb1760", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1/cfcf779dcb5d4b3c9a7fd3f1a1a0bf77\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0oA3inQkGycO0TDbKsd3r5J7V4qVJEiPpBZca93kP31wTk9knbP6j3WP_0F0D94ZdKW458NaBDZe0o82CXr9t_IFLsrccQSPyt0NWhn1heXfZMkaZXJi1gBMhqUI8nJDppxHxp2e0bmL-ntPR1o1kmkp4J1Hl3G7mJpivklffT0g7jRxrRbMKrH_XQLTI_-8A_ZHjiOhMXTqxVCZxA7Ctiq_L5rBCV5cZvWDnR4eptH1PRYYbLCYno6aU9lJ1-srhD7EGfM4aBRvEr-eWcxpTIEX3B6XbX1dobU-xfpRuRabk7z0zl-DT2tQkTm5v-yNRsbdEDA4j4gLbsYAXwKrWw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey2/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:05 GMT", + "content-length" : "659", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9fee80a4-04f8-4852-951b-2feeb5c6a14f", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2/aec8cc139eda4005a190d776459bb794\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ts7nP3s1ZTlVeTcQfxhec_0OqK41V7p-ypmEUyYbyGd1MOnvSq7AbthxQpZjPKQg5JygNOyTh7BPJTHDBlHVVPUO5BiYr9BTxl1Z95SOMlarAkLiKZfDUGN89vYr7Dm-wP5mbDWzriAfZsacezdt4QRK_F_x96E6NrqoVToO4KPAFd8jzQJt4KkkJ4dGu4Nj_OLKlqHWe5jWz0E5YZZTFPQogc2yGfr4LGTSSYIDWKppbbNKhoTS8EjqLzECvE1VkW_CAcxFbe1xA_4YEEatggoDcTE9-ABxroXx6cdyV4M0qXQLuIc4yRfH4bdiLXbRRrREHDTKmV_DRjL9yOlXbw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey3/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:05 GMT", + "content-length" : "659", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1dcb3fea-5e84-48a7-812f-2c15f9a8f613", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3/c9bccf36c5984a6a9a64e849d7a248f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s2MNdBGA2XiIk5ZdX_usBF6aXjLsXe_c9KQw28Cc5qsdg2UmjEeQbGbvW0AMlbpQBcFMM94iDf3GEaE6vV2C28qRpjpl81o4NZW0l70iAnXnqZo27_Ngn6vz-k2Mu4YmE7qEfAvy3qgX9hZGarrwbkSrA_KXIoezzjP2RppqkY-E4SA_SAerhSHZ8G6Tk5nPgR0AKJ4VTnKu1uC4Y_D2K9CWkE4W9zcfLv2ytkr8ReGErbIvq7Zo7xQ3ILnwcRaiu__8_8RLsxxtrJhD7GO5BF_4xee-ysigzpPmrz5W9fyDFcl3i2btIP5V4wAhEQQLwJ7SgKADo0DGUTC_228oSw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?maxresults=3&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:06 GMT", + "content-length" : "288", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "55aa876c-8a88-423d-8250-d11c250b44c1", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkZUU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlEVWtWQlZFVlVSVk5VU2tGV1FWQkZUU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:06 GMT", + "content-length" : "288", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "669fbbd1-a1e9-4445-acd2-e825108f8233", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElXdGxlUzlLUVZaQlJWaFVSVTVUU1U5T1MwVlpNU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:08 GMT", + "content-length" : "801", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bac2984d-11e9-40bc-a66a-6b1d422aabe3", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey\",\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0\",\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3NiFNREF3TURFeUlXdGxlUzlLUVZaQlMwVlpNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3NiFNREF3TURFeUlXdGxlUzlLUVZaQlMwVlpNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:08 GMT", + "content-length" : "641", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "de6de0a6-d8b5-430e-ad36-6f970ec2c66e", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJd0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVXhJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:08 GMT", + "content-length" : "299", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3b2fd564-6eb5-41d0-8619-bf0eca87e49f", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVldSVkpUU1U5T1V5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lXdGxlUzlNU1ZOVVEwVlNWRWxHU1VOQlZFVldSVkpUU1U5T1V5RXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:08 GMT", + "content-length" : "775", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b754d3f3-c2a8-44fb-97e7-29b22efaa4e5", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate\",\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true},{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/myCertificate2\",\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"},\"managed\":true}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE3MiFNREF3TURBNUlXdGxlUzlOV1V0RldTRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:09 GMT", + "content-length" : "262", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "1ebda41d-d94c-4e11-9238-1713cdeeeba1", + "Body" : "{\"value\":[{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem\",\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"managed\":true}],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/myCertificate?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:09 GMT", + "content-length" : "174", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4ae3baa8-1c7b-4cc8-8b07-f7e61809678e", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"KeyManagedByKeyVault\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/SelfSignedJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:09 GMT", + "content-length" : "174", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5665326f-6928-4ab6-8f3c-269a2ca29f5e", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"KeyManagedByKeyVault\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/myCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:10 GMT", + "content-length" : "174", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7e55dd76-e621-4913-955a-c14baa90b712", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"KeyManagedByKeyVault\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:10 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "463e27bf-93be-46eb-a2d6-726479177e0b", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3\",\"deletedDate\":1547151790,\"scheduledPurgeDate\":1554927790,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3/c9bccf36c5984a6a9a64e849d7a248f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s2MNdBGA2XiIk5ZdX_usBF6aXjLsXe_c9KQw28Cc5qsdg2UmjEeQbGbvW0AMlbpQBcFMM94iDf3GEaE6vV2C28qRpjpl81o4NZW0l70iAnXnqZo27_Ngn6vz-k2Mu4YmE7qEfAvy3qgX9hZGarrwbkSrA_KXIoezzjP2RppqkY-E4SA_SAerhSHZ8G6Tk5nPgR0AKJ4VTnKu1uC4Y_D2K9CWkE4W9zcfLv2ytkr8ReGErbIvq7Zo7xQ3ILnwcRaiu__8_8RLsxxtrJhD7GO5BF_4xee-ysigzpPmrz5W9fyDFcl3i2btIP5V4wAhEQQLwJ7SgKADo0DGUTC_228oSw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:10 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f7ad9dd2-ac37-4455-8e80-dcde14b28c0e", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:20 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c1cc47fb-e31f-47c2-bf4f-3f33817c6cc6", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:30 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "07cba37d-566d-4a57-8e98-f88a3cfe8245", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:40 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "48598e39-b749-4161-bd29-c9e0b1d1be80", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3\",\"deletedDate\":1547151790,\"scheduledPurgeDate\":1554927790,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3/c9bccf36c5984a6a9a64e849d7a248f6\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"s2MNdBGA2XiIk5ZdX_usBF6aXjLsXe_c9KQw28Cc5qsdg2UmjEeQbGbvW0AMlbpQBcFMM94iDf3GEaE6vV2C28qRpjpl81o4NZW0l70iAnXnqZo27_Ngn6vz-k2Mu4YmE7qEfAvy3qgX9hZGarrwbkSrA_KXIoezzjP2RppqkY-E4SA_SAerhSHZ8G6Tk5nPgR0AKJ4VTnKu1uC4Y_D2K9CWkE4W9zcfLv2ytkr8ReGErbIvq7Zo7xQ3ILnwcRaiu__8_8RLsxxtrJhD7GO5BF_4xee-ysigzpPmrz5W9fyDFcl3i2btIP5V4wAhEQQLwJ7SgKADo0DGUTC_228oSw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:41 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3013c1b1-fd9e-4b09-b1e3-c74066ff03ae", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2\",\"deletedDate\":1547151821,\"scheduledPurgeDate\":1554927821,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2/aec8cc139eda4005a190d776459bb794\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ts7nP3s1ZTlVeTcQfxhec_0OqK41V7p-ypmEUyYbyGd1MOnvSq7AbthxQpZjPKQg5JygNOyTh7BPJTHDBlHVVPUO5BiYr9BTxl1Z95SOMlarAkLiKZfDUGN89vYr7Dm-wP5mbDWzriAfZsacezdt4QRK_F_x96E6NrqoVToO4KPAFd8jzQJt4KkkJ4dGu4Nj_OLKlqHWe5jWz0E5YZZTFPQogc2yGfr4LGTSSYIDWKppbbNKhoTS8EjqLzECvE1VkW_CAcxFbe1xA_4YEEatggoDcTE9-ABxroXx6cdyV4M0qXQLuIc4yRfH4bdiLXbRRrREHDTKmV_DRjL9yOlXbw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:41 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d08603dd-8d1d-4960-a99d-f2dee298948d", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:23:51 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a253ea19-875f-445b-b69e-9b4bd100c5e7", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:02 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "60668b43-4529-4fd9-a2ab-3ea38f743792", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:12 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "3a5c07ad-798c-427e-a315-8b9ea1e68aea", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2\",\"deletedDate\":1547151821,\"scheduledPurgeDate\":1554927821,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2/aec8cc139eda4005a190d776459bb794\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ts7nP3s1ZTlVeTcQfxhec_0OqK41V7p-ypmEUyYbyGd1MOnvSq7AbthxQpZjPKQg5JygNOyTh7BPJTHDBlHVVPUO5BiYr9BTxl1Z95SOMlarAkLiKZfDUGN89vYr7Dm-wP5mbDWzriAfZsacezdt4QRK_F_x96E6NrqoVToO4KPAFd8jzQJt4KkkJ4dGu4Nj_OLKlqHWe5jWz0E5YZZTFPQogc2yGfr4LGTSSYIDWKppbbNKhoTS8EjqLzECvE1VkW_CAcxFbe1xA_4YEEatggoDcTE9-ABxroXx6cdyV4M0qXQLuIc4yRfH4bdiLXbRRrREHDTKmV_DRjL9yOlXbw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:13 GMT", + "content-length" : "791", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "2390cb55-cd5e-4748-a257-33ac4bbed10b", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151853,\"scheduledPurgeDate\":1554927853,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:13 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ee95d036-5d29-4336-b608-5a06f47aa3d6", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:23 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6c979923-1c50-4972-8971-cbefafdd6ece", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:34 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c0e9c4c9-5a94-4441-8ff1-b150096b76dd", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:44 GMT", + "content-length" : "791", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "44ba9656-1a54-43f8-99ab-cf88fd09f3ef", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151853,\"scheduledPurgeDate\":1554927853,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/fcffed2b80a348ab9cd91ce72ed59142\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:45 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b84db3cf-3486-4029-826b-b492631bb817", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1\",\"deletedDate\":1547151885,\"scheduledPurgeDate\":1554927885,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1/cfcf779dcb5d4b3c9a7fd3f1a1a0bf77\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0oA3inQkGycO0TDbKsd3r5J7V4qVJEiPpBZca93kP31wTk9knbP6j3WP_0F0D94ZdKW458NaBDZe0o82CXr9t_IFLsrccQSPyt0NWhn1heXfZMkaZXJi1gBMhqUI8nJDppxHxp2e0bmL-ntPR1o1kmkp4J1Hl3G7mJpivklffT0g7jRxrRbMKrH_XQLTI_-8A_ZHjiOhMXTqxVCZxA7Ctiq_L5rBCV5cZvWDnR4eptH1PRYYbLCYno6aU9lJ1-srhD7EGfM4aBRvEr-eWcxpTIEX3B6XbX1dobU-xfpRuRabk7z0zl-DT2tQkTm5v-yNRsbdEDA4j4gLbsYAXwKrWw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:45 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "96f1ffe7-8b6a-4680-8d4f-4c385d9ee2f2", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:24:55 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "be7a6b24-edbd-428c-a0b7-f8d83463618b", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:06 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e66b7bb1-33d2-4453-91bc-3ab83a12baf7", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1\",\"deletedDate\":1547151885,\"scheduledPurgeDate\":1554927885,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1/cfcf779dcb5d4b3c9a7fd3f1a1a0bf77\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0oA3inQkGycO0TDbKsd3r5J7V4qVJEiPpBZca93kP31wTk9knbP6j3WP_0F0D94ZdKW458NaBDZe0o82CXr9t_IFLsrccQSPyt0NWhn1heXfZMkaZXJi1gBMhqUI8nJDppxHxp2e0bmL-ntPR1o1kmkp4J1Hl3G7mJpivklffT0g7jRxrRbMKrH_XQLTI_-8A_ZHjiOhMXTqxVCZxA7Ctiq_L5rBCV5cZvWDnR4eptH1PRYYbLCYno6aU9lJ1-srhD7EGfM4aBRvEr-eWcxpTIEX3B6XbX1dobU-xfpRuRabk7z0zl-DT2tQkTm5v-yNRsbdEDA4j4gLbsYAXwKrWw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:06 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c1315ffe-992f-4d34-9b26-e781c915d502", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0\",\"deletedDate\":1547151906,\"scheduledPurgeDate\":1554927906,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0/e87e549749604558a0baba4a27920608\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nuyAYNY4bwXVt-jF2daSnzlwvTRKW7eoIi-GZ-6l6EgLoNoCLvMWqyMulmT8ItX9BgTNIw3hFcad1lmZ8-cwcwnHASpfoviXaFNPXeG0eUSn31z_Ius3G6Mg7ZUtlc-PTSvqilxY9lPsyhH1p58KB2F2INi_9lhL81ebEcs9spVYBqALW65u69akfZ9etiq9WWhmmgm62jHNk2hr8asi5FQjNz96xbwIPqq0lwI7uHrtdhwhglcEVLsINgs1oQ7KbzkrzjY5FpS11h8qpRmYYK9zyWF2TWU7amjNkNIqWcOaLUVHTErXARgIu8zJINZ6ldTXIr70w0cAxZGFZ_FV9w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:06 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ae07801c-f1bf-4023-ab74-c939e3072099", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey0\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:17 GMT", + "content-length" : "76", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "69192f9b-fca0-43ca-a67e-365ab9da5e04", + "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: javaKey0\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:27 GMT", + "content-length" : "793", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "19d4008c-65d6-4bc7-b5db-c5be3e4facc4", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0\",\"deletedDate\":1547151906,\"scheduledPurgeDate\":1554927906,\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0/e87e549749604558a0baba4a27920608\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"nuyAYNY4bwXVt-jF2daSnzlwvTRKW7eoIi-GZ-6l6EgLoNoCLvMWqyMulmT8ItX9BgTNIw3hFcad1lmZ8-cwcwnHASpfoviXaFNPXeG0eUSn31z_Ius3G6Mg7ZUtlc-PTSvqilxY9lPsyhH1p58KB2F2INi_9lhL81ebEcs9spVYBqALW65u69akfZ9etiq9WWhmmgm62jHNk2hr8asi5FQjNz96xbwIPqq0lwI7uHrtdhwhglcEVLsINgs1oQ7KbzkrzjY5FpS11h8qpRmYYK9zyWF2TWU7amjNkNIqWcOaLUVHTErXARgIu8zJINZ6ldTXIr70w0cAxZGFZ_FV9w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:28 GMT", + "content-length" : "1894", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "54749c1e-9006-41af-b73e-9be0468e0172", + "Body" : "{\"value\":[{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey\",\"deletedDate\":1547151853,\"scheduledPurgeDate\":1554927853,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey\",\"attributes\":{\"enabled\":true,\"created\":1547151784,\"updated\":1547151784,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0\",\"deletedDate\":1547151906,\"scheduledPurgeDate\":1554927906,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey0\",\"attributes\":{\"enabled\":true,\"created\":1547151785,\"updated\":1547151785,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1\",\"deletedDate\":1547151885,\"scheduledPurgeDate\":1554927885,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey1\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2\",\"deletedDate\":1547151821,\"scheduledPurgeDate\":1554927821,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey2\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3\",\"deletedDate\":1547151790,\"scheduledPurgeDate\":1554927790,\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey3\",\"attributes\":{\"enabled\":true,\"created\":1547151786,\"updated\":1547151786,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/deletedkeys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVRMFZTVkVsR1NVTkJWRVV4THpBMk0wWkRNRE5HTkRJek56UXpRalZCTWtNeU5EQTROakUxTmpCQlF6UTJJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzIhTURBd01EVXpJV3RsZVM5TVNWTlVRMFZTVkVsR1NVTkJWRVV4THpBMk0wWkRNRE5HTkRJek56UXpRalZCTWtNeU5EQTROakUxTmpCQlF6UTJJVEF3TURBeU9DRTVPVGs1TFRFeUxUTXhWREl6T2pVNU9qVTVMams1T1RrNU9UbGFJUS0tIiwiVGFyZ2V0TG9jYXRpb24iOjB9", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:28 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e1453d2a-fa8e-43bd-a29a-d2c3ebf9c2e0", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:25:29 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b8ed7e70-8964-4ace-a833-a09816b03e3d", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:26:09 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "88d84778-64bd-44f7-84b3-7396b6b1bbd1", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:26:50 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "26434a77-9522-4d30-8f6b-44c3a6728b2a", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:27:30 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "88ee7f98-536c-4205-a3c6-c131faa85df0", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedkeys/javaKey3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:10 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c29d9363-333d-4f40-846b-656f918385a6", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretVersionsForSecretOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretVersionsForSecretOperationsTest.json index 30433d6131dfd..ed51c75f2df81 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretVersionsForSecretOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretVersionsForSecretOperationsTest.json @@ -1,353 +1,353 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:44 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "763789fe-1a44-4310-b188-a6e733820b38", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:44 GMT", - "content-length" : "277", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e09ef637-589b-4f22-a231-8d15660d3ac8", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/0c73f26d770042dba8a0ac926b532913\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:45 GMT", - "content-length" : "277", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "153d1052-2461-4207-8537-5b98880dc595", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/818d3992cd3d4c719b34ad592626a3d0\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:45 GMT", - "content-length" : "277", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9975bb02-27ba-4547-b5d6-08e9383ef444", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/84ff97ec0fbe46648200f1b6991e7f11\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:45 GMT", - "content-length" : "277", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "de988cd4-2455-424e-b366-ba2808b2880c", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/versions?maxresults=3&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:45 GMT", - "content-length" : "1050", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ca149bf5-e986-473b-b2b1-1decb9a024c1", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/0c73f26d770042dba8a0ac926b532913\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/818d3992cd3d4c719b34ad592626a3d0\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/84ff97ec0fbe46648200f1b6991e7f11\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets/javaSecretVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJWE5sWTNKbGRDOUtRVlpCVTBWRFVrVlVWa1ZTVTBsUFRsTXZPRGxFUmpsRE5VWTJNME0zTkRJNFJVRkVRa0kzTTBSR01rSkdNRE0zT0RraE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJWE5sWTNKbGRDOUtRVlpCVTBWRFVrVlVWa1ZTVTBsUFRsTXZPRGxFUmpsRE5VWTJNME0zTkRJNFJVRkVRa0kzTTBSR01rSkdNRE0zT0RraE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:46 GMT", - "content-length" : "249", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7df26065-00f1-4eef-8c9f-1b1d3d05adb7", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/versions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:46 GMT", - "content-length" : "915", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bf34132c-e65d-4c4e-b589-7ec7e625032f", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/0c73f26d770042dba8a0ac926b532913\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/818d3992cd3d4c719b34ad592626a3d0\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/84ff97ec0fbe46648200f1b6991e7f11\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:46 GMT", - "content-length" : "368", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9cb5d61c-2d36-4926-bf24-7312f0c0c61a", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions\",\"deletedDate\":1547157406,\"scheduledPurgeDate\":1554933406,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:46 GMT", - "content-length" : "92", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9af53db9-5895-4d48-baab-0fee524ce27b", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretVersions\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:56 GMT", - "content-length" : "92", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "26ba33fe-7f2e-408d-8113-8cff70ce85ab", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretVersions\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:07 GMT", - "content-length" : "368", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ca10c6ed-d586-4591-ae79-9a1118d0469c", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions\",\"deletedDate\":1547157406,\"scheduledPurgeDate\":1554933406,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:57:08 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "94d5ce3f-664f-46c2-927d-7ac90cae0413", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:44 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "763789fe-1a44-4310-b188-a6e733820b38", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:44 GMT", + "content-length" : "277", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e09ef637-589b-4f22-a231-8d15660d3ac8", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/0c73f26d770042dba8a0ac926b532913\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:45 GMT", + "content-length" : "277", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "153d1052-2461-4207-8537-5b98880dc595", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/818d3992cd3d4c719b34ad592626a3d0\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:45 GMT", + "content-length" : "277", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9975bb02-27ba-4547-b5d6-08e9383ef444", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/84ff97ec0fbe46648200f1b6991e7f11\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:45 GMT", + "content-length" : "277", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "de988cd4-2455-424e-b366-ba2808b2880c", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/versions?maxresults=3&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:45 GMT", + "content-length" : "1050", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ca149bf5-e986-473b-b2b1-1decb9a024c1", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/0c73f26d770042dba8a0ac926b532913\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/818d3992cd3d4c719b34ad592626a3d0\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/84ff97ec0fbe46648200f1b6991e7f11\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets/javaSecretVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJWE5sWTNKbGRDOUtRVlpCVTBWRFVrVlVWa1ZTVTBsUFRsTXZPRGxFUmpsRE5VWTJNME0zTkRJNFJVRkVRa0kzTTBSR01rSkdNRE0zT0RraE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/versions?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMzYhTURBd01EVTRJWE5sWTNKbGRDOUtRVlpCVTBWRFVrVlVWa1ZTVTBsUFRsTXZPRGxFUmpsRE5VWTJNME0zTkRJNFJVRkVRa0kzTTBSR01rSkdNRE0zT0RraE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:46 GMT", + "content-length" : "249", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7df26065-00f1-4eef-8c9f-1b1d3d05adb7", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/versions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:46 GMT", + "content-length" : "915", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bf34132c-e65d-4c4e-b589-7ec7e625032f", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/0c73f26d770042dba8a0ac926b532913\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/818d3992cd3d4c719b34ad592626a3d0\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/84ff97ec0fbe46648200f1b6991e7f11\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:46 GMT", + "content-length" : "368", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9cb5d61c-2d36-4926-bf24-7312f0c0c61a", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions\",\"deletedDate\":1547157406,\"scheduledPurgeDate\":1554933406,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:46 GMT", + "content-length" : "92", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9af53db9-5895-4d48-baab-0fee524ce27b", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretVersions\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:56 GMT", + "content-length" : "92", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "26ba33fe-7f2e-408d-8113-8cff70ce85ab", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretVersions\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:07 GMT", + "content-length" : "368", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ca10c6ed-d586-4591-ae79-9a1118d0469c", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions\",\"deletedDate\":1547157406,\"scheduledPurgeDate\":1554933406,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretVersions/c4c1b8fa87b04375b547a84214bac586\",\"attributes\":{\"enabled\":true,\"created\":1547157405,\"updated\":1547157405,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretVersions?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:57:08 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "94d5ce3f-664f-46c2-927d-7ac90cae0413", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretsForSecretOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretsForSecretOperationsTest.json index a40c5a980ec9f..2bf3a30987a7b 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretsForSecretOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/listSecretsForSecretOperationsTest.json @@ -1,1155 +1,1155 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:52:57 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8b634453-dfa3-47ea-8bc8-12e95c93ec9e", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:52:58 GMT", - "content-length" : "274", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "43f6bcc7-8023-4882-b290-4c4a94af58fc", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0/f0ec2d4282684189905591c820904b06\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:52:58 GMT", - "content-length" : "274", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5a3547e4-5dec-449b-abee-8606454a4abd", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1/451547b6545544519c838a84f7f50574\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:52:59 GMT", - "content-length" : "274", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "da6e658d-873f-40ed-9f58-b9dcd3af97f7", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2/0432a8ee372148288ff47f3a88e08551\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:52:59 GMT", - "content-length" : "274", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "73958f84-7b9c-47d9-af2d-cda4da137a50", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3/679f46e7e47e42b399a9adb73a85e241\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?maxresults=3&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:00 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "76e54d17-394d-41c5-b14f-f432a44976ee", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJGVFNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJGVFNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:00 GMT", - "content-length" : "302", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fbc678c7-8536-4ce1-a2b0-97d55557cd50", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:00 GMT", - "content-length" : "743", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ea56eb1c-8d16-4351-92fd-fd0d5cc1a1d5", - "Body" : "{\"value\":[{\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:01 GMT", - "content-length" : "854", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "36b732da-cd09-4e30-b58d-f39f8276e9c6", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZrVlNVMGxQVGxNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZrVlNVMGxQVGxNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:01 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "21901c91-9e01-4bc5-8cf3-2d8acbe6fafe", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:02 GMT", - "content-length" : "583", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9231b09c-4dd6-4146-9835-2724b074d174", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:02 GMT", - "content-length" : "866", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d237c698-230f-44e5-976b-f110e97291b3", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate2\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:02 GMT", - "content-length" : "291", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f55e2d7c-8311-4e3d-96b2-6c9b519153d5", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:03 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7e37fca1-f37c-4a49-8116-6c217b2157e1", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:03 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b3e0d66d-0e93-478e-9ef4-de33fc0d9c6d", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1\",\"deletedDate\":1547157183,\"scheduledPurgeDate\":1554933183,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1/451547b6545544519c838a84f7f50574\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:03 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6ce65401-552d-4562-a6e1-facd952dd3e9", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:13 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "de312434-cccf-4efa-8a91-560e4a836cbc", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp1\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:24 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5c8b15de-50b0-4fe3-8e81-9d51d8a237fa", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1\",\"deletedDate\":1547157183,\"scheduledPurgeDate\":1554933183,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1/451547b6545544519c838a84f7f50574\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:24 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4dbf11f1-1bd5-48e0-91cf-9fb48657f13f", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:45 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7411b557-977e-41c0-a927-31f3bb01c0a4", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0\",\"deletedDate\":1547157225,\"scheduledPurgeDate\":1554933225,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0/f0ec2d4282684189905591c820904b06\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:45 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e0f0d29f-9ce5-4026-9631-9cf1f46ececd", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp0\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:53:55 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ddc6f4b1-770d-4b6a-bc3f-365ed9e11e80", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp0\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:06 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "26b90eb8-4d10-4093-a631-d3abdd463609", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0\",\"deletedDate\":1547157225,\"scheduledPurgeDate\":1554933225,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0/f0ec2d4282684189905591c820904b06\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:06 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "77a41e5d-120b-4685-b5fd-4c5cda44c553", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/myCertificate?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:26 GMT", - "content-length" : "177", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b11197e5-d20f-4d41-b095-80662f3cefc6", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"SecretManagedByKeyVault\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:27 GMT", - "content-length" : "177", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "574fb6b9-beba-4cee-95d5-6dfbb2a2a285", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"SecretManagedByKeyVault\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:27 GMT", - "content-length" : "442", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "62c5d1ea-3f98-4fcd-a566-4167fea9c510", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp\",\"deletedDate\":1547157267,\"scheduledPurgeDate\":1554933267,\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp/340008ab230d41849e9a8cb397fd6804\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:27 GMT", - "content-length" : "88", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "f1b70a61-7f3f-4b02-8073-e06d4a31af99", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:37 GMT", - "content-length" : "88", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "888b41c6-c5cf-4fe3-8fb0-0b5a66851757", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:48 GMT", - "content-length" : "442", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "d1a4ae5c-5d08-4b2a-8bb6-4f196f7a0e71", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp\",\"deletedDate\":1547157267,\"scheduledPurgeDate\":1554933267,\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp/340008ab230d41849e9a8cb397fd6804\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:54:49 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "56af7e0a-c18d-49f4-bc44-e21b6255c3d4", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:55:09 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a411e750-f0a5-43f4-b333-3eec1233f539", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3\",\"deletedDate\":1547157309,\"scheduledPurgeDate\":1554933309,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3/679f46e7e47e42b399a9adb73a85e241\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:55:09 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a4da74e0-4a5e-45a7-9ce7-8562d11a0a37", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:55:20 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "debe4537-e5bf-47bd-bec5-3f082f4b5915", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:55:30 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5aee3940-df79-4500-9c59-c8135c970655", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp3\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:55:41 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "6ad7b389-e838-42f4-90db-8e6744a0f98e", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3\",\"deletedDate\":1547157309,\"scheduledPurgeDate\":1554933309,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3/679f46e7e47e42b399a9adb73a85e241\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:55:41 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "be84ed8e-1922-4d64-9d9b-08acdbcd9ec9", - "Body" : "" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/myCertificate2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:01 GMT", - "content-length" : "177", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "403", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "af9fd2f7-cb23-4e55-bdb5-e883fe2cd871", - "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"SecretManagedByKeyVault\"}}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:02 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7cdbf954-e0db-41ee-818c-aebfd527b11e", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2\",\"deletedDate\":1547157362,\"scheduledPurgeDate\":1554933362,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2/0432a8ee372148288ff47f3a88e08551\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:02 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e6e2a13d-e01a-453a-99a5-33dcfae24d8b", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:13 GMT", - "content-length" : "89", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e5008b1f-a165-4414-a9c7-4ab176f9b257", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:23 GMT", - "content-length" : "362", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b17496eb-8454-47b2-8723-54388d6d422a", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2\",\"deletedDate\":1547157362,\"scheduledPurgeDate\":1554933362,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2/0432a8ee372148288ff47f3a88e08551\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 21:56:23 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8998de81-4a2d-4bc0-9466-309cabc301b9", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:52:57 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8b634453-dfa3-47ea-8bc8-12e95c93ec9e", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:52:58 GMT", + "content-length" : "274", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "43f6bcc7-8023-4882-b290-4c4a94af58fc", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0/f0ec2d4282684189905591c820904b06\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:52:58 GMT", + "content-length" : "274", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5a3547e4-5dec-449b-abee-8606454a4abd", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1/451547b6545544519c838a84f7f50574\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:52:59 GMT", + "content-length" : "274", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "da6e658d-873f-40ed-9f58-b9dcd3af97f7", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2/0432a8ee372148288ff47f3a88e08551\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:52:59 GMT", + "content-length" : "274", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "73958f84-7b9c-47d9-af2d-cda4da137a50", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3/679f46e7e47e42b399a9adb73a85e241\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?maxresults=3&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:00 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "76e54d17-394d-41c5-b14f-f432a44976ee", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJGVFNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMElYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJGVFNFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:00 GMT", + "content-length" : "302", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fbc678c7-8536-4ce1-a2b0-97d55557cd50", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:00 GMT", + "content-length" : "743", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ea56eb1c-8d16-4351-92fd-fd0d5cc1a1d5", + "Body" : "{\"value\":[{\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREVoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:01 GMT", + "content-length" : "854", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "36b732da-cd09-4e30-b58d-f39f8276e9c6", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZrVlNVMGxQVGxNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZrVlNVMGxQVGxNaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:01 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "21901c91-9e01-4bc5-8cf3-2d8acbe6fafe", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV6SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:02 GMT", + "content-length" : "583", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9231b09c-4dd6-4146-9835-2724b074d174", + "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:02 GMT", + "content-length" : "866", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d237c698-230f-44e5-976b-f110e97291b3", + "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate2\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:02 GMT", + "content-length" : "291", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f55e2d7c-8311-4e3d-96b2-6c9b519153d5", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=3", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:03 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7e37fca1-f37c-4a49-8116-6c217b2157e1", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:03 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b3e0d66d-0e93-478e-9ef4-de33fc0d9c6d", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1\",\"deletedDate\":1547157183,\"scheduledPurgeDate\":1554933183,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1/451547b6545544519c838a84f7f50574\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:03 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6ce65401-552d-4562-a6e1-facd952dd3e9", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:13 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "de312434-cccf-4efa-8a91-560e4a836cbc", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp1\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:24 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5c8b15de-50b0-4fe3-8e81-9d51d8a237fa", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1\",\"deletedDate\":1547157183,\"scheduledPurgeDate\":1554933183,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp1/451547b6545544519c838a84f7f50574\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp1?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:24 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4dbf11f1-1bd5-48e0-91cf-9fb48657f13f", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:45 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7411b557-977e-41c0-a927-31f3bb01c0a4", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0\",\"deletedDate\":1547157225,\"scheduledPurgeDate\":1554933225,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0/f0ec2d4282684189905591c820904b06\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:45 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e0f0d29f-9ce5-4026-9631-9cf1f46ececd", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp0\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:53:55 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ddc6f4b1-770d-4b6a-bc3f-365ed9e11e80", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp0\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:06 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "26b90eb8-4d10-4093-a631-d3abdd463609", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0\",\"deletedDate\":1547157225,\"scheduledPurgeDate\":1554933225,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp0/f0ec2d4282684189905591c820904b06\",\"attributes\":{\"enabled\":true,\"created\":1547157178,\"updated\":1547157178,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp0?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:06 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "77a41e5d-120b-4685-b5fd-4c5cda44c553", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/myCertificate?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:26 GMT", + "content-length" : "177", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b11197e5-d20f-4d41-b095-80662f3cefc6", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"SecretManagedByKeyVault\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:27 GMT", + "content-length" : "177", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "574fb6b9-beba-4cee-95d5-6dfbb2a2a285", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"SecretManagedByKeyVault\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:27 GMT", + "content-length" : "442", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "62c5d1ea-3f98-4fcd-a566-4167fea9c510", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp\",\"deletedDate\":1547157267,\"scheduledPurgeDate\":1554933267,\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp/340008ab230d41849e9a8cb397fd6804\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:27 GMT", + "content-length" : "88", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "f1b70a61-7f3f-4b02-8073-e06d4a31af99", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:37 GMT", + "content-length" : "88", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "888b41c6-c5cf-4fe3-8fb0-0b5a66851757", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:48 GMT", + "content-length" : "442", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "d1a4ae5c-5d08-4b2a-8bb6-4f196f7a0e71", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp\",\"deletedDate\":1547157267,\"scheduledPurgeDate\":1554933267,\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp/340008ab230d41849e9a8cb397fd6804\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:54:49 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "56af7e0a-c18d-49f4-bc44-e21b6255c3d4", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:55:09 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a411e750-f0a5-43f4-b333-3eec1233f539", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3\",\"deletedDate\":1547157309,\"scheduledPurgeDate\":1554933309,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3/679f46e7e47e42b399a9adb73a85e241\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:55:09 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a4da74e0-4a5e-45a7-9ce7-8562d11a0a37", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:55:20 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "debe4537-e5bf-47bd-bec5-3f082f4b5915", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:55:30 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5aee3940-df79-4500-9c59-c8135c970655", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp3\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:55:41 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "6ad7b389-e838-42f4-90db-8e6744a0f98e", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3\",\"deletedDate\":1547157309,\"scheduledPurgeDate\":1554933309,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp3/679f46e7e47e42b399a9adb73a85e241\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp3?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:55:41 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "be84ed8e-1922-4d64-9d9b-08acdbcd9ec9", + "Body" : "" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/myCertificate2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:01 GMT", + "content-length" : "177", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "403", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "af9fd2f7-cb23-4e55-bdb5-e883fe2cd871", + "Body" : "{\"error\":{\"code\":\"Forbidden\",\"message\":\"Operation \\\"delete\\\" is not allowed as this object's lifetime is managed by Key Vault.\",\"innererror\":{\"code\":\"SecretManagedByKeyVault\"}}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:02 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7cdbf954-e0db-41ee-818c-aebfd527b11e", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2\",\"deletedDate\":1547157362,\"scheduledPurgeDate\":1554933362,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2/0432a8ee372148288ff47f3a88e08551\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:02 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e6e2a13d-e01a-453a-99a5-33dcfae24d8b", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:13 GMT", + "content-length" : "89", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e5008b1f-a165-4414-a9c7-4ab176f9b257", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: javaSecretTemp2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:23 GMT", + "content-length" : "362", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b17496eb-8454-47b2-8723-54388d6d422a", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2\",\"deletedDate\":1547157362,\"scheduledPurgeDate\":1554933362,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp2/0432a8ee372148288ff47f3a88e08551\",\"attributes\":{\"enabled\":true,\"created\":1547157179,\"updated\":1547157179,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/javaSecretTemp2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 21:56:23 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8998de81-4a2d-4bc0-9466-309cabc301b9", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/secretAsyncForAsyncOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/secretAsyncForAsyncOperationsTest.json index c7e837daf0c60..baefc6ea8abf7 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/secretAsyncForAsyncOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/secretAsyncForAsyncOperationsTest.json @@ -1,569 +1,569 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:55 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "7aa38dde-3b7d-42eb-9725-7b902e18de22", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:55 GMT", - "content-length" : "231", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "cbc62144-110b-4978-a948-b3c7d90f3940", - "Body" : "{\"value\":\"password\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:56 GMT", - "content-length" : "212", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "31f09dbc-1384-4381-aa33-7ee228abac4d", - "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:56 GMT", - "content-length" : "231", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4db63eab-eac2-47b4-a5f7-f7573586945e", - "Body" : "{\"value\":\"password\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?maxresults=2&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:56 GMT", - "content-length" : "314", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "5d6140db-a5aa-4b23-af4a-f33e6a91cc0e", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJWE5sWTNKbGRDOURVa1ZCVkVWVFJVeEdVMGxIVGtWRVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJWE5sWTNKbGRDOURVa1ZCVkVWVFJVeEdVMGxIVGtWRVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:56 GMT", - "content-length" : "302", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "774a6960-d855-4955-b034-957237e555e4", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:57 GMT", - "content-length" : "302", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "41517b57-2237-4aca-9f0b-645648ed81d1", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:57 GMT", - "content-length" : "557", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c72170cf-a22c-4bc1-9b3a-d162f02ed775", - "Body" : "{\"value\":[{\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:57 GMT", - "content-length" : "297", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "af62197a-144d-4ccd-b6c9-3f635188c31d", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:58 GMT", - "content-length" : "309", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a0a4cf80-1a5c-4202-ac0f-2be0c90e2c59", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFbEdTVU5CVkVWV1JWSlRTVTlPVXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFbEdTVU5CVkVWV1JWSlRTVTlPVXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:58 GMT", - "content-length" : "583", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "022e1448-36d5-4ed0-83d5-df5bdf8f06fb", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:58 GMT", - "content-length" : "574", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "a4e6f771-86c0-4dea-b1cd-ca06e28b1473", - "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate2\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4MCFNREF3TURFMklYTmxZM0psZEM5TldWTkZRMUpGVkRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4MCFNREF3TURFMklYTmxZM0psZEM5TldWTkZRMUpGVkRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:59 GMT", - "content-length" : "752", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "bf104ffe-3f7c-4ac1-850d-29c3fcd16ebd", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:59 GMT", - "content-length" : "291", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b7e9c8f1-fff1-47f5-b07b-0bbe32537973", - "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:59 GMT", - "content-length" : "28", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8fe5274d-eb7e-4b00-a703-cc7038440c06", - "Body" : "{\"value\":[],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/versions?maxresults=2&api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:36:59 GMT", - "content-length" : "240", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c863fcad-39b5-422f-8edb-50756a5c4981", - "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:00 GMT", - "content-length" : "350", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "202103c2-4080-4f7c-99e0-6ad48cda18e6", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2\",\"deletedDate\":1547152620,\"scheduledPurgeDate\":1554928620,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:00 GMT", - "content-length" : "75", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "4554cc1e-ee04-425c-90e1-025d264c7c90", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Secret not found: mySecret2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:00 GMT", - "content-length" : "83", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "404", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "caa132c2-a480-48e9-830b-bb5205a7cdf2", - "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: mySecret2\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:10 GMT", - "content-length" : "350", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "8c1dbc7f-c3cd-495e-b70f-f0a5e8d9c983", - "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2\",\"deletedDate\":1547152620,\"scheduledPurgeDate\":1554928620,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:37:11 GMT", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "204", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e9723e57-0349-4ab6-82c8-935ecdeb7a41", - "Body" : "" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:55 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "7aa38dde-3b7d-42eb-9725-7b902e18de22", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:55 GMT", + "content-length" : "231", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "cbc62144-110b-4978-a948-b3c7d90f3940", + "Body" : "{\"value\":\"password\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:56 GMT", + "content-length" : "212", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "31f09dbc-1384-4381-aa33-7ee228abac4d", + "Body" : "{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:56 GMT", + "content-length" : "231", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4db63eab-eac2-47b4-a5f7-f7573586945e", + "Body" : "{\"value\":\"password\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?maxresults=2&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:56 GMT", + "content-length" : "314", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "5d6140db-a5aa-4b23-af4a-f33e6a91cc0e", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJWE5sWTNKbGRDOURVa1ZCVkVWVFJVeEdVMGxIVGtWRVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDQhTURBd01ETXpJWE5sWTNKbGRDOURVa1ZCVkVWVFJVeEdVMGxIVGtWRVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:56 GMT", + "content-length" : "302", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "774a6960-d855-4955-b034-957237e555e4", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5RFVrVkJWRVZVUlZOVVNrRldRVkJMUTFNeE1pRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:57 GMT", + "content-length" : "302", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "41517b57-2237-4aca-9f0b-645648ed81d1", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5NiFNREF3TURJM0lYTmxZM0psZEM5S1FWWkJSVmhVUlU1VFNVOU9VMFZEVWtWVU1TRXdNREF3TWpnaE9UazVPUzB4TWkwek1WUXlNem8xT1RvMU9TNDVPVGs1T1RrNVdpRS0iLCJUYXJnZXRMb2NhdGlvbiI6MH0&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:57 GMT", + "content-length" : "557", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c72170cf-a22c-4bc1-9b3a-d162f02ed775", + "Body" : "{\"value\":[{\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp\",\"attributes\":{\"enabled\":true,\"nbf\":947536467,\"exp\":2525459667,\"created\":1547152468,\"updated\":1547152468,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeUlYTmxZM0psZEM5S1FWWkJVMFZEVWtWVVZFVk5VREFoTURBd01ESTRJVGs1T1RrdE1USXRNekZVTWpNNk5UazZOVGt1T1RrNU9UazVPVm9oIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:57 GMT", + "content-length" : "297", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "af62197a-144d-4ccd-b6c9-3f635188c31d", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJeklYTmxZM0psZEM5TVNWTlVRMFZTVkVsR1NVTkJWRVV5SVRBd01EQXlPQ0U1T1RrNUxURXlMVE14VkRJek9qVTVPalU1TGprNU9UazVPVGxhSVEtLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:58 GMT", + "content-length" : "309", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a0a4cf80-1a5c-4202-ac0f-2be0c90e2c59", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFbEdTVU5CVkVWV1JWSlRTVTlPVXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiExMDAhTURBd01ETXdJWE5sWTNKbGRDOU1TVk5VUTBWU1ZFbEdTVU5CVkVWV1JWSlRTVTlPVXlFd01EQXdNamdoT1RrNU9TMHhNaTB6TVZReU16bzFPVG8xT1M0NU9UazVPVGs1V2lFLSIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:58 GMT", + "content-length" : "583", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "022e1448-36d5-4ed0-83d5-df5bdf8f06fb", + "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1544495172,\"exp\":1576031772,\"created\":1544495772,\"updated\":1544495774,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5TldVTkZVbFJKUmtsRFFWUkZNaUV3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:58 GMT", + "content-length" : "574", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "a4e6f771-86c0-4dea-b1cd-ca06e28b1473", + "Body" : "{\"value\":[{\"contentType\":\"application/x-pkcs12\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/myCertificate2\",\"managed\":true,\"attributes\":{\"enabled\":false,\"nbf\":1547149673,\"exp\":1578686273,\"created\":1547150274,\"updated\":1547150275,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"tag1\":\"foo\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4MCFNREF3TURFMklYTmxZM0psZEM5TldWTkZRMUpGVkRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4MCFNREF3TURFMklYTmxZM0psZEM5TldWTkZRMUpGVkRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:59 GMT", + "content-length" : "752", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "bf104ffe-3f7c-4ac1-850d-29c3fcd16ebd", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}},{\"contentType\":\"application/x-pem-file\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/SelfSignedJavaPem\",\"managed\":true,\"attributes\":{\"enabled\":true,\"nbf\":1544499781,\"exp\":1576036381,\"created\":1544500381,\"updated\":1544500381,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE5MiFNREF3TURJMUlYTmxZM0psZEM5VFJVeEdVMGxIVGtWRVNrRldRVkJGVFRJaE1EQXdNREk0SVRrNU9Ua3RNVEl0TXpGVU1qTTZOVGs2TlRrdU9UazVPVGs1T1ZvaCIsIlRhcmdldExvY2F0aW9uIjowfQ&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:59 GMT", + "content-length" : "291", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b7e9c8f1-fff1-47f5-b07b-0bbe32537973", + "Body" : "{\"value\":[],\"nextLink\":\"https://azure-keyvault-3.vault.azure.net:443/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2\"}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets?api-version=7.0&$skiptoken=eyJOZXh0TWFya2VyIjoiMiE4OCFNREF3TURJeElYTmxZM0psZEM5VlVFUkJWRVZEUlZKVVNrRldRU0V3TURBd01qZ2hPVGs1T1MweE1pMHpNVlF5TXpvMU9UbzFPUzQ1T1RrNU9UazVXaUUtIiwiVGFyZ2V0TG9jYXRpb24iOjB9&maxresults=2", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:59 GMT", + "content-length" : "28", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8fe5274d-eb7e-4b00-a703-cc7038440c06", + "Body" : "{\"value\":[],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/versions?maxresults=2&api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:36:59 GMT", + "content-length" : "240", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c863fcad-39b5-422f-8edb-50756a5c4981", + "Body" : "{\"value\":[{\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:00 GMT", + "content-length" : "350", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "202103c2-4080-4f7c-99e0-6ad48cda18e6", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2\",\"deletedDate\":1547152620,\"scheduledPurgeDate\":1554928620,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:00 GMT", + "content-length" : "75", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "4554cc1e-ee04-425c-90e1-025d264c7c90", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Secret not found: mySecret2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:00 GMT", + "content-length" : "83", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "caa132c2-a480-48e9-830b-bb5205a7cdf2", + "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: mySecret2\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:10 GMT", + "content-length" : "350", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "8c1dbc7f-c3cd-495e-b70f-f0a5e8d9c983", + "Body" : "{\"recoveryId\":\"https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2\",\"deletedDate\":1547152620,\"scheduledPurgeDate\":1554928620,\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/mySecret2/beac041e7b18466c816a33f96f9806fd\",\"attributes\":{\"enabled\":true,\"created\":1547152616,\"updated\":1547152616,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://azure-keyvault-3.vault.azure.net/deletedsecrets/mySecret2?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:37:11 GMT", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "204", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e9723e57-0349-4ab6-82c8-935ecdeb7a41", + "Body" : "" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/signVerifyOperationsForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/signVerifyOperationsForKeyOperationsTest.json index 27095bf103dd5..6b36814df22b1 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/signVerifyOperationsForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/signVerifyOperationsForKeyOperationsTest.json @@ -1,166 +1,166 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:51 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "fd9b6b6f-756a-4cb1-9b2d-ab9d54d3348b", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:51 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "398db2f4-989a-44dc-8c89-7c0ec15a3f13", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152132,\"updated\":1547152132,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//sign?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:51 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e3d0c562-9a25-4cb6-9aac-33ca6be869d2", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"value\":\"VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//verify?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:52 GMT", - "content-length" : "14", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "242914a6-e92e-44f6-9196-9743be3cd73c", - "Body" : "{\"value\":true}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf/sign?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:52 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "475a073f-e522-4840-a934-aebf31ef04de", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"value\":\"VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf/verify?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:28:52 GMT", - "content-length" : "14", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "e123a19b-ccb4-4909-ae07-dbc1e69b0b16", - "Body" : "{\"value\":true}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:51 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "fd9b6b6f-756a-4cb1-9b2d-ab9d54d3348b", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:51 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "398db2f4-989a-44dc-8c89-7c0ec15a3f13", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152132,\"updated\":1547152132,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//sign?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:51 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e3d0c562-9a25-4cb6-9aac-33ca6be869d2", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"value\":\"VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//verify?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:52 GMT", + "content-length" : "14", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "242914a6-e92e-44f6-9196-9743be3cd73c", + "Body" : "{\"value\":true}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf/sign?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:52 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "475a073f-e522-4840-a934-aebf31ef04de", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf\",\"value\":\"VycNS2AleyY425cgT02DdqHgz0r95vm0UDEsnG8uQiT7IfxflrjKM_d8PvOeV6JA6kamk6lhvFKnJqXyNmFaPcI7RcibAW-e3-9k91TEegUNl4dZpPeuy6AY5-CkafXBBTHCCOAfGuyCeNnr8jJF7teQa_Z246wgoOiGACQx37C2m9jb2x-Q3-mxo8utyi3NFu8LCJs7C9h_AlcszRJ0l9a0dP97YnNFW75GtBpfjt7frZFUGdJNeWvZXBhCzhtYN9ynN6SHIKKVfZEe-Uqc3HvY63oEGvVGcPnWeV2wY8NfQn04gji3hdKKyRH0VLSkwHJpSA7V42EDaPbaQCriQA\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/078d640b155248e8aa41070f59faa1cf/verify?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:28:52 GMT", + "content-length" : "14", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "e123a19b-ccb4-4909-ae07-dbc1e69b0b16", + "Body" : "{\"value\":true}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testCrudOperationsForManagedStorageAccountKey.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testCrudOperationsForManagedStorageAccountKey.json index 6988e5b59a99f..d0b489b2d4497 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testCrudOperationsForManagedStorageAccountKey.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testCrudOperationsForManagedStorageAccountKey.json @@ -1,441 +1,441 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "http://localhost:1234/%5C/providers/Microsoft.Authorization/roleDefinitions?api-version=2015-07-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:03 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "87830", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-request-charge" : "1", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "205af036-08c5-465d-a915-29e98bdadca1", - "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", - "x-ms-ratelimit-remaining-tenant-reads" : "14999", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195703Z:205af036-08c5-465d-a915-29e98bdadca1", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "2020ac1a-7445-472d-8c55-a026958ba1a2", - "Body" : "{\"value\":[{\"properties\":{\"roleName\":\"AcrImageSigner\",\"type\":\"BuiltInRole\",\"description\":\"acr image signer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\",\"Microsoft.ContainerRegistry/registries/*/write\"],\"notActions\":[]}],\"createdOn\":\"2018-03-15T23:23:08.4038322Z\",\"updatedOn\":\"2018-03-17T01:25:51.8758677Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6cef56e8-d556-48e5-a04f-b8e64114680f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6cef56e8-d556-48e5-a04f-b8e64114680f\"},{\"properties\":{\"roleName\":\"AcrQuarantineReader\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data reader\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:27:39.9596835Z\",\"updatedOn\":\"2018-03-17T01:26:48.6387319Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cdda3590-29a3-44f6-95f2-9f980659eb04\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cdda3590-29a3-44f6-95f2-9f980659eb04\"},{\"properties\":{\"roleName\":\"AcrQuarantineWriter\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data writer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/write\",\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:26:37.5871820Z\",\"updatedOn\":\"2018-03-17T01:27:36.3941651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c8d4ff99-41c3-41a8-9f60-21dfdad59608\"},{\"properties\":{\"roleName\":\"API Management Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage API Management services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-01-23T23:12:00.5823195Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/312a565d-c81f-4fd8-895a-4e21e48d571c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"312a565d-c81f-4fd8-895a-4e21e48d571c\"},{\"properties\":{\"roleName\":\"API Management Service Operator Role\",\"type\":\"BuiltInRole\",\"description\":\"Can manage service but not the APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/backup/action\",\"Microsoft.ApiManagement/service/delete\",\"Microsoft.ApiManagement/service/managedeployments/action\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.ApiManagement/service/restore/action\",\"Microsoft.ApiManagement/service/updatecertificate/action\",\"Microsoft.ApiManagement/service/updatehostname/action\",\"Microsoft.ApiManagement/service/write\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:03:42.1194019Z\",\"updatedOn\":\"2016-11-18T23:56:25.4682649Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e022efe7-f5ba-4159-bbe4-b44f577e9b61\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e022efe7-f5ba-4159-bbe4-b44f577e9b61\"},{\"properties\":{\"roleName\":\"API Management Service Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Read-only access to service and APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:26:45.1540473Z\",\"updatedOn\":\"2017-01-23T23:10:34.8876776Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/71522526-b88f-4d52-b57f-d31fc3546d0d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"71522526-b88f-4d52-b57f-d31fc3546d0d\"},{\"properties\":{\"roleName\":\"Application Insights Component Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage Application Insights components\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/webtests/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-11-29T20:30:34.2313394Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ae349356-3a1b-4a5e-921d-050484c6347e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ae349356-3a1b-4a5e-921d-050484c6347e\"},{\"properties\":{\"roleName\":\"Application Insights Snapshot Debugger\",\"type\":\"BuiltInRole\",\"description\":\"Gives user permission to use Application Insights Snapshot Debugger features\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T21:25:12.3728747Z\",\"updatedOn\":\"2017-04-19T23:34:59.9511581Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/08954f03-6346-4c2e-81c0-ec3a5cfae23b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"08954f03-6346-4c2e-81c0-ec3a5cfae23b\"},{\"properties\":{\"roleName\":\"Automation Job Operator\",\"type\":\"BuiltInRole\",\"description\":\"Create and Manage Jobs using Automation Runbooks.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:52:41.0020018Z\",\"updatedOn\":\"2018-03-06T02:20:41.6886187Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4fe576fe-1146-4730-92eb-48519fa6bf9f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4fe576fe-1146-4730-92eb-48519fa6bf9f\"},{\"properties\":{\"roleName\":\"Automation Operator\",\"type\":\"BuiltInRole\",\"description\":\"Automation Operators are able to start, stop, suspend, and resume jobs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Automation/automationAccounts/jobSchedules/read\",\"Microsoft.Automation/automationAccounts/jobSchedules/write\",\"Microsoft.Automation/automationAccounts/linkedWorkspace/read\",\"Microsoft.Automation/automationAccounts/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Automation/automationAccounts/schedules/read\",\"Microsoft.Automation/automationAccounts/schedules/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Automation/automationAccounts/jobs/output/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-08-18T01:05:03.3916130Z\",\"updatedOn\":\"2018-05-10T20:12:39.6978200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d3881f73-407a-4167-8283-e981cbba0404\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d3881f73-407a-4167-8283-e981cbba0404\"},{\"properties\":{\"roleName\":\"Automation Runbook Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read Runbook properties - to be able to create Jobs of the runbook.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:47:49.5640674Z\",\"updatedOn\":\"2017-04-25T01:00:45.6444999Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\"},{\"properties\":{\"roleName\":\"Azure Stack Registration Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Azure Stack registrations.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.AzureStack/registrations/products/listDetails/action\",\"Microsoft.AzureStack/registrations/products/read\",\"Microsoft.AzureStack/registrations/read\"],\"notActions\":[]}],\"createdOn\":\"2017-11-13T23:42:06.2161827Z\",\"updatedOn\":\"2017-11-13T23:54:02.4007080Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6f12a6df-dd06-4f3e-bcb1-ce8be600526a\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6f12a6df-dd06-4f3e-bcb1-ce8be600526a\"},{\"properties\":{\"roleName\":\"Backup Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup service,but can't create vaults and give access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/*\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/certificates/*\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/*\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/Vaults/usages/*\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupSecurityPIN/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:12:15.7321344Z\",\"updatedOn\":\"2017-07-07T06:22:36.4530284Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e467623-bb1f-42f4-a55d-6e525e11384b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e467623-bb1f-42f4-a55d-6e525e11384b\"},{\"properties\":{\"roleName\":\"Backup Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup services, except removal of backup, vault creation and giving access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/backup/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/cancel/action\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/write\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/refreshContainers/action\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/write\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:21:11.8947640Z\",\"updatedOn\":\"2018-06-16T05:25:05.7455061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/00c29273-979b-4161-815c-10b084fb9324\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"00c29273-979b-4161-815c-10b084fb9324\"},{\"properties\":{\"roleName\":\"Backup Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view backup services, but can't make changes\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:18:41.3893065Z\",\"updatedOn\":\"2017-09-13T10:33:25.5814653Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a795c7a0-d4a2-40c1-ae25-d81f01202912\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a795c7a0-d4a2-40c1-ae25-d81f01202912\"},{\"properties\":{\"roleName\":\"Billing Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read billing data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Billing/*/read\",\"Microsoft.Consumption/*/read\",\"Microsoft.Commerce/*/read\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T02:13:38.9054151Z\",\"updatedOn\":\"2017-09-19T17:36:32.7624564Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\"},{\"properties\":{\"roleName\":\"BizTalk Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage BizTalk services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BizTalkServices/BizTalk/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:55.8430061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e3c6656-6cfa-4708-81fe-0de47ac73342\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e3c6656-6cfa-4708-81fe-0de47ac73342\"},{\"properties\":{\"roleName\":\"CDN Endpoint Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:52.6231539Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/426e0c7f-0c7e-4658-b36f-ff54d6c29b45\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"426e0c7f-0c7e-4658-b36f-ff54d6c29b45\"},{\"properties\":{\"roleName\":\"CDN Endpoint Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.1585846Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/871e35f6-b5c1-49cc-a043-bde969a0f2cd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"871e35f6-b5c1-49cc-a043-bde969a0f2cd\"},{\"properties\":{\"roleName\":\"CDN Profile Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN profiles and their endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.7051278Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ec156ff8-a8d1-4d15-830c-5b80698ca432\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ec156ff8-a8d1-4d15-830c-5b80698ca432\"},{\"properties\":{\"roleName\":\"CDN Profile Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN profiles and their endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:54.2283001Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8f96442b-4075-438f-813d-ad51ab4019af\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8f96442b-4075-438f-813d-ad51ab4019af\"},{\"properties\":{\"roleName\":\"Classic Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicNetwork/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.3934954Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b34d265f-36f7-4a0d-a4d4-e158ca92e90f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b34d265f-36f7-4a0d-a4d4-e158ca92e90f\"},{\"properties\":{\"roleName\":\"Classic Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.9379206Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/86e8f5dc-a6e9-4c67-9d15-de283e8eac25\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"86e8f5dc-a6e9-4c67-9d15-de283e8eac25\"},{\"properties\":{\"roleName\":\"Classic Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Classic Storage Account Key Operators are allowed to list and regenerate keys on Classic Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ClassicStorage/storageAccounts/listkeys/action\",\"Microsoft.ClassicStorage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:22:52.1461100Z\",\"updatedOn\":\"2017-04-13T20:54:03.0505986Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/985d6b00-f706-48f5-a6fe-d0ca12fb668d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"985d6b00-f706-48f5-a6fe-d0ca12fb668d\"},{\"properties\":{\"roleName\":\"Classic Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/domainNames/*\",\"Microsoft.ClassicCompute/virtualMachines/*\",\"Microsoft.ClassicNetwork/networkSecurityGroups/join/action\",\"Microsoft.ClassicNetwork/reservedIps/link/action\",\"Microsoft.ClassicNetwork/reservedIps/read\",\"Microsoft.ClassicNetwork/virtualNetworks/join/action\",\"Microsoft.ClassicNetwork/virtualNetworks/read\",\"Microsoft.ClassicStorage/storageAccounts/disks/read\",\"Microsoft.ClassicStorage/storageAccounts/images/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:57.4788684Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d73bb868-a0df-4d4d-bd69-98a00b01fccb\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d73bb868-a0df-4d4d-bd69-98a00b01fccb\"},{\"properties\":{\"roleName\":\"ClearDB MySQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage ClearDB MySQL databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"successbricks.cleardb/databases/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:58.1393839Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9106cda0-8a86-4e81-b686-29a22c54effe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9106cda0-8a86-4e81-b686-29a22c54effe\"},{\"properties\":{\"roleName\":\"Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything except access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[\"Microsoft.Authorization/*/Delete\",\"Microsoft.Authorization/*/Write\",\"Microsoft.Authorization/elevateAccess/Action\",\"Microsoft.Blueprint/blueprintAssignments/write\",\"Microsoft.Blueprint/blueprintAssignments/delete\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-05-30T19:22:32.4538167Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b24988ac-6180-42a0-ab88-20f7382dd24c\"},{\"properties\":{\"roleName\":\"Cosmos DB Account Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Can read Azure Cosmos DB Accounts data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDB/*/read\",\"Microsoft.DocumentDB/databaseAccounts/readonlykeys/action\",\"Microsoft.Insights/MetricDefinitions/read\",\"Microsoft.Insights/Metrics/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-10-30T17:53:54.6005577Z\",\"updatedOn\":\"2018-02-21T01:36:59.6186231Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fbdf93bf-df7d-467e-a4d2-9458aa1360c8\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fbdf93bf-df7d-467e-a4d2-9458aa1360c8\"},{\"properties\":{\"roleName\":\"Data Factory Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage data factories, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DataFactory/dataFactories/*\",\"Microsoft.DataFactory/factories/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-04-06T22:49:28.1118955Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/673868aa-7521-48a0-acc6-0f60742d39f5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"673868aa-7521-48a0-acc6-0f60742d39f5\"},{\"properties\":{\"roleName\":\"Data Lake Analytics Developer\",\"type\":\"BuiltInRole\",\"description\":\"Lets you submit, monitor, and manage your own jobs but not create or delete Data Lake Analytics accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BigAnalytics/accounts/*\",\"Microsoft.DataLakeAnalytics/accounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.BigAnalytics/accounts/Delete\",\"Microsoft.BigAnalytics/accounts/TakeOwnership/action\",\"Microsoft.BigAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/TakeOwnership/action\",\"Microsoft.DataLakeAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Write\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Delete\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Write\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Delete\"]}],\"createdOn\":\"2015-10-20T00:33:29.3115234Z\",\"updatedOn\":\"2017-08-18T00:00:17.0411642Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/47b7735b-770e-4598-a7da-8b91488b4c88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"47b7735b-770e-4598-a7da-8b91488b4c88\"},{\"properties\":{\"roleName\":\"Data Purger\",\"type\":\"BuiltInRole\",\"description\":\"Can purge analytics data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/components/*/read\",\"Microsoft.Insights/components/purge/action\",\"Microsoft.OperationalInsights/workspaces/*/read\",\"Microsoft.OperationalInsights/workspaces/purge/action\"],\"notActions\":[]}],\"createdOn\":\"2018-04-30T22:39:49.6167700Z\",\"updatedOn\":\"2018-04-30T22:44:15.1171162Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/150f5e0c-0603-4f03-8c7f-cf70034c4e90\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"150f5e0c-0603-4f03-8c7f-cf70034c4e90\"},{\"properties\":{\"roleName\":\"DevTest Labs User\",\"type\":\"BuiltInRole\",\"description\":\"Lets you connect, start, restart, and shutdown virtual machines in your Azure DevTest Labs.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/read\",\"Microsoft.Compute/virtualMachines/*/read\",\"Microsoft.Compute/virtualMachines/deallocate/action\",\"Microsoft.Compute/virtualMachines/read\",\"Microsoft.Compute/virtualMachines/restart/action\",\"Microsoft.Compute/virtualMachines/start/action\",\"Microsoft.DevTestLab/*/read\",\"Microsoft.DevTestLab/labs/createEnvironment/action\",\"Microsoft.DevTestLab/labs/claimAnyVm/action\",\"Microsoft.DevTestLab/labs/formulas/delete\",\"Microsoft.DevTestLab/labs/formulas/read\",\"Microsoft.DevTestLab/labs/formulas/write\",\"Microsoft.DevTestLab/labs/policySets/evaluatePolicies/action\",\"Microsoft.DevTestLab/labs/virtualMachines/claim/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/networkInterfaces/*/read\",\"Microsoft.Network/networkInterfaces/join/action\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Network/networkInterfaces/write\",\"Microsoft.Network/publicIPAddresses/*/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/deployments/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\"],\"notActions\":[\"Microsoft.Compute/virtualMachines/vmSizes/read\"]}],\"createdOn\":\"2015-06-08T21:52:45.0657582Z\",\"updatedOn\":\"2017-02-02T02:38:38.2961026Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/76283e04-6283-4c54-8f91-bcf1374a3c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"76283e04-6283-4c54-8f91-bcf1374a3c64\"},{\"properties\":{\"roleName\":\"DNS Zone Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DNS zones and record sets in Azure DNS, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/dnsZones/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:40.3710365Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/befefa01-2a29-4197-83a8-272ff33ce314\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"befefa01-2a29-4197-83a8-272ff33ce314\"},{\"properties\":{\"roleName\":\"DocumentDB Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DocumentDB accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDb/databaseAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.2132374Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5bd9cd88-fe45-4216-938b-f97437e15450\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5bd9cd88-fe45-4216-938b-f97437e15450\"},{\"properties\":{\"roleName\":\"Intelligent Systems Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Intelligent Systems accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.IntelligentSystems/accounts/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:59.7946586Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/03a6d094-3444-4b3d-88af-7477090a9e5e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"03a6d094-3444-4b3d-88af-7477090a9e5e\"},{\"properties\":{\"roleName\":\"Key Vault Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage key vaults, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.KeyVault/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.KeyVault/locations/deletedVaults/purge/action\",\"Microsoft.KeyVault/hsmPools/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-12-14T02:01:18.4641200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f25e0fa2-a7c8-4377-a976-54943a77a395\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f25e0fa2-a7c8-4377-a976-54943a77a395\"},{\"properties\":{\"roleName\":\"Lab Creator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create, manage, delete your managed labs under your Azure Lab Accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.LabServices/labAccounts/*/read\",\"Microsoft.LabServices/labAccounts/createLab/action\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2018-01-18T23:38:58.1036141Z\",\"updatedOn\":\"2018-03-08T19:53:30.3032044Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\"},{\"properties\":{\"roleName\":\"Log Analytics Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Contributor can read all monitoring data and edit monitoring settings. Editing monitoring settings includes adding the VM extension to VMs; reading storage account keys to be able to configure collection of logs from Azure Storage; creating and configuring Automation accounts; adding solutions; and configuring Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Automation/automationAccounts/*\",\"Microsoft.ClassicCompute/virtualMachines/extensions/*\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.Compute/virtualMachines/extensions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.OperationalInsights/*\",\"Microsoft.OperationsManagement/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourcegroups/deployments/*\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T21:51:45.3174711Z\",\"updatedOn\":\"2018-01-30T18:08:26.6376126Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"92aaf0da-9dab-42b6-94a3-d43ce8d16293\"},{\"properties\":{\"roleName\":\"Log Analytics Reader\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Reader can view and search all monitoring data as well as and view monitoring settings, including viewing the configuration of Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/analytics/query/action\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.OperationalInsights/workspaces/sharedKeys/read\"]}],\"createdOn\":\"2017-05-02T00:20:28.1449012Z\",\"updatedOn\":\"2018-01-30T18:08:26.0438523Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/73c42c96-874c-492b-b04d-ab87d138a893\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"73c42c96-874c-492b-b04d-ab87d138a893\"},{\"properties\":{\"roleName\":\"Logic App Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage logic app, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Insights/logdefinitions/*\",\"Microsoft.Insights/metricDefinitions/*\",\"Microsoft.Logic/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*\",\"Microsoft.Web/connections/*\",\"Microsoft.Web/customApis/*\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/functions/listSecrets/action\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:11:44.8580600Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/87a39d53-fc1b-424a-814c-f7e04687dc9e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"87a39d53-fc1b-424a-814c-f7e04687dc9e\"},{\"properties\":{\"roleName\":\"Logic App Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read, enable and disable logic app.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*/read\",\"Microsoft.Insights/diagnosticSettings/*/read\",\"Microsoft.Insights/metricDefinitions/*/read\",\"Microsoft.Logic/*/read\",\"Microsoft.Logic/workflows/disable/action\",\"Microsoft.Logic/workflows/enable/action\",\"Microsoft.Logic/workflows/validate/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*/read\",\"Microsoft.Web/connections/*/read\",\"Microsoft.Web/customApis/*/read\",\"Microsoft.Web/serverFarms/read\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:14:26.9539724Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\"},{\"properties\":{\"roleName\":\"Managed Identity Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Create, Read, Update, and Delete User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/write\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/delete\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:53:42.8804692Z\",\"updatedOn\":\"2017-12-14T22:17:02.2740594Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\"},{\"properties\":{\"roleName\":\"Managed Identity Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read and Assign User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/assign/action\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:52:04.3924594Z\",\"updatedOn\":\"2017-12-14T22:16:00.1483256Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f1a07417-d97a-45cb-824c-7a7467783830\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f1a07417-d97a-45cb-824c-7a7467783830\"},{\"properties\":{\"roleName\":\"Management Group Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Contributor Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/delete\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Management/managementGroups/subscriptions/delete\",\"Microsoft.Management/managementGroups/subscriptions/write\",\"Microsoft.Management/managementGroups/write\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:28:29.0523964Z\",\"updatedOn\":\"2018-06-22T00:29:40.3047486Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\"},{\"properties\":{\"roleName\":\"Management Group Reader\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Reader Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/read\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:31:03.4295347Z\",\"updatedOn\":\"2018-06-22T00:32:11.5701900Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ac63b705-f282-497d-ac71-919bf39d939d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ac63b705-f282-497d-ac71-919bf39d939d\"},{\"properties\":{\"roleName\":\"Monitoring Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data and update monitoring settings.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.AlertsManagement/alerts/*\",\"Microsoft.AlertsManagement/alertsSummary/*\",\"Microsoft.Insights/AlertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/DiagnosticSettings/*\",\"Microsoft.Insights/eventtypes/*\",\"Microsoft.Insights/LogDefinitions/*\",\"Microsoft.Insights/MetricDefinitions/*\",\"Microsoft.Insights/Metrics/*\",\"Microsoft.Insights/Register/Action\",\"Microsoft.Insights/webtests/*\",\"Microsoft.Insights/actiongroups/*\",\"Microsoft.Insights/metricalerts/*\",\"Microsoft.Insights/scheduledqueryrules/*\",\"Microsoft.OperationalInsights/workspaces/intelligencepacks/*\",\"Microsoft.OperationalInsights/workspaces/savedSearches/*\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.OperationalInsights/workspaces/sharedKeys/action\",\"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/*\",\"Microsoft.Support/*\",\"Microsoft.WorkloadMonitor/workloads/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:21:08.4345976Z\",\"updatedOn\":\"2018-04-02T19:04:30.9448972Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/749f88d5-cbae-40b8-bcfc-e573ddc772fa\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"749f88d5-cbae-40b8-bcfc-e573ddc772fa\"},{\"properties\":{\"roleName\":\"Monitoring Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:19:52.4939376Z\",\"updatedOn\":\"2018-01-30T18:08:27.2626250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"43d0d8ad-25c7-4714-9337-8ba259a9fe05\"},{\"properties\":{\"roleName\":\"Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2016-05-31T23:14:00.3326359Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4d97b98b-1d4f-4787-a291-c67834d212e7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4d97b98b-1d4f-4787-a291-c67834d212e7\"},{\"properties\":{\"roleName\":\"New Relic APM Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage New Relic Application Performance Management accounts and applications, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"NewRelic.APM/accounts/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.7538043Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d28c62d-5b37-4476-8438-e587778df237\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d28c62d-5b37-4476-8438-e587778df237\"},{\"properties\":{\"roleName\":\"Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything, including access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:00.9179619Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"},{\"properties\":{\"roleName\":\"PowerApps Administrator\",\"type\":\"BuiltInRole\",\"description\":\"The user has access to perform administrative actions on all PowerApps resources within the tenant.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/actions/admin/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:41.9912926Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/53be45b2-ad40-43ab-bc1f-2c962ac99ded\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"53be45b2-ad40-43ab-bc1f-2c962ac99ded\"},{\"properties\":{\"roleName\":\"PowerAppsReaderWithReshare\",\"type\":\"BuiltInRole\",\"description\":\"PowerAppsReadersWithReshare can use the resource and re-share it with other users, but cannot edit the resource or re-share it with edit permissions.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/*/permissions/write\",\"Microsoft.PowerApps/*/read\"],\"notActions\":[\"Microsoft.PowerApps/*/delete\",\"Microsoft.PowerApps/*/write\"]}],\"createdOn\":\"2016-03-15T00:55:03.0666416Z\",\"updatedOn\":\"2016-05-31T23:14:09.6924345Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6877c72c-edd3-4048-9b4b-cf8e514477b0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6877c72c-edd3-4048-9b4b-cf8e514477b0\"},{\"properties\":{\"roleName\":\"Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything, but not make any changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:25.4031403Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"acdd72a7-3385-48ef-bd42-f606fba81ae7\"},{\"properties\":{\"roleName\":\"Reader and Data Access\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything but will not let you delete or create a storage account or contained resource. It will also allow read/write access to all data contained in a storage account via access to storage account keys.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-27T23:20:46.1498906Z\",\"updatedOn\":\"2018-03-28T17:50:03.9656854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c12c1c16-33a1-487b-954d-41c89c60f349\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c12c1c16-33a1-487b-954d-41c89c60f349\"},{\"properties\":{\"roleName\":\"Redis Cache Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Redis caches, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cache/redis/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:01.9877071Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e0f68234-74aa-48ed-b826-c38b57376e17\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e0f68234-74aa-48ed-b826-c38b57376e17\"},{\"properties\":{\"roleName\":\"Resource Policy Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"(Preview) Backfilled users from EA, with rights to create/modify resource policy, create support ticket and read resources/hierarchy.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/policyassignments/*\",\"Microsoft.Authorization/policydefinitions/*\",\"Microsoft.Authorization/policysetdefinitions/*\",\"Microsoft.PolicyInsights/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-08-25T19:08:01.3861639Z\",\"updatedOn\":\"2018-01-30T18:08:27.8272264Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/36243c78-bf99-498c-9df9-86d9f8d28608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"36243c78-bf99-498c-9df9-86d9f8d28608\"},{\"properties\":{\"roleName\":\"Scheduler Job Collections Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Scheduler job collections, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Scheduler/jobcollections/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:02.5343995Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/188a0f2f-5c9e-469b-ae67-2aa5ce574b94\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"188a0f2f-5c9e-469b-ae67-2aa5ce574b94\"},{\"properties\":{\"roleName\":\"Search Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Search services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Search/searchServices/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:03.0463472Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/7ca78c08-252a-4471-8644-bb5ff32d4ba0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"7ca78c08-252a-4471-8644-bb5ff32d4ba0\"},{\"properties\":{\"roleName\":\"Security Admin\",\"type\":\"BuiltInRole\",\"description\":\"Security Admin Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Authorization/policyAssignments/*\",\"Microsoft.Authorization/policyDefinitions/*\",\"Microsoft.Authorization/policySetDefinitions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\",\"Microsoft.Security/locations/alerts/dismiss/action\",\"Microsoft.Security/locations/alerts/activate/action\",\"Microsoft.Security/locations/tasks/dismiss/action\",\"Microsoft.Security/locations/tasks/activate/action\",\"Microsoft.Security/policies/write\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:51:23.0917487Z\",\"updatedOn\":\"2018-03-08T18:19:50.7393029Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb1c8493-542b-48eb-b624-b4c8fea62acd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb1c8493-542b-48eb-b624-b4c8fea62acd\"},{\"properties\":{\"roleName\":\"Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage security components, security policies and virtual machines\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/*/read\",\"Microsoft.ClassicCompute/virtualMachines/*/write\",\"Microsoft.ClassicNetwork/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-22T17:45:15.8986455Z\",\"updatedOn\":\"2018-03-08T18:18:48.6183620Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e3d13bf0-dd5a-482e-ba6b-9b8433878d10\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e3d13bf0-dd5a-482e-ba6b-9b8433878d10\"},{\"properties\":{\"roleName\":\"Security Reader\",\"type\":\"BuiltInRole\",\"description\":\"Security Reader Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Support/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:48:49.0516559Z\",\"updatedOn\":\"2017-05-03T18:42:54.9787380Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/39bc4728-0917-49c7-9d2c-d95423bc2eb4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"39bc4728-0917-49c7-9d2c-d95423bc2eb4\"},{\"properties\":{\"roleName\":\"Site Recovery Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Site Recovery service except vault creation and role assignment\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/*\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/*\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/*\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/*\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:46:17.4592776Z\",\"updatedOn\":\"2017-06-29T05:31:19.7240473Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6670b86e-a3f7-4917-ac9b-5d6ab1be4567\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6670b86e-a3f7-4917-ac9b-5d6ab1be4567\"},{\"properties\":{\"roleName\":\"Site Recovery Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you failover and failback but not perform other Site Recovery management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/checkConsistency/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/reassociateGateway/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/renewcertificate/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/applyRecoveryPoint/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/repairReplication/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/unplannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/updateMobilityService/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/refreshProvider/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/unplannedFailover/action\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:47:50.1341148Z\",\"updatedOn\":\"2017-06-29T05:42:27.1715639Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/494ae006-db33-4328-bf46-533a6560a3ca\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"494ae006-db33-4328-bf46-533a6560a3ca\"},{\"properties\":{\"roleName\":\"Site Recovery Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view Site Recovery status but not perform other management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/read\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:35:40.0093634Z\",\"updatedOn\":\"2017-05-26T19:54:51.3933250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/dbaa88c4-0c30-4179-9fb3-46319faa6149\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"dbaa88c4-0c30-4179-9fb3-46319faa6149\"},{\"properties\":{\"roleName\":\"SQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL databases, but not access to them. Also, you can't manage their security-related policies or their parent SQL servers.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/databases/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.1575716Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\"},{\"properties\":{\"roleName\":\"SQL Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the security-related policies of SQL servers and databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/read\",\"Microsoft.Sql/servers/databases/schemas/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/schemas/tables/read\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/firewallRules/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Sql/servers/securityAlertPolicies/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:40.2200727Z\",\"createdBy\":null,\"updatedBy\":\"yaiyun\"},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/056cd41c-7e88-42e1-933e-88ba6a50c9c3\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"056cd41c-7e88-42e1-933e-88ba6a50c9c3\"},{\"properties\":{\"roleName\":\"SQL Server Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL servers and databases, but not access to them, and not their security -related policies.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/*\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/securityAlertPolicies/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.8450730Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\"},{\"properties\":{\"roleName\":\"Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-08-21T07:43:20.3060994Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/17d1049b-9a84-46fb-8f53-869881c3d3ab\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"17d1049b-9a84-46fb-8f53-869881c3d3ab\"},{\"properties\":{\"roleName\":\"Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Storage Account Key Operators are allowed to list and regenerate keys on Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:26:11.5770570Z\",\"updatedOn\":\"2017-04-13T20:57:14.5990198Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"81a9662b-bebf-436f-a333-f67b29880f12\"},{\"properties\":{\"roleName\":\"Storage Blob Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write and delete access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:11:00.4629296Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ba92f5b4-2d11-453d-a403-e96b0029c9fe\"},{\"properties\":{\"roleName\":\"Storage Blob Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:15:19.5080840Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\"},{\"properties\":{\"roleName\":\"Storage Queue Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write, and delete access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:16:40.1371662Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/974c5e8b-45b9-4653-ba55-5f855dd0fb88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"974c5e8b-45b9-4653-ba55-5f855dd0fb88\"},{\"properties\":{\"roleName\":\"Storage Queue Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:19:30.5001463Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/19e7f393-937e-4f77-808e-94535e297925\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"19e7f393-937e-4f77-808e-94535e297925\"},{\"properties\":{\"roleName\":\"Support Request Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create and manage Support requests\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-06-22T22:25:37.8053068Z\",\"updatedOn\":\"2017-06-23T01:06:24.2399631Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\"},{\"properties\":{\"roleName\":\"Traffic Manager Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Traffic Manager profiles, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/trafficManagerProfiles/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:44.1458854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\"},{\"properties\":{\"roleName\":\"User Access Administrator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage user access to Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:24.4656640Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\"},{\"properties\":{\"roleName\":\"Virtual Machine Administrator Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as administrator\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:17:57.0514548Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/1c0163c0-47e6-4577-8991-ea5c82e286e4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"1c0163c0-47e6-4577-8991-ea5c82e286e4\"},{\"properties\":{\"roleName\":\"Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/*\",\"Microsoft.Compute/locations/*\",\"Microsoft.Compute/virtualMachines/*\",\"Microsoft.Compute/virtualMachineScaleSets/*\",\"Microsoft.DevTestLab/schedules/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/applicationGateways/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/loadBalancers/probes/join/action\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/locations/*\",\"Microsoft.Network/networkInterfaces/*\",\"Microsoft.Network/networkSecurityGroups/join/action\",\"Microsoft.Network/networkSecurityGroups/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.RecoveryServices/locations/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/write\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/write\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-11-14T03:00:30.1736393Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9980e02c-c2be-4d73-94e8-173b1dc7cf3c\"},{\"properties\":{\"roleName\":\"Virtual Machine User Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as a regular user.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:18:52.2780979Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb879df8-f326-4884-b1cf-06f3ad86be52\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb879df8-f326-4884-b1cf-06f3ad86be52\"},{\"properties\":{\"roleName\":\"Web Plan Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the web plans for websites, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/serverFarms/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:05.9401651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\"},{\"properties\":{\"roleName\":\"Website Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage websites (not web plans), but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/certificates/*\",\"Microsoft.Web/listSitesAssignedToHostName/read\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:06.5272742Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"de139f84-1756-47ae-9be6-808fbbe84772\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de?api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:07 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "ccb474ac-238e-4ca6-b476-f940a2605936", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195707Z:ccb474ac-238e-4ca6-b476-f940a2605936", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "44894d05-901e-4141-8eb7-5c5ba66e3987", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:11 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14999", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c6e6f8d6-e46d-4c85-8060-705e4bb86d1e", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195711Z:c6e6f8d6-e46d-4c85-8060-705e4bb86d1e", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "c673a180-ff08-437f-aaef-db16b0b5bd3a", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:28 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "907", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14998", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "051491d6-12eb-4750-b804-f8949bc28b61", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195728Z:051491d6-12eb-4750-b804-f8949bc28b61", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "31e536f6-9336-4230-9de2-784792656503", - "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"name\":\"sa22c29322de\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:57:07.3309146Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:57:07.2527139Z\",\"primaryEndpoints\":{\"blob\":\"https://sa22c29322de.blob.core.windows.net/\",\"queue\":\"https://sa22c29322de.queue.core.windows.net/\",\"table\":\"https://sa22c29322de.table.core.windows.net/\",\"file\":\"https://sa22c29322de.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de?api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:28 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "907", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e0f391a5-af65-4732-86c0-0738af44a4f0", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195728Z:e0f391a5-af65-4732-86c0-0738af44a4f0", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "aba6d670-3f42-4dc0-82b2-554f144bd7ab", - "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"name\":\"sa22c29322de\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:57:07.3309146Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:57:07.2527139Z\",\"primaryEndpoints\":{\"blob\":\"https://sa22c29322de.blob.core.windows.net/\",\"queue\":\"https://sa22c29322de.queue.core.windows.net/\",\"table\":\"https://sa22c29322de.table.core.windows.net/\",\"file\":\"https://sa22c29322de.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de/providers/Microsoft.Authorization/roleAssignments/4a9d964f-b76c-4e33-9d89-bf6f3a3d220b?api-version=2015-07-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:32 GMT", - "content-length" : "868", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-ms-request-charge" : "3", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "cb9fbbc4-091a-48e8-ba9a-1d0d552efe91", - "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195732Z:cb9fbbc4-091a-48e8-ba9a-1d0d552efe91", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "8dc91423-9658-4d21-afd4-a3e5e1b7926b", - "Body" : "{\"properties\":{\"roleDefinitionId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"principalId\":\"93c27d83-f79b-4cb2-8dd4-4aa716542e74\",\"scope\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"createdOn\":\"2018-06-25T19:57:29.4073593Z\",\"updatedOn\":\"2018-06-25T19:57:29.4073593Z\",\"createdBy\":null,\"updatedBy\":\"00000000-0000-0000-0000-000000000000\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de/providers/Microsoft.Authorization/roleAssignments/4a9d964f-b76c-4e33-9d89-bf6f3a3d220b\",\"type\":\"Microsoft.Authorization/roleAssignments\",\"name\":\"4a9d964f-b76c-4e33-9d89-bf6f3a3d220b\"}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:34 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "819", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "f92e3842-bb30-4d26-848a-e6bc47ce7874", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195735Z:f92e3842-bb30-4d26-848a-e6bc47ce7874", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.220", - "x-ms-request-id" : "f92e3842-bb30-4d26-848a-e6bc47ce7874", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495\",\"name\":\"vault815130495\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"get\",\"backup\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vault815130495.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:57:34 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "820", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "1adf5245-3b25-4651-b5f7-4dfdb6608457", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195735Z:1adf5245-3b25-4651-b5f7-4dfdb6608457", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.220", - "x-ms-request-id" : "1adf5245-3b25-4651-b5f7-4dfdb6608457", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495\",\"name\":\"vault815130495\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"get\",\"backup\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vault815130495.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:05 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "815", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "52306e25-95c8-4dae-b317-fd481ae007d9", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195805Z:52306e25-95c8-4dae-b317-fd481ae007d9", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.220", - "x-ms-request-id" : "52306e25-95c8-4dae-b317-fd481ae007d9", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495\",\"name\":\"vault815130495\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"get\",\"backup\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vault815130495.vault.azure.net\",\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:04 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "6e160f0b-ecec-4c4c-ac01-b1e4646c42e1", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:08 GMT", - "content-length" : "402", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "a79cd7b0-02de-472d-9854-75c1784e8b6c", - "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key1\",\"autoRegenerateKey\":true,\"regenerationPeriod\":\"P30D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956689,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://vault815130495.vault.azure.net/storage?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:11 GMT", - "content-length" : "354", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "9f18b775-7248-4516-af92-bf5d1f1e67be", - "Body" : "{\"value\":[{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956689,\"recoveryLevel\":\"Purgeable\"}}],\"nextLink\":null}" - } - }, { - "Method" : "GET", - "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:13 GMT", - "content-length" : "402", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "1afd1f24-fc5c-4214-84d5-f4a121e6f4e6", - "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key1\",\"autoRegenerateKey\":true,\"regenerationPeriod\":\"P30D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956689,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "PATCH", - "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:16 GMT", - "content-length" : "403", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "68734eec-d905-44f0-bf46-9bf5f3e2f5dd", - "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key2\",\"autoRegenerateKey\":false,\"regenerationPeriod\":\"P60D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956696,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:17 GMT", - "content-length" : "403", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "b301b119-8771-4b6b-b06a-44b0e42afd7d", - "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key2\",\"autoRegenerateKey\":false,\"regenerationPeriod\":\"P60D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956696,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "DELETE", - "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:19 GMT", - "content-length" : "403", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "99defcc1-132b-47ac-a61e-14ad418f0b4a", - "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key2\",\"autoRegenerateKey\":false,\"regenerationPeriod\":\"P60D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956696,\"recoveryLevel\":\"Purgeable\"}}" - } - } ], - "variables" : [ "sa22c29322de", "vault815130495" ] +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "http://localhost:1234/%5C/providers/Microsoft.Authorization/roleDefinitions?api-version=2015-07-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:03 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "87830", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-request-charge" : "1", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "205af036-08c5-465d-a915-29e98bdadca1", + "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", + "x-ms-ratelimit-remaining-tenant-reads" : "14999", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195703Z:205af036-08c5-465d-a915-29e98bdadca1", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2020ac1a-7445-472d-8c55-a026958ba1a2", + "Body" : "{\"value\":[{\"properties\":{\"roleName\":\"AcrImageSigner\",\"type\":\"BuiltInRole\",\"description\":\"acr image signer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\",\"Microsoft.ContainerRegistry/registries/*/write\"],\"notActions\":[]}],\"createdOn\":\"2018-03-15T23:23:08.4038322Z\",\"updatedOn\":\"2018-03-17T01:25:51.8758677Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6cef56e8-d556-48e5-a04f-b8e64114680f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6cef56e8-d556-48e5-a04f-b8e64114680f\"},{\"properties\":{\"roleName\":\"AcrQuarantineReader\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data reader\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:27:39.9596835Z\",\"updatedOn\":\"2018-03-17T01:26:48.6387319Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cdda3590-29a3-44f6-95f2-9f980659eb04\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cdda3590-29a3-44f6-95f2-9f980659eb04\"},{\"properties\":{\"roleName\":\"AcrQuarantineWriter\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data writer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/write\",\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:26:37.5871820Z\",\"updatedOn\":\"2018-03-17T01:27:36.3941651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c8d4ff99-41c3-41a8-9f60-21dfdad59608\"},{\"properties\":{\"roleName\":\"API Management Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage API Management services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-01-23T23:12:00.5823195Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/312a565d-c81f-4fd8-895a-4e21e48d571c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"312a565d-c81f-4fd8-895a-4e21e48d571c\"},{\"properties\":{\"roleName\":\"API Management Service Operator Role\",\"type\":\"BuiltInRole\",\"description\":\"Can manage service but not the APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/backup/action\",\"Microsoft.ApiManagement/service/delete\",\"Microsoft.ApiManagement/service/managedeployments/action\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.ApiManagement/service/restore/action\",\"Microsoft.ApiManagement/service/updatecertificate/action\",\"Microsoft.ApiManagement/service/updatehostname/action\",\"Microsoft.ApiManagement/service/write\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:03:42.1194019Z\",\"updatedOn\":\"2016-11-18T23:56:25.4682649Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e022efe7-f5ba-4159-bbe4-b44f577e9b61\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e022efe7-f5ba-4159-bbe4-b44f577e9b61\"},{\"properties\":{\"roleName\":\"API Management Service Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Read-only access to service and APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:26:45.1540473Z\",\"updatedOn\":\"2017-01-23T23:10:34.8876776Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/71522526-b88f-4d52-b57f-d31fc3546d0d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"71522526-b88f-4d52-b57f-d31fc3546d0d\"},{\"properties\":{\"roleName\":\"Application Insights Component Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage Application Insights components\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/webtests/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-11-29T20:30:34.2313394Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ae349356-3a1b-4a5e-921d-050484c6347e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ae349356-3a1b-4a5e-921d-050484c6347e\"},{\"properties\":{\"roleName\":\"Application Insights Snapshot Debugger\",\"type\":\"BuiltInRole\",\"description\":\"Gives user permission to use Application Insights Snapshot Debugger features\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T21:25:12.3728747Z\",\"updatedOn\":\"2017-04-19T23:34:59.9511581Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/08954f03-6346-4c2e-81c0-ec3a5cfae23b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"08954f03-6346-4c2e-81c0-ec3a5cfae23b\"},{\"properties\":{\"roleName\":\"Automation Job Operator\",\"type\":\"BuiltInRole\",\"description\":\"Create and Manage Jobs using Automation Runbooks.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:52:41.0020018Z\",\"updatedOn\":\"2018-03-06T02:20:41.6886187Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4fe576fe-1146-4730-92eb-48519fa6bf9f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4fe576fe-1146-4730-92eb-48519fa6bf9f\"},{\"properties\":{\"roleName\":\"Automation Operator\",\"type\":\"BuiltInRole\",\"description\":\"Automation Operators are able to start, stop, suspend, and resume jobs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Automation/automationAccounts/jobSchedules/read\",\"Microsoft.Automation/automationAccounts/jobSchedules/write\",\"Microsoft.Automation/automationAccounts/linkedWorkspace/read\",\"Microsoft.Automation/automationAccounts/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Automation/automationAccounts/schedules/read\",\"Microsoft.Automation/automationAccounts/schedules/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Automation/automationAccounts/jobs/output/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-08-18T01:05:03.3916130Z\",\"updatedOn\":\"2018-05-10T20:12:39.6978200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d3881f73-407a-4167-8283-e981cbba0404\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d3881f73-407a-4167-8283-e981cbba0404\"},{\"properties\":{\"roleName\":\"Automation Runbook Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read Runbook properties - to be able to create Jobs of the runbook.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:47:49.5640674Z\",\"updatedOn\":\"2017-04-25T01:00:45.6444999Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\"},{\"properties\":{\"roleName\":\"Azure Stack Registration Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Azure Stack registrations.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.AzureStack/registrations/products/listDetails/action\",\"Microsoft.AzureStack/registrations/products/read\",\"Microsoft.AzureStack/registrations/read\"],\"notActions\":[]}],\"createdOn\":\"2017-11-13T23:42:06.2161827Z\",\"updatedOn\":\"2017-11-13T23:54:02.4007080Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6f12a6df-dd06-4f3e-bcb1-ce8be600526a\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6f12a6df-dd06-4f3e-bcb1-ce8be600526a\"},{\"properties\":{\"roleName\":\"Backup Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup service,but can't create vaults and give access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/*\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/certificates/*\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/*\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/Vaults/usages/*\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupSecurityPIN/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:12:15.7321344Z\",\"updatedOn\":\"2017-07-07T06:22:36.4530284Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e467623-bb1f-42f4-a55d-6e525e11384b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e467623-bb1f-42f4-a55d-6e525e11384b\"},{\"properties\":{\"roleName\":\"Backup Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup services, except removal of backup, vault creation and giving access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/backup/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/cancel/action\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/write\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/refreshContainers/action\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/write\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:21:11.8947640Z\",\"updatedOn\":\"2018-06-16T05:25:05.7455061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/00c29273-979b-4161-815c-10b084fb9324\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"00c29273-979b-4161-815c-10b084fb9324\"},{\"properties\":{\"roleName\":\"Backup Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view backup services, but can't make changes\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:18:41.3893065Z\",\"updatedOn\":\"2017-09-13T10:33:25.5814653Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a795c7a0-d4a2-40c1-ae25-d81f01202912\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a795c7a0-d4a2-40c1-ae25-d81f01202912\"},{\"properties\":{\"roleName\":\"Billing Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read billing data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Billing/*/read\",\"Microsoft.Consumption/*/read\",\"Microsoft.Commerce/*/read\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T02:13:38.9054151Z\",\"updatedOn\":\"2017-09-19T17:36:32.7624564Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\"},{\"properties\":{\"roleName\":\"BizTalk Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage BizTalk services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BizTalkServices/BizTalk/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:55.8430061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e3c6656-6cfa-4708-81fe-0de47ac73342\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e3c6656-6cfa-4708-81fe-0de47ac73342\"},{\"properties\":{\"roleName\":\"CDN Endpoint Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:52.6231539Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/426e0c7f-0c7e-4658-b36f-ff54d6c29b45\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"426e0c7f-0c7e-4658-b36f-ff54d6c29b45\"},{\"properties\":{\"roleName\":\"CDN Endpoint Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.1585846Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/871e35f6-b5c1-49cc-a043-bde969a0f2cd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"871e35f6-b5c1-49cc-a043-bde969a0f2cd\"},{\"properties\":{\"roleName\":\"CDN Profile Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN profiles and their endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.7051278Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ec156ff8-a8d1-4d15-830c-5b80698ca432\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ec156ff8-a8d1-4d15-830c-5b80698ca432\"},{\"properties\":{\"roleName\":\"CDN Profile Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN profiles and their endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:54.2283001Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8f96442b-4075-438f-813d-ad51ab4019af\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8f96442b-4075-438f-813d-ad51ab4019af\"},{\"properties\":{\"roleName\":\"Classic Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicNetwork/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.3934954Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b34d265f-36f7-4a0d-a4d4-e158ca92e90f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b34d265f-36f7-4a0d-a4d4-e158ca92e90f\"},{\"properties\":{\"roleName\":\"Classic Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.9379206Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/86e8f5dc-a6e9-4c67-9d15-de283e8eac25\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"86e8f5dc-a6e9-4c67-9d15-de283e8eac25\"},{\"properties\":{\"roleName\":\"Classic Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Classic Storage Account Key Operators are allowed to list and regenerate keys on Classic Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ClassicStorage/storageAccounts/listkeys/action\",\"Microsoft.ClassicStorage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:22:52.1461100Z\",\"updatedOn\":\"2017-04-13T20:54:03.0505986Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/985d6b00-f706-48f5-a6fe-d0ca12fb668d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"985d6b00-f706-48f5-a6fe-d0ca12fb668d\"},{\"properties\":{\"roleName\":\"Classic Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/domainNames/*\",\"Microsoft.ClassicCompute/virtualMachines/*\",\"Microsoft.ClassicNetwork/networkSecurityGroups/join/action\",\"Microsoft.ClassicNetwork/reservedIps/link/action\",\"Microsoft.ClassicNetwork/reservedIps/read\",\"Microsoft.ClassicNetwork/virtualNetworks/join/action\",\"Microsoft.ClassicNetwork/virtualNetworks/read\",\"Microsoft.ClassicStorage/storageAccounts/disks/read\",\"Microsoft.ClassicStorage/storageAccounts/images/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:57.4788684Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d73bb868-a0df-4d4d-bd69-98a00b01fccb\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d73bb868-a0df-4d4d-bd69-98a00b01fccb\"},{\"properties\":{\"roleName\":\"ClearDB MySQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage ClearDB MySQL databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"successbricks.cleardb/databases/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:58.1393839Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9106cda0-8a86-4e81-b686-29a22c54effe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9106cda0-8a86-4e81-b686-29a22c54effe\"},{\"properties\":{\"roleName\":\"Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything except access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[\"Microsoft.Authorization/*/Delete\",\"Microsoft.Authorization/*/Write\",\"Microsoft.Authorization/elevateAccess/Action\",\"Microsoft.Blueprint/blueprintAssignments/write\",\"Microsoft.Blueprint/blueprintAssignments/delete\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-05-30T19:22:32.4538167Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b24988ac-6180-42a0-ab88-20f7382dd24c\"},{\"properties\":{\"roleName\":\"Cosmos DB Account Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Can read Azure Cosmos DB Accounts data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDB/*/read\",\"Microsoft.DocumentDB/databaseAccounts/readonlykeys/action\",\"Microsoft.Insights/MetricDefinitions/read\",\"Microsoft.Insights/Metrics/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-10-30T17:53:54.6005577Z\",\"updatedOn\":\"2018-02-21T01:36:59.6186231Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fbdf93bf-df7d-467e-a4d2-9458aa1360c8\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fbdf93bf-df7d-467e-a4d2-9458aa1360c8\"},{\"properties\":{\"roleName\":\"Data Factory Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage data factories, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DataFactory/dataFactories/*\",\"Microsoft.DataFactory/factories/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-04-06T22:49:28.1118955Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/673868aa-7521-48a0-acc6-0f60742d39f5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"673868aa-7521-48a0-acc6-0f60742d39f5\"},{\"properties\":{\"roleName\":\"Data Lake Analytics Developer\",\"type\":\"BuiltInRole\",\"description\":\"Lets you submit, monitor, and manage your own jobs but not create or delete Data Lake Analytics accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BigAnalytics/accounts/*\",\"Microsoft.DataLakeAnalytics/accounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.BigAnalytics/accounts/Delete\",\"Microsoft.BigAnalytics/accounts/TakeOwnership/action\",\"Microsoft.BigAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/TakeOwnership/action\",\"Microsoft.DataLakeAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Write\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Delete\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Write\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Delete\"]}],\"createdOn\":\"2015-10-20T00:33:29.3115234Z\",\"updatedOn\":\"2017-08-18T00:00:17.0411642Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/47b7735b-770e-4598-a7da-8b91488b4c88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"47b7735b-770e-4598-a7da-8b91488b4c88\"},{\"properties\":{\"roleName\":\"Data Purger\",\"type\":\"BuiltInRole\",\"description\":\"Can purge analytics data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/components/*/read\",\"Microsoft.Insights/components/purge/action\",\"Microsoft.OperationalInsights/workspaces/*/read\",\"Microsoft.OperationalInsights/workspaces/purge/action\"],\"notActions\":[]}],\"createdOn\":\"2018-04-30T22:39:49.6167700Z\",\"updatedOn\":\"2018-04-30T22:44:15.1171162Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/150f5e0c-0603-4f03-8c7f-cf70034c4e90\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"150f5e0c-0603-4f03-8c7f-cf70034c4e90\"},{\"properties\":{\"roleName\":\"DevTest Labs User\",\"type\":\"BuiltInRole\",\"description\":\"Lets you connect, start, restart, and shutdown virtual machines in your Azure DevTest Labs.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/read\",\"Microsoft.Compute/virtualMachines/*/read\",\"Microsoft.Compute/virtualMachines/deallocate/action\",\"Microsoft.Compute/virtualMachines/read\",\"Microsoft.Compute/virtualMachines/restart/action\",\"Microsoft.Compute/virtualMachines/start/action\",\"Microsoft.DevTestLab/*/read\",\"Microsoft.DevTestLab/labs/createEnvironment/action\",\"Microsoft.DevTestLab/labs/claimAnyVm/action\",\"Microsoft.DevTestLab/labs/formulas/delete\",\"Microsoft.DevTestLab/labs/formulas/read\",\"Microsoft.DevTestLab/labs/formulas/write\",\"Microsoft.DevTestLab/labs/policySets/evaluatePolicies/action\",\"Microsoft.DevTestLab/labs/virtualMachines/claim/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/networkInterfaces/*/read\",\"Microsoft.Network/networkInterfaces/join/action\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Network/networkInterfaces/write\",\"Microsoft.Network/publicIPAddresses/*/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/deployments/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\"],\"notActions\":[\"Microsoft.Compute/virtualMachines/vmSizes/read\"]}],\"createdOn\":\"2015-06-08T21:52:45.0657582Z\",\"updatedOn\":\"2017-02-02T02:38:38.2961026Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/76283e04-6283-4c54-8f91-bcf1374a3c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"76283e04-6283-4c54-8f91-bcf1374a3c64\"},{\"properties\":{\"roleName\":\"DNS Zone Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DNS zones and record sets in Azure DNS, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/dnsZones/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:40.3710365Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/befefa01-2a29-4197-83a8-272ff33ce314\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"befefa01-2a29-4197-83a8-272ff33ce314\"},{\"properties\":{\"roleName\":\"DocumentDB Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DocumentDB accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDb/databaseAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.2132374Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5bd9cd88-fe45-4216-938b-f97437e15450\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5bd9cd88-fe45-4216-938b-f97437e15450\"},{\"properties\":{\"roleName\":\"Intelligent Systems Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Intelligent Systems accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.IntelligentSystems/accounts/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:59.7946586Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/03a6d094-3444-4b3d-88af-7477090a9e5e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"03a6d094-3444-4b3d-88af-7477090a9e5e\"},{\"properties\":{\"roleName\":\"Key Vault Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage key vaults, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.KeyVault/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.KeyVault/locations/deletedVaults/purge/action\",\"Microsoft.KeyVault/hsmPools/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-12-14T02:01:18.4641200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f25e0fa2-a7c8-4377-a976-54943a77a395\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f25e0fa2-a7c8-4377-a976-54943a77a395\"},{\"properties\":{\"roleName\":\"Lab Creator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create, manage, delete your managed labs under your Azure Lab Accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.LabServices/labAccounts/*/read\",\"Microsoft.LabServices/labAccounts/createLab/action\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2018-01-18T23:38:58.1036141Z\",\"updatedOn\":\"2018-03-08T19:53:30.3032044Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\"},{\"properties\":{\"roleName\":\"Log Analytics Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Contributor can read all monitoring data and edit monitoring settings. Editing monitoring settings includes adding the VM extension to VMs; reading storage account keys to be able to configure collection of logs from Azure Storage; creating and configuring Automation accounts; adding solutions; and configuring Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Automation/automationAccounts/*\",\"Microsoft.ClassicCompute/virtualMachines/extensions/*\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.Compute/virtualMachines/extensions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.OperationalInsights/*\",\"Microsoft.OperationsManagement/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourcegroups/deployments/*\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T21:51:45.3174711Z\",\"updatedOn\":\"2018-01-30T18:08:26.6376126Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"92aaf0da-9dab-42b6-94a3-d43ce8d16293\"},{\"properties\":{\"roleName\":\"Log Analytics Reader\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Reader can view and search all monitoring data as well as and view monitoring settings, including viewing the configuration of Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/analytics/query/action\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.OperationalInsights/workspaces/sharedKeys/read\"]}],\"createdOn\":\"2017-05-02T00:20:28.1449012Z\",\"updatedOn\":\"2018-01-30T18:08:26.0438523Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/73c42c96-874c-492b-b04d-ab87d138a893\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"73c42c96-874c-492b-b04d-ab87d138a893\"},{\"properties\":{\"roleName\":\"Logic App Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage logic app, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Insights/logdefinitions/*\",\"Microsoft.Insights/metricDefinitions/*\",\"Microsoft.Logic/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*\",\"Microsoft.Web/connections/*\",\"Microsoft.Web/customApis/*\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/functions/listSecrets/action\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:11:44.8580600Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/87a39d53-fc1b-424a-814c-f7e04687dc9e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"87a39d53-fc1b-424a-814c-f7e04687dc9e\"},{\"properties\":{\"roleName\":\"Logic App Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read, enable and disable logic app.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*/read\",\"Microsoft.Insights/diagnosticSettings/*/read\",\"Microsoft.Insights/metricDefinitions/*/read\",\"Microsoft.Logic/*/read\",\"Microsoft.Logic/workflows/disable/action\",\"Microsoft.Logic/workflows/enable/action\",\"Microsoft.Logic/workflows/validate/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*/read\",\"Microsoft.Web/connections/*/read\",\"Microsoft.Web/customApis/*/read\",\"Microsoft.Web/serverFarms/read\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:14:26.9539724Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\"},{\"properties\":{\"roleName\":\"Managed Identity Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Create, Read, Update, and Delete User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/write\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/delete\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:53:42.8804692Z\",\"updatedOn\":\"2017-12-14T22:17:02.2740594Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\"},{\"properties\":{\"roleName\":\"Managed Identity Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read and Assign User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/assign/action\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:52:04.3924594Z\",\"updatedOn\":\"2017-12-14T22:16:00.1483256Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f1a07417-d97a-45cb-824c-7a7467783830\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f1a07417-d97a-45cb-824c-7a7467783830\"},{\"properties\":{\"roleName\":\"Management Group Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Contributor Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/delete\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Management/managementGroups/subscriptions/delete\",\"Microsoft.Management/managementGroups/subscriptions/write\",\"Microsoft.Management/managementGroups/write\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:28:29.0523964Z\",\"updatedOn\":\"2018-06-22T00:29:40.3047486Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\"},{\"properties\":{\"roleName\":\"Management Group Reader\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Reader Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/read\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:31:03.4295347Z\",\"updatedOn\":\"2018-06-22T00:32:11.5701900Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ac63b705-f282-497d-ac71-919bf39d939d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ac63b705-f282-497d-ac71-919bf39d939d\"},{\"properties\":{\"roleName\":\"Monitoring Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data and update monitoring settings.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.AlertsManagement/alerts/*\",\"Microsoft.AlertsManagement/alertsSummary/*\",\"Microsoft.Insights/AlertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/DiagnosticSettings/*\",\"Microsoft.Insights/eventtypes/*\",\"Microsoft.Insights/LogDefinitions/*\",\"Microsoft.Insights/MetricDefinitions/*\",\"Microsoft.Insights/Metrics/*\",\"Microsoft.Insights/Register/Action\",\"Microsoft.Insights/webtests/*\",\"Microsoft.Insights/actiongroups/*\",\"Microsoft.Insights/metricalerts/*\",\"Microsoft.Insights/scheduledqueryrules/*\",\"Microsoft.OperationalInsights/workspaces/intelligencepacks/*\",\"Microsoft.OperationalInsights/workspaces/savedSearches/*\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.OperationalInsights/workspaces/sharedKeys/action\",\"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/*\",\"Microsoft.Support/*\",\"Microsoft.WorkloadMonitor/workloads/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:21:08.4345976Z\",\"updatedOn\":\"2018-04-02T19:04:30.9448972Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/749f88d5-cbae-40b8-bcfc-e573ddc772fa\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"749f88d5-cbae-40b8-bcfc-e573ddc772fa\"},{\"properties\":{\"roleName\":\"Monitoring Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:19:52.4939376Z\",\"updatedOn\":\"2018-01-30T18:08:27.2626250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"43d0d8ad-25c7-4714-9337-8ba259a9fe05\"},{\"properties\":{\"roleName\":\"Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2016-05-31T23:14:00.3326359Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4d97b98b-1d4f-4787-a291-c67834d212e7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4d97b98b-1d4f-4787-a291-c67834d212e7\"},{\"properties\":{\"roleName\":\"New Relic APM Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage New Relic Application Performance Management accounts and applications, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"NewRelic.APM/accounts/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.7538043Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d28c62d-5b37-4476-8438-e587778df237\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d28c62d-5b37-4476-8438-e587778df237\"},{\"properties\":{\"roleName\":\"Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything, including access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:00.9179619Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"},{\"properties\":{\"roleName\":\"PowerApps Administrator\",\"type\":\"BuiltInRole\",\"description\":\"The user has access to perform administrative actions on all PowerApps resources within the tenant.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/actions/admin/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:41.9912926Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/53be45b2-ad40-43ab-bc1f-2c962ac99ded\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"53be45b2-ad40-43ab-bc1f-2c962ac99ded\"},{\"properties\":{\"roleName\":\"PowerAppsReaderWithReshare\",\"type\":\"BuiltInRole\",\"description\":\"PowerAppsReadersWithReshare can use the resource and re-share it with other users, but cannot edit the resource or re-share it with edit permissions.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/*/permissions/write\",\"Microsoft.PowerApps/*/read\"],\"notActions\":[\"Microsoft.PowerApps/*/delete\",\"Microsoft.PowerApps/*/write\"]}],\"createdOn\":\"2016-03-15T00:55:03.0666416Z\",\"updatedOn\":\"2016-05-31T23:14:09.6924345Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6877c72c-edd3-4048-9b4b-cf8e514477b0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6877c72c-edd3-4048-9b4b-cf8e514477b0\"},{\"properties\":{\"roleName\":\"Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything, but not make any changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:25.4031403Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"acdd72a7-3385-48ef-bd42-f606fba81ae7\"},{\"properties\":{\"roleName\":\"Reader and Data Access\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything but will not let you delete or create a storage account or contained resource. It will also allow read/write access to all data contained in a storage account via access to storage account keys.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-27T23:20:46.1498906Z\",\"updatedOn\":\"2018-03-28T17:50:03.9656854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c12c1c16-33a1-487b-954d-41c89c60f349\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c12c1c16-33a1-487b-954d-41c89c60f349\"},{\"properties\":{\"roleName\":\"Redis Cache Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Redis caches, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cache/redis/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:01.9877071Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e0f68234-74aa-48ed-b826-c38b57376e17\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e0f68234-74aa-48ed-b826-c38b57376e17\"},{\"properties\":{\"roleName\":\"Resource Policy Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"(Preview) Backfilled users from EA, with rights to create/modify resource policy, create support ticket and read resources/hierarchy.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/policyassignments/*\",\"Microsoft.Authorization/policydefinitions/*\",\"Microsoft.Authorization/policysetdefinitions/*\",\"Microsoft.PolicyInsights/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-08-25T19:08:01.3861639Z\",\"updatedOn\":\"2018-01-30T18:08:27.8272264Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/36243c78-bf99-498c-9df9-86d9f8d28608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"36243c78-bf99-498c-9df9-86d9f8d28608\"},{\"properties\":{\"roleName\":\"Scheduler Job Collections Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Scheduler job collections, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Scheduler/jobcollections/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:02.5343995Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/188a0f2f-5c9e-469b-ae67-2aa5ce574b94\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"188a0f2f-5c9e-469b-ae67-2aa5ce574b94\"},{\"properties\":{\"roleName\":\"Search Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Search services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Search/searchServices/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:03.0463472Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/7ca78c08-252a-4471-8644-bb5ff32d4ba0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"7ca78c08-252a-4471-8644-bb5ff32d4ba0\"},{\"properties\":{\"roleName\":\"Security Admin\",\"type\":\"BuiltInRole\",\"description\":\"Security Admin Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Authorization/policyAssignments/*\",\"Microsoft.Authorization/policyDefinitions/*\",\"Microsoft.Authorization/policySetDefinitions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\",\"Microsoft.Security/locations/alerts/dismiss/action\",\"Microsoft.Security/locations/alerts/activate/action\",\"Microsoft.Security/locations/tasks/dismiss/action\",\"Microsoft.Security/locations/tasks/activate/action\",\"Microsoft.Security/policies/write\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:51:23.0917487Z\",\"updatedOn\":\"2018-03-08T18:19:50.7393029Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb1c8493-542b-48eb-b624-b4c8fea62acd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb1c8493-542b-48eb-b624-b4c8fea62acd\"},{\"properties\":{\"roleName\":\"Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage security components, security policies and virtual machines\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/*/read\",\"Microsoft.ClassicCompute/virtualMachines/*/write\",\"Microsoft.ClassicNetwork/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-22T17:45:15.8986455Z\",\"updatedOn\":\"2018-03-08T18:18:48.6183620Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e3d13bf0-dd5a-482e-ba6b-9b8433878d10\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e3d13bf0-dd5a-482e-ba6b-9b8433878d10\"},{\"properties\":{\"roleName\":\"Security Reader\",\"type\":\"BuiltInRole\",\"description\":\"Security Reader Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Support/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:48:49.0516559Z\",\"updatedOn\":\"2017-05-03T18:42:54.9787380Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/39bc4728-0917-49c7-9d2c-d95423bc2eb4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"39bc4728-0917-49c7-9d2c-d95423bc2eb4\"},{\"properties\":{\"roleName\":\"Site Recovery Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Site Recovery service except vault creation and role assignment\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/*\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/*\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/*\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/*\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:46:17.4592776Z\",\"updatedOn\":\"2017-06-29T05:31:19.7240473Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6670b86e-a3f7-4917-ac9b-5d6ab1be4567\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6670b86e-a3f7-4917-ac9b-5d6ab1be4567\"},{\"properties\":{\"roleName\":\"Site Recovery Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you failover and failback but not perform other Site Recovery management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/checkConsistency/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/reassociateGateway/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/renewcertificate/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/applyRecoveryPoint/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/repairReplication/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/unplannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/updateMobilityService/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/refreshProvider/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/unplannedFailover/action\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:47:50.1341148Z\",\"updatedOn\":\"2017-06-29T05:42:27.1715639Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/494ae006-db33-4328-bf46-533a6560a3ca\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"494ae006-db33-4328-bf46-533a6560a3ca\"},{\"properties\":{\"roleName\":\"Site Recovery Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view Site Recovery status but not perform other management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/read\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:35:40.0093634Z\",\"updatedOn\":\"2017-05-26T19:54:51.3933250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/dbaa88c4-0c30-4179-9fb3-46319faa6149\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"dbaa88c4-0c30-4179-9fb3-46319faa6149\"},{\"properties\":{\"roleName\":\"SQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL databases, but not access to them. Also, you can't manage their security-related policies or their parent SQL servers.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/databases/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.1575716Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\"},{\"properties\":{\"roleName\":\"SQL Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the security-related policies of SQL servers and databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/read\",\"Microsoft.Sql/servers/databases/schemas/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/schemas/tables/read\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/firewallRules/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Sql/servers/securityAlertPolicies/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:40.2200727Z\",\"createdBy\":null,\"updatedBy\":\"yaiyun\"},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/056cd41c-7e88-42e1-933e-88ba6a50c9c3\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"056cd41c-7e88-42e1-933e-88ba6a50c9c3\"},{\"properties\":{\"roleName\":\"SQL Server Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL servers and databases, but not access to them, and not their security -related policies.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/*\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/securityAlertPolicies/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.8450730Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\"},{\"properties\":{\"roleName\":\"Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-08-21T07:43:20.3060994Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/17d1049b-9a84-46fb-8f53-869881c3d3ab\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"17d1049b-9a84-46fb-8f53-869881c3d3ab\"},{\"properties\":{\"roleName\":\"Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Storage Account Key Operators are allowed to list and regenerate keys on Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:26:11.5770570Z\",\"updatedOn\":\"2017-04-13T20:57:14.5990198Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"81a9662b-bebf-436f-a333-f67b29880f12\"},{\"properties\":{\"roleName\":\"Storage Blob Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write and delete access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:11:00.4629296Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ba92f5b4-2d11-453d-a403-e96b0029c9fe\"},{\"properties\":{\"roleName\":\"Storage Blob Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:15:19.5080840Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\"},{\"properties\":{\"roleName\":\"Storage Queue Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write, and delete access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:16:40.1371662Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/974c5e8b-45b9-4653-ba55-5f855dd0fb88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"974c5e8b-45b9-4653-ba55-5f855dd0fb88\"},{\"properties\":{\"roleName\":\"Storage Queue Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:19:30.5001463Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/19e7f393-937e-4f77-808e-94535e297925\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"19e7f393-937e-4f77-808e-94535e297925\"},{\"properties\":{\"roleName\":\"Support Request Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create and manage Support requests\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-06-22T22:25:37.8053068Z\",\"updatedOn\":\"2017-06-23T01:06:24.2399631Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\"},{\"properties\":{\"roleName\":\"Traffic Manager Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Traffic Manager profiles, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/trafficManagerProfiles/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:44.1458854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\"},{\"properties\":{\"roleName\":\"User Access Administrator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage user access to Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:24.4656640Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\"},{\"properties\":{\"roleName\":\"Virtual Machine Administrator Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as administrator\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:17:57.0514548Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/1c0163c0-47e6-4577-8991-ea5c82e286e4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"1c0163c0-47e6-4577-8991-ea5c82e286e4\"},{\"properties\":{\"roleName\":\"Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/*\",\"Microsoft.Compute/locations/*\",\"Microsoft.Compute/virtualMachines/*\",\"Microsoft.Compute/virtualMachineScaleSets/*\",\"Microsoft.DevTestLab/schedules/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/applicationGateways/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/loadBalancers/probes/join/action\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/locations/*\",\"Microsoft.Network/networkInterfaces/*\",\"Microsoft.Network/networkSecurityGroups/join/action\",\"Microsoft.Network/networkSecurityGroups/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.RecoveryServices/locations/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/write\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/write\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-11-14T03:00:30.1736393Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9980e02c-c2be-4d73-94e8-173b1dc7cf3c\"},{\"properties\":{\"roleName\":\"Virtual Machine User Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as a regular user.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:18:52.2780979Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb879df8-f326-4884-b1cf-06f3ad86be52\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb879df8-f326-4884-b1cf-06f3ad86be52\"},{\"properties\":{\"roleName\":\"Web Plan Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the web plans for websites, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/serverFarms/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:05.9401651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\"},{\"properties\":{\"roleName\":\"Website Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage websites (not web plans), but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/certificates/*\",\"Microsoft.Web/listSitesAssignedToHostName/read\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:06.5272742Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"de139f84-1756-47ae-9be6-808fbbe84772\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de?api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:07 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "ccb474ac-238e-4ca6-b476-f940a2605936", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195707Z:ccb474ac-238e-4ca6-b476-f940a2605936", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "44894d05-901e-4141-8eb7-5c5ba66e3987", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:11 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c6e6f8d6-e46d-4c85-8060-705e4bb86d1e", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195711Z:c6e6f8d6-e46d-4c85-8060-705e4bb86d1e", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "c673a180-ff08-437f-aaef-db16b0b5bd3a", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44894d05-901e-4141-8eb7-5c5ba66e3987?monitor=true&api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:28 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "907", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "051491d6-12eb-4750-b804-f8949bc28b61", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195728Z:051491d6-12eb-4750-b804-f8949bc28b61", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "31e536f6-9336-4230-9de2-784792656503", + "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"name\":\"sa22c29322de\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:57:07.3309146Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:57:07.2527139Z\",\"primaryEndpoints\":{\"blob\":\"https://sa22c29322de.blob.core.windows.net/\",\"queue\":\"https://sa22c29322de.queue.core.windows.net/\",\"table\":\"https://sa22c29322de.table.core.windows.net/\",\"file\":\"https://sa22c29322de.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de?api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:28 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "907", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e0f391a5-af65-4732-86c0-0738af44a4f0", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195728Z:e0f391a5-af65-4732-86c0-0738af44a4f0", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "aba6d670-3f42-4dc0-82b2-554f144bd7ab", + "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"name\":\"sa22c29322de\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:57:07.3309146Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:57:07.2527139Z\",\"primaryEndpoints\":{\"blob\":\"https://sa22c29322de.blob.core.windows.net/\",\"queue\":\"https://sa22c29322de.queue.core.windows.net/\",\"table\":\"https://sa22c29322de.table.core.windows.net/\",\"file\":\"https://sa22c29322de.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de/providers/Microsoft.Authorization/roleAssignments/4a9d964f-b76c-4e33-9d89-bf6f3a3d220b?api-version=2015-07-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:32 GMT", + "content-length" : "868", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-ms-request-charge" : "3", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "cb9fbbc4-091a-48e8-ba9a-1d0d552efe91", + "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195732Z:cb9fbbc4-091a-48e8-ba9a-1d0d552efe91", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8dc91423-9658-4d21-afd4-a3e5e1b7926b", + "Body" : "{\"properties\":{\"roleDefinitionId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"principalId\":\"93c27d83-f79b-4cb2-8dd4-4aa716542e74\",\"scope\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"createdOn\":\"2018-06-25T19:57:29.4073593Z\",\"updatedOn\":\"2018-06-25T19:57:29.4073593Z\",\"createdBy\":null,\"updatedBy\":\"00000000-0000-0000-0000-000000000000\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de/providers/Microsoft.Authorization/roleAssignments/4a9d964f-b76c-4e33-9d89-bf6f3a3d220b\",\"type\":\"Microsoft.Authorization/roleAssignments\",\"name\":\"4a9d964f-b76c-4e33-9d89-bf6f3a3d220b\"}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:34 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "819", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "f92e3842-bb30-4d26-848a-e6bc47ce7874", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195735Z:f92e3842-bb30-4d26-848a-e6bc47ce7874", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.220", + "x-ms-request-id" : "f92e3842-bb30-4d26-848a-e6bc47ce7874", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495\",\"name\":\"vault815130495\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"get\",\"backup\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vault815130495.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:57:34 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "820", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "1adf5245-3b25-4651-b5f7-4dfdb6608457", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195735Z:1adf5245-3b25-4651-b5f7-4dfdb6608457", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.220", + "x-ms-request-id" : "1adf5245-3b25-4651-b5f7-4dfdb6608457", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495\",\"name\":\"vault815130495\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"get\",\"backup\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vault815130495.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:05 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "815", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "52306e25-95c8-4dae-b317-fd481ae007d9", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195805Z:52306e25-95c8-4dae-b317-fd481ae007d9", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.220", + "x-ms-request-id" : "52306e25-95c8-4dae-b317-fd481ae007d9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vault815130495\",\"name\":\"vault815130495\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"get\",\"backup\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vault815130495.vault.azure.net\",\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:04 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "6e160f0b-ecec-4c4c-ac01-b1e4646c42e1", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:08 GMT", + "content-length" : "402", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "a79cd7b0-02de-472d-9854-75c1784e8b6c", + "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key1\",\"autoRegenerateKey\":true,\"regenerationPeriod\":\"P30D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956689,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://vault815130495.vault.azure.net/storage?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:11 GMT", + "content-length" : "354", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "9f18b775-7248-4516-af92-bf5d1f1e67be", + "Body" : "{\"value\":[{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956689,\"recoveryLevel\":\"Purgeable\"}}],\"nextLink\":null}" + } + }, { + "Method" : "GET", + "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:13 GMT", + "content-length" : "402", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "1afd1f24-fc5c-4214-84d5-f4a121e6f4e6", + "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key1\",\"autoRegenerateKey\":true,\"regenerationPeriod\":\"P30D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956689,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "PATCH", + "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:16 GMT", + "content-length" : "403", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "68734eec-d905-44f0-bf46-9bf5f3e2f5dd", + "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key2\",\"autoRegenerateKey\":false,\"regenerationPeriod\":\"P60D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956696,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:17 GMT", + "content-length" : "403", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "b301b119-8771-4b6b-b06a-44b0e42afd7d", + "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key2\",\"autoRegenerateKey\":false,\"regenerationPeriod\":\"P60D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956696,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "https://vault815130495.vault.azure.net/storage/sa22c29322de?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:19 GMT", + "content-length" : "403", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "99defcc1-132b-47ac-a61e-14ad418f0b4a", + "Body" : "{\"id\":\"https://vault815130495.vault.azure.netstorage/sa22c29322de\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sa22c29322de\",\"activeKeyName\":\"key2\",\"autoRegenerateKey\":false,\"regenerationPeriod\":\"P60D\",\"attributes\":{\"enabled\":true,\"created\":1529956689,\"updated\":1529956696,\"recoveryLevel\":\"Purgeable\"}}" + } + } ], + "variables" : [ "sa22c29322de", "vault815130495" ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testSetAndGetSasDefinitionForManagedStorageAccountKey.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testSetAndGetSasDefinitionForManagedStorageAccountKey.json index 7c82fe281d6d3..d9d05df48ecbb 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testSetAndGetSasDefinitionForManagedStorageAccountKey.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/testSetAndGetSasDefinitionForManagedStorageAccountKey.json @@ -1,387 +1,387 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "http://localhost:1234/%5C/providers/Microsoft.Authorization/roleDefinitions?api-version=2015-07-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:20 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "87830", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-ms-request-charge" : "1", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "2e3d66fb-4307-418a-a681-d99dfbc9ccc5", - "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", - "x-ms-ratelimit-remaining-tenant-reads" : "14999", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195820Z:2e3d66fb-4307-418a-a681-d99dfbc9ccc5", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "5a9b4103-c2e9-4a60-be83-f6322192428f", - "Body" : "{\"value\":[{\"properties\":{\"roleName\":\"AcrImageSigner\",\"type\":\"BuiltInRole\",\"description\":\"acr image signer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\",\"Microsoft.ContainerRegistry/registries/*/write\"],\"notActions\":[]}],\"createdOn\":\"2018-03-15T23:23:08.4038322Z\",\"updatedOn\":\"2018-03-17T01:25:51.8758677Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6cef56e8-d556-48e5-a04f-b8e64114680f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6cef56e8-d556-48e5-a04f-b8e64114680f\"},{\"properties\":{\"roleName\":\"AcrQuarantineReader\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data reader\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:27:39.9596835Z\",\"updatedOn\":\"2018-03-17T01:26:48.6387319Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cdda3590-29a3-44f6-95f2-9f980659eb04\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cdda3590-29a3-44f6-95f2-9f980659eb04\"},{\"properties\":{\"roleName\":\"AcrQuarantineWriter\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data writer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/write\",\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:26:37.5871820Z\",\"updatedOn\":\"2018-03-17T01:27:36.3941651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c8d4ff99-41c3-41a8-9f60-21dfdad59608\"},{\"properties\":{\"roleName\":\"API Management Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage API Management services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-01-23T23:12:00.5823195Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/312a565d-c81f-4fd8-895a-4e21e48d571c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"312a565d-c81f-4fd8-895a-4e21e48d571c\"},{\"properties\":{\"roleName\":\"API Management Service Operator Role\",\"type\":\"BuiltInRole\",\"description\":\"Can manage service but not the APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/backup/action\",\"Microsoft.ApiManagement/service/delete\",\"Microsoft.ApiManagement/service/managedeployments/action\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.ApiManagement/service/restore/action\",\"Microsoft.ApiManagement/service/updatecertificate/action\",\"Microsoft.ApiManagement/service/updatehostname/action\",\"Microsoft.ApiManagement/service/write\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:03:42.1194019Z\",\"updatedOn\":\"2016-11-18T23:56:25.4682649Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e022efe7-f5ba-4159-bbe4-b44f577e9b61\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e022efe7-f5ba-4159-bbe4-b44f577e9b61\"},{\"properties\":{\"roleName\":\"API Management Service Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Read-only access to service and APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:26:45.1540473Z\",\"updatedOn\":\"2017-01-23T23:10:34.8876776Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/71522526-b88f-4d52-b57f-d31fc3546d0d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"71522526-b88f-4d52-b57f-d31fc3546d0d\"},{\"properties\":{\"roleName\":\"Application Insights Component Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage Application Insights components\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/webtests/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-11-29T20:30:34.2313394Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ae349356-3a1b-4a5e-921d-050484c6347e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ae349356-3a1b-4a5e-921d-050484c6347e\"},{\"properties\":{\"roleName\":\"Application Insights Snapshot Debugger\",\"type\":\"BuiltInRole\",\"description\":\"Gives user permission to use Application Insights Snapshot Debugger features\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T21:25:12.3728747Z\",\"updatedOn\":\"2017-04-19T23:34:59.9511581Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/08954f03-6346-4c2e-81c0-ec3a5cfae23b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"08954f03-6346-4c2e-81c0-ec3a5cfae23b\"},{\"properties\":{\"roleName\":\"Automation Job Operator\",\"type\":\"BuiltInRole\",\"description\":\"Create and Manage Jobs using Automation Runbooks.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:52:41.0020018Z\",\"updatedOn\":\"2018-03-06T02:20:41.6886187Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4fe576fe-1146-4730-92eb-48519fa6bf9f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4fe576fe-1146-4730-92eb-48519fa6bf9f\"},{\"properties\":{\"roleName\":\"Automation Operator\",\"type\":\"BuiltInRole\",\"description\":\"Automation Operators are able to start, stop, suspend, and resume jobs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Automation/automationAccounts/jobSchedules/read\",\"Microsoft.Automation/automationAccounts/jobSchedules/write\",\"Microsoft.Automation/automationAccounts/linkedWorkspace/read\",\"Microsoft.Automation/automationAccounts/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Automation/automationAccounts/schedules/read\",\"Microsoft.Automation/automationAccounts/schedules/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Automation/automationAccounts/jobs/output/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-08-18T01:05:03.3916130Z\",\"updatedOn\":\"2018-05-10T20:12:39.6978200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d3881f73-407a-4167-8283-e981cbba0404\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d3881f73-407a-4167-8283-e981cbba0404\"},{\"properties\":{\"roleName\":\"Automation Runbook Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read Runbook properties - to be able to create Jobs of the runbook.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:47:49.5640674Z\",\"updatedOn\":\"2017-04-25T01:00:45.6444999Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\"},{\"properties\":{\"roleName\":\"Azure Stack Registration Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Azure Stack registrations.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.AzureStack/registrations/products/listDetails/action\",\"Microsoft.AzureStack/registrations/products/read\",\"Microsoft.AzureStack/registrations/read\"],\"notActions\":[]}],\"createdOn\":\"2017-11-13T23:42:06.2161827Z\",\"updatedOn\":\"2017-11-13T23:54:02.4007080Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6f12a6df-dd06-4f3e-bcb1-ce8be600526a\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6f12a6df-dd06-4f3e-bcb1-ce8be600526a\"},{\"properties\":{\"roleName\":\"Backup Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup service,but can't create vaults and give access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/*\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/certificates/*\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/*\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/Vaults/usages/*\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupSecurityPIN/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:12:15.7321344Z\",\"updatedOn\":\"2017-07-07T06:22:36.4530284Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e467623-bb1f-42f4-a55d-6e525e11384b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e467623-bb1f-42f4-a55d-6e525e11384b\"},{\"properties\":{\"roleName\":\"Backup Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup services, except removal of backup, vault creation and giving access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/backup/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/cancel/action\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/write\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/refreshContainers/action\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/write\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:21:11.8947640Z\",\"updatedOn\":\"2018-06-16T05:25:05.7455061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/00c29273-979b-4161-815c-10b084fb9324\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"00c29273-979b-4161-815c-10b084fb9324\"},{\"properties\":{\"roleName\":\"Backup Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view backup services, but can't make changes\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:18:41.3893065Z\",\"updatedOn\":\"2017-09-13T10:33:25.5814653Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a795c7a0-d4a2-40c1-ae25-d81f01202912\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a795c7a0-d4a2-40c1-ae25-d81f01202912\"},{\"properties\":{\"roleName\":\"Billing Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read billing data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Billing/*/read\",\"Microsoft.Consumption/*/read\",\"Microsoft.Commerce/*/read\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T02:13:38.9054151Z\",\"updatedOn\":\"2017-09-19T17:36:32.7624564Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\"},{\"properties\":{\"roleName\":\"BizTalk Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage BizTalk services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BizTalkServices/BizTalk/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:55.8430061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e3c6656-6cfa-4708-81fe-0de47ac73342\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e3c6656-6cfa-4708-81fe-0de47ac73342\"},{\"properties\":{\"roleName\":\"CDN Endpoint Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:52.6231539Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/426e0c7f-0c7e-4658-b36f-ff54d6c29b45\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"426e0c7f-0c7e-4658-b36f-ff54d6c29b45\"},{\"properties\":{\"roleName\":\"CDN Endpoint Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.1585846Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/871e35f6-b5c1-49cc-a043-bde969a0f2cd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"871e35f6-b5c1-49cc-a043-bde969a0f2cd\"},{\"properties\":{\"roleName\":\"CDN Profile Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN profiles and their endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.7051278Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ec156ff8-a8d1-4d15-830c-5b80698ca432\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ec156ff8-a8d1-4d15-830c-5b80698ca432\"},{\"properties\":{\"roleName\":\"CDN Profile Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN profiles and their endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:54.2283001Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8f96442b-4075-438f-813d-ad51ab4019af\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8f96442b-4075-438f-813d-ad51ab4019af\"},{\"properties\":{\"roleName\":\"Classic Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicNetwork/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.3934954Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b34d265f-36f7-4a0d-a4d4-e158ca92e90f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b34d265f-36f7-4a0d-a4d4-e158ca92e90f\"},{\"properties\":{\"roleName\":\"Classic Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.9379206Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/86e8f5dc-a6e9-4c67-9d15-de283e8eac25\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"86e8f5dc-a6e9-4c67-9d15-de283e8eac25\"},{\"properties\":{\"roleName\":\"Classic Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Classic Storage Account Key Operators are allowed to list and regenerate keys on Classic Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ClassicStorage/storageAccounts/listkeys/action\",\"Microsoft.ClassicStorage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:22:52.1461100Z\",\"updatedOn\":\"2017-04-13T20:54:03.0505986Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/985d6b00-f706-48f5-a6fe-d0ca12fb668d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"985d6b00-f706-48f5-a6fe-d0ca12fb668d\"},{\"properties\":{\"roleName\":\"Classic Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/domainNames/*\",\"Microsoft.ClassicCompute/virtualMachines/*\",\"Microsoft.ClassicNetwork/networkSecurityGroups/join/action\",\"Microsoft.ClassicNetwork/reservedIps/link/action\",\"Microsoft.ClassicNetwork/reservedIps/read\",\"Microsoft.ClassicNetwork/virtualNetworks/join/action\",\"Microsoft.ClassicNetwork/virtualNetworks/read\",\"Microsoft.ClassicStorage/storageAccounts/disks/read\",\"Microsoft.ClassicStorage/storageAccounts/images/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:57.4788684Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d73bb868-a0df-4d4d-bd69-98a00b01fccb\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d73bb868-a0df-4d4d-bd69-98a00b01fccb\"},{\"properties\":{\"roleName\":\"ClearDB MySQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage ClearDB MySQL databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"successbricks.cleardb/databases/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:58.1393839Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9106cda0-8a86-4e81-b686-29a22c54effe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9106cda0-8a86-4e81-b686-29a22c54effe\"},{\"properties\":{\"roleName\":\"Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything except access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[\"Microsoft.Authorization/*/Delete\",\"Microsoft.Authorization/*/Write\",\"Microsoft.Authorization/elevateAccess/Action\",\"Microsoft.Blueprint/blueprintAssignments/write\",\"Microsoft.Blueprint/blueprintAssignments/delete\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-05-30T19:22:32.4538167Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b24988ac-6180-42a0-ab88-20f7382dd24c\"},{\"properties\":{\"roleName\":\"Cosmos DB Account Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Can read Azure Cosmos DB Accounts data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDB/*/read\",\"Microsoft.DocumentDB/databaseAccounts/readonlykeys/action\",\"Microsoft.Insights/MetricDefinitions/read\",\"Microsoft.Insights/Metrics/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-10-30T17:53:54.6005577Z\",\"updatedOn\":\"2018-02-21T01:36:59.6186231Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fbdf93bf-df7d-467e-a4d2-9458aa1360c8\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fbdf93bf-df7d-467e-a4d2-9458aa1360c8\"},{\"properties\":{\"roleName\":\"Data Factory Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage data factories, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DataFactory/dataFactories/*\",\"Microsoft.DataFactory/factories/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-04-06T22:49:28.1118955Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/673868aa-7521-48a0-acc6-0f60742d39f5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"673868aa-7521-48a0-acc6-0f60742d39f5\"},{\"properties\":{\"roleName\":\"Data Lake Analytics Developer\",\"type\":\"BuiltInRole\",\"description\":\"Lets you submit, monitor, and manage your own jobs but not create or delete Data Lake Analytics accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BigAnalytics/accounts/*\",\"Microsoft.DataLakeAnalytics/accounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.BigAnalytics/accounts/Delete\",\"Microsoft.BigAnalytics/accounts/TakeOwnership/action\",\"Microsoft.BigAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/TakeOwnership/action\",\"Microsoft.DataLakeAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Write\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Delete\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Write\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Delete\"]}],\"createdOn\":\"2015-10-20T00:33:29.3115234Z\",\"updatedOn\":\"2017-08-18T00:00:17.0411642Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/47b7735b-770e-4598-a7da-8b91488b4c88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"47b7735b-770e-4598-a7da-8b91488b4c88\"},{\"properties\":{\"roleName\":\"Data Purger\",\"type\":\"BuiltInRole\",\"description\":\"Can purge analytics data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/components/*/read\",\"Microsoft.Insights/components/purge/action\",\"Microsoft.OperationalInsights/workspaces/*/read\",\"Microsoft.OperationalInsights/workspaces/purge/action\"],\"notActions\":[]}],\"createdOn\":\"2018-04-30T22:39:49.6167700Z\",\"updatedOn\":\"2018-04-30T22:44:15.1171162Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/150f5e0c-0603-4f03-8c7f-cf70034c4e90\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"150f5e0c-0603-4f03-8c7f-cf70034c4e90\"},{\"properties\":{\"roleName\":\"DevTest Labs User\",\"type\":\"BuiltInRole\",\"description\":\"Lets you connect, start, restart, and shutdown virtual machines in your Azure DevTest Labs.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/read\",\"Microsoft.Compute/virtualMachines/*/read\",\"Microsoft.Compute/virtualMachines/deallocate/action\",\"Microsoft.Compute/virtualMachines/read\",\"Microsoft.Compute/virtualMachines/restart/action\",\"Microsoft.Compute/virtualMachines/start/action\",\"Microsoft.DevTestLab/*/read\",\"Microsoft.DevTestLab/labs/createEnvironment/action\",\"Microsoft.DevTestLab/labs/claimAnyVm/action\",\"Microsoft.DevTestLab/labs/formulas/delete\",\"Microsoft.DevTestLab/labs/formulas/read\",\"Microsoft.DevTestLab/labs/formulas/write\",\"Microsoft.DevTestLab/labs/policySets/evaluatePolicies/action\",\"Microsoft.DevTestLab/labs/virtualMachines/claim/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/networkInterfaces/*/read\",\"Microsoft.Network/networkInterfaces/join/action\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Network/networkInterfaces/write\",\"Microsoft.Network/publicIPAddresses/*/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/deployments/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\"],\"notActions\":[\"Microsoft.Compute/virtualMachines/vmSizes/read\"]}],\"createdOn\":\"2015-06-08T21:52:45.0657582Z\",\"updatedOn\":\"2017-02-02T02:38:38.2961026Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/76283e04-6283-4c54-8f91-bcf1374a3c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"76283e04-6283-4c54-8f91-bcf1374a3c64\"},{\"properties\":{\"roleName\":\"DNS Zone Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DNS zones and record sets in Azure DNS, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/dnsZones/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:40.3710365Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/befefa01-2a29-4197-83a8-272ff33ce314\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"befefa01-2a29-4197-83a8-272ff33ce314\"},{\"properties\":{\"roleName\":\"DocumentDB Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DocumentDB accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDb/databaseAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.2132374Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5bd9cd88-fe45-4216-938b-f97437e15450\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5bd9cd88-fe45-4216-938b-f97437e15450\"},{\"properties\":{\"roleName\":\"Intelligent Systems Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Intelligent Systems accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.IntelligentSystems/accounts/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:59.7946586Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/03a6d094-3444-4b3d-88af-7477090a9e5e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"03a6d094-3444-4b3d-88af-7477090a9e5e\"},{\"properties\":{\"roleName\":\"Key Vault Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage key vaults, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.KeyVault/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.KeyVault/locations/deletedVaults/purge/action\",\"Microsoft.KeyVault/hsmPools/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-12-14T02:01:18.4641200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f25e0fa2-a7c8-4377-a976-54943a77a395\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f25e0fa2-a7c8-4377-a976-54943a77a395\"},{\"properties\":{\"roleName\":\"Lab Creator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create, manage, delete your managed labs under your Azure Lab Accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.LabServices/labAccounts/*/read\",\"Microsoft.LabServices/labAccounts/createLab/action\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2018-01-18T23:38:58.1036141Z\",\"updatedOn\":\"2018-03-08T19:53:30.3032044Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\"},{\"properties\":{\"roleName\":\"Log Analytics Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Contributor can read all monitoring data and edit monitoring settings. Editing monitoring settings includes adding the VM extension to VMs; reading storage account keys to be able to configure collection of logs from Azure Storage; creating and configuring Automation accounts; adding solutions; and configuring Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Automation/automationAccounts/*\",\"Microsoft.ClassicCompute/virtualMachines/extensions/*\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.Compute/virtualMachines/extensions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.OperationalInsights/*\",\"Microsoft.OperationsManagement/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourcegroups/deployments/*\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T21:51:45.3174711Z\",\"updatedOn\":\"2018-01-30T18:08:26.6376126Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"92aaf0da-9dab-42b6-94a3-d43ce8d16293\"},{\"properties\":{\"roleName\":\"Log Analytics Reader\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Reader can view and search all monitoring data as well as and view monitoring settings, including viewing the configuration of Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/analytics/query/action\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.OperationalInsights/workspaces/sharedKeys/read\"]}],\"createdOn\":\"2017-05-02T00:20:28.1449012Z\",\"updatedOn\":\"2018-01-30T18:08:26.0438523Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/73c42c96-874c-492b-b04d-ab87d138a893\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"73c42c96-874c-492b-b04d-ab87d138a893\"},{\"properties\":{\"roleName\":\"Logic App Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage logic app, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Insights/logdefinitions/*\",\"Microsoft.Insights/metricDefinitions/*\",\"Microsoft.Logic/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*\",\"Microsoft.Web/connections/*\",\"Microsoft.Web/customApis/*\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/functions/listSecrets/action\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:11:44.8580600Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/87a39d53-fc1b-424a-814c-f7e04687dc9e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"87a39d53-fc1b-424a-814c-f7e04687dc9e\"},{\"properties\":{\"roleName\":\"Logic App Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read, enable and disable logic app.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*/read\",\"Microsoft.Insights/diagnosticSettings/*/read\",\"Microsoft.Insights/metricDefinitions/*/read\",\"Microsoft.Logic/*/read\",\"Microsoft.Logic/workflows/disable/action\",\"Microsoft.Logic/workflows/enable/action\",\"Microsoft.Logic/workflows/validate/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*/read\",\"Microsoft.Web/connections/*/read\",\"Microsoft.Web/customApis/*/read\",\"Microsoft.Web/serverFarms/read\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:14:26.9539724Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\"},{\"properties\":{\"roleName\":\"Managed Identity Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Create, Read, Update, and Delete User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/write\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/delete\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:53:42.8804692Z\",\"updatedOn\":\"2017-12-14T22:17:02.2740594Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\"},{\"properties\":{\"roleName\":\"Managed Identity Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read and Assign User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/assign/action\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:52:04.3924594Z\",\"updatedOn\":\"2017-12-14T22:16:00.1483256Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f1a07417-d97a-45cb-824c-7a7467783830\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f1a07417-d97a-45cb-824c-7a7467783830\"},{\"properties\":{\"roleName\":\"Management Group Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Contributor Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/delete\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Management/managementGroups/subscriptions/delete\",\"Microsoft.Management/managementGroups/subscriptions/write\",\"Microsoft.Management/managementGroups/write\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:28:29.0523964Z\",\"updatedOn\":\"2018-06-22T00:29:40.3047486Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\"},{\"properties\":{\"roleName\":\"Management Group Reader\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Reader Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/read\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:31:03.4295347Z\",\"updatedOn\":\"2018-06-22T00:32:11.5701900Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ac63b705-f282-497d-ac71-919bf39d939d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ac63b705-f282-497d-ac71-919bf39d939d\"},{\"properties\":{\"roleName\":\"Monitoring Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data and update monitoring settings.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.AlertsManagement/alerts/*\",\"Microsoft.AlertsManagement/alertsSummary/*\",\"Microsoft.Insights/AlertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/DiagnosticSettings/*\",\"Microsoft.Insights/eventtypes/*\",\"Microsoft.Insights/LogDefinitions/*\",\"Microsoft.Insights/MetricDefinitions/*\",\"Microsoft.Insights/Metrics/*\",\"Microsoft.Insights/Register/Action\",\"Microsoft.Insights/webtests/*\",\"Microsoft.Insights/actiongroups/*\",\"Microsoft.Insights/metricalerts/*\",\"Microsoft.Insights/scheduledqueryrules/*\",\"Microsoft.OperationalInsights/workspaces/intelligencepacks/*\",\"Microsoft.OperationalInsights/workspaces/savedSearches/*\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.OperationalInsights/workspaces/sharedKeys/action\",\"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/*\",\"Microsoft.Support/*\",\"Microsoft.WorkloadMonitor/workloads/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:21:08.4345976Z\",\"updatedOn\":\"2018-04-02T19:04:30.9448972Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/749f88d5-cbae-40b8-bcfc-e573ddc772fa\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"749f88d5-cbae-40b8-bcfc-e573ddc772fa\"},{\"properties\":{\"roleName\":\"Monitoring Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:19:52.4939376Z\",\"updatedOn\":\"2018-01-30T18:08:27.2626250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"43d0d8ad-25c7-4714-9337-8ba259a9fe05\"},{\"properties\":{\"roleName\":\"Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2016-05-31T23:14:00.3326359Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4d97b98b-1d4f-4787-a291-c67834d212e7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4d97b98b-1d4f-4787-a291-c67834d212e7\"},{\"properties\":{\"roleName\":\"New Relic APM Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage New Relic Application Performance Management accounts and applications, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"NewRelic.APM/accounts/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.7538043Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d28c62d-5b37-4476-8438-e587778df237\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d28c62d-5b37-4476-8438-e587778df237\"},{\"properties\":{\"roleName\":\"Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything, including access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:00.9179619Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"},{\"properties\":{\"roleName\":\"PowerApps Administrator\",\"type\":\"BuiltInRole\",\"description\":\"The user has access to perform administrative actions on all PowerApps resources within the tenant.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/actions/admin/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:41.9912926Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/53be45b2-ad40-43ab-bc1f-2c962ac99ded\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"53be45b2-ad40-43ab-bc1f-2c962ac99ded\"},{\"properties\":{\"roleName\":\"PowerAppsReaderWithReshare\",\"type\":\"BuiltInRole\",\"description\":\"PowerAppsReadersWithReshare can use the resource and re-share it with other users, but cannot edit the resource or re-share it with edit permissions.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/*/permissions/write\",\"Microsoft.PowerApps/*/read\"],\"notActions\":[\"Microsoft.PowerApps/*/delete\",\"Microsoft.PowerApps/*/write\"]}],\"createdOn\":\"2016-03-15T00:55:03.0666416Z\",\"updatedOn\":\"2016-05-31T23:14:09.6924345Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6877c72c-edd3-4048-9b4b-cf8e514477b0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6877c72c-edd3-4048-9b4b-cf8e514477b0\"},{\"properties\":{\"roleName\":\"Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything, but not make any changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:25.4031403Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"acdd72a7-3385-48ef-bd42-f606fba81ae7\"},{\"properties\":{\"roleName\":\"Reader and Data Access\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything but will not let you delete or create a storage account or contained resource. It will also allow read/write access to all data contained in a storage account via access to storage account keys.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-27T23:20:46.1498906Z\",\"updatedOn\":\"2018-03-28T17:50:03.9656854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c12c1c16-33a1-487b-954d-41c89c60f349\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c12c1c16-33a1-487b-954d-41c89c60f349\"},{\"properties\":{\"roleName\":\"Redis Cache Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Redis caches, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cache/redis/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:01.9877071Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e0f68234-74aa-48ed-b826-c38b57376e17\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e0f68234-74aa-48ed-b826-c38b57376e17\"},{\"properties\":{\"roleName\":\"Resource Policy Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"(Preview) Backfilled users from EA, with rights to create/modify resource policy, create support ticket and read resources/hierarchy.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/policyassignments/*\",\"Microsoft.Authorization/policydefinitions/*\",\"Microsoft.Authorization/policysetdefinitions/*\",\"Microsoft.PolicyInsights/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-08-25T19:08:01.3861639Z\",\"updatedOn\":\"2018-01-30T18:08:27.8272264Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/36243c78-bf99-498c-9df9-86d9f8d28608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"36243c78-bf99-498c-9df9-86d9f8d28608\"},{\"properties\":{\"roleName\":\"Scheduler Job Collections Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Scheduler job collections, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Scheduler/jobcollections/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:02.5343995Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/188a0f2f-5c9e-469b-ae67-2aa5ce574b94\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"188a0f2f-5c9e-469b-ae67-2aa5ce574b94\"},{\"properties\":{\"roleName\":\"Search Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Search services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Search/searchServices/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:03.0463472Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/7ca78c08-252a-4471-8644-bb5ff32d4ba0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"7ca78c08-252a-4471-8644-bb5ff32d4ba0\"},{\"properties\":{\"roleName\":\"Security Admin\",\"type\":\"BuiltInRole\",\"description\":\"Security Admin Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Authorization/policyAssignments/*\",\"Microsoft.Authorization/policyDefinitions/*\",\"Microsoft.Authorization/policySetDefinitions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\",\"Microsoft.Security/locations/alerts/dismiss/action\",\"Microsoft.Security/locations/alerts/activate/action\",\"Microsoft.Security/locations/tasks/dismiss/action\",\"Microsoft.Security/locations/tasks/activate/action\",\"Microsoft.Security/policies/write\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:51:23.0917487Z\",\"updatedOn\":\"2018-03-08T18:19:50.7393029Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb1c8493-542b-48eb-b624-b4c8fea62acd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb1c8493-542b-48eb-b624-b4c8fea62acd\"},{\"properties\":{\"roleName\":\"Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage security components, security policies and virtual machines\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/*/read\",\"Microsoft.ClassicCompute/virtualMachines/*/write\",\"Microsoft.ClassicNetwork/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-22T17:45:15.8986455Z\",\"updatedOn\":\"2018-03-08T18:18:48.6183620Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e3d13bf0-dd5a-482e-ba6b-9b8433878d10\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e3d13bf0-dd5a-482e-ba6b-9b8433878d10\"},{\"properties\":{\"roleName\":\"Security Reader\",\"type\":\"BuiltInRole\",\"description\":\"Security Reader Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Support/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:48:49.0516559Z\",\"updatedOn\":\"2017-05-03T18:42:54.9787380Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/39bc4728-0917-49c7-9d2c-d95423bc2eb4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"39bc4728-0917-49c7-9d2c-d95423bc2eb4\"},{\"properties\":{\"roleName\":\"Site Recovery Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Site Recovery service except vault creation and role assignment\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/*\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/*\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/*\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/*\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:46:17.4592776Z\",\"updatedOn\":\"2017-06-29T05:31:19.7240473Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6670b86e-a3f7-4917-ac9b-5d6ab1be4567\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6670b86e-a3f7-4917-ac9b-5d6ab1be4567\"},{\"properties\":{\"roleName\":\"Site Recovery Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you failover and failback but not perform other Site Recovery management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/checkConsistency/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/reassociateGateway/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/renewcertificate/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/applyRecoveryPoint/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/repairReplication/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/unplannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/updateMobilityService/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/refreshProvider/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/unplannedFailover/action\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:47:50.1341148Z\",\"updatedOn\":\"2017-06-29T05:42:27.1715639Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/494ae006-db33-4328-bf46-533a6560a3ca\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"494ae006-db33-4328-bf46-533a6560a3ca\"},{\"properties\":{\"roleName\":\"Site Recovery Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view Site Recovery status but not perform other management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/read\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:35:40.0093634Z\",\"updatedOn\":\"2017-05-26T19:54:51.3933250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/dbaa88c4-0c30-4179-9fb3-46319faa6149\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"dbaa88c4-0c30-4179-9fb3-46319faa6149\"},{\"properties\":{\"roleName\":\"SQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL databases, but not access to them. Also, you can't manage their security-related policies or their parent SQL servers.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/databases/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.1575716Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\"},{\"properties\":{\"roleName\":\"SQL Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the security-related policies of SQL servers and databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/read\",\"Microsoft.Sql/servers/databases/schemas/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/schemas/tables/read\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/firewallRules/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Sql/servers/securityAlertPolicies/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:40.2200727Z\",\"createdBy\":null,\"updatedBy\":\"yaiyun\"},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/056cd41c-7e88-42e1-933e-88ba6a50c9c3\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"056cd41c-7e88-42e1-933e-88ba6a50c9c3\"},{\"properties\":{\"roleName\":\"SQL Server Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL servers and databases, but not access to them, and not their security -related policies.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/*\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/securityAlertPolicies/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.8450730Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\"},{\"properties\":{\"roleName\":\"Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-08-21T07:43:20.3060994Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/17d1049b-9a84-46fb-8f53-869881c3d3ab\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"17d1049b-9a84-46fb-8f53-869881c3d3ab\"},{\"properties\":{\"roleName\":\"Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Storage Account Key Operators are allowed to list and regenerate keys on Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:26:11.5770570Z\",\"updatedOn\":\"2017-04-13T20:57:14.5990198Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"81a9662b-bebf-436f-a333-f67b29880f12\"},{\"properties\":{\"roleName\":\"Storage Blob Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write and delete access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:11:00.4629296Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ba92f5b4-2d11-453d-a403-e96b0029c9fe\"},{\"properties\":{\"roleName\":\"Storage Blob Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:15:19.5080840Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\"},{\"properties\":{\"roleName\":\"Storage Queue Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write, and delete access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:16:40.1371662Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/974c5e8b-45b9-4653-ba55-5f855dd0fb88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"974c5e8b-45b9-4653-ba55-5f855dd0fb88\"},{\"properties\":{\"roleName\":\"Storage Queue Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:19:30.5001463Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/19e7f393-937e-4f77-808e-94535e297925\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"19e7f393-937e-4f77-808e-94535e297925\"},{\"properties\":{\"roleName\":\"Support Request Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create and manage Support requests\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-06-22T22:25:37.8053068Z\",\"updatedOn\":\"2017-06-23T01:06:24.2399631Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\"},{\"properties\":{\"roleName\":\"Traffic Manager Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Traffic Manager profiles, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/trafficManagerProfiles/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:44.1458854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\"},{\"properties\":{\"roleName\":\"User Access Administrator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage user access to Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:24.4656640Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\"},{\"properties\":{\"roleName\":\"Virtual Machine Administrator Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as administrator\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:17:57.0514548Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/1c0163c0-47e6-4577-8991-ea5c82e286e4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"1c0163c0-47e6-4577-8991-ea5c82e286e4\"},{\"properties\":{\"roleName\":\"Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/*\",\"Microsoft.Compute/locations/*\",\"Microsoft.Compute/virtualMachines/*\",\"Microsoft.Compute/virtualMachineScaleSets/*\",\"Microsoft.DevTestLab/schedules/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/applicationGateways/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/loadBalancers/probes/join/action\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/locations/*\",\"Microsoft.Network/networkInterfaces/*\",\"Microsoft.Network/networkSecurityGroups/join/action\",\"Microsoft.Network/networkSecurityGroups/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.RecoveryServices/locations/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/write\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/write\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-11-14T03:00:30.1736393Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9980e02c-c2be-4d73-94e8-173b1dc7cf3c\"},{\"properties\":{\"roleName\":\"Virtual Machine User Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as a regular user.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:18:52.2780979Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb879df8-f326-4884-b1cf-06f3ad86be52\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb879df8-f326-4884-b1cf-06f3ad86be52\"},{\"properties\":{\"roleName\":\"Web Plan Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the web plans for websites, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/serverFarms/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:05.9401651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\"},{\"properties\":{\"roleName\":\"Website Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage websites (not web plans), but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/certificates/*\",\"Microsoft.Web/listSitesAssignedToHostName/read\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:06.5272742Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"de139f84-1756-47ae-9be6-808fbbe84772\"}]}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a?api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:24 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", - "retry-after" : "0", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "e5de8f47-33bc-472b-a11d-7a8964817561", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195824Z:e5de8f47-33bc-472b-a11d-7a8964817561", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "e73eb155-6b04-4c13-a038-fb14f536dc7f", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:24 GMT", - "content-length" : "0", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "expires" : "-1", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14999", - "StatusCode" : "202", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "68b2d90c-a954-494c-9d32-0bfdbee0e8bc", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195825Z:68b2d90c-a954-494c-9d32-0bfdbee0e8bc", - "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", - "cache-control" : "no-cache", - "x-ms-request-id" : "1240f427-9d11-463a-a85f-490db6502844", - "Body" : "" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:41 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "907", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14998", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c78d072c-6b8d-4bf5-8177-a9e692ecbe3a", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195842Z:c78d072c-6b8d-4bf5-8177-a9e692ecbe3a", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "567cf13f-dbec-4f2c-bfaf-c4ff1ffac9be", - "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"name\":\"sabc0663752a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:58:23.9216529Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:58:23.8747773Z\",\"primaryEndpoints\":{\"blob\":\"https://sabc0663752a.blob.core.windows.net/\",\"queue\":\"https://sabc0663752a.queue.core.windows.net/\",\"table\":\"https://sabc0663752a.table.core.windows.net/\",\"file\":\"https://sabc0663752a.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a?api-version=2016-01-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:41 GMT", - "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", - "content-length" : "907", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14997", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "8cb1cbb4-b925-4e0c-b8a3-e885b6318900", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195842Z:8cb1cbb4-b925-4e0c-b8a3-e885b6318900", - "content-type" : "application/json", - "cache-control" : "no-cache", - "x-ms-request-id" : "9cefcf44-5a0e-4af1-ab37-15c9418ee90e", - "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"name\":\"sabc0663752a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:58:23.9216529Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:58:23.8747773Z\",\"primaryEndpoints\":{\"blob\":\"https://sabc0663752a.blob.core.windows.net/\",\"queue\":\"https://sabc0663752a.queue.core.windows.net/\",\"table\":\"https://sabc0663752a.table.core.windows.net/\",\"file\":\"https://sabc0663752a.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a/providers/Microsoft.Authorization/roleAssignments/8a6fc5ba-7601-4071-954a-adbce7cae7ae?api-version=2015-07-01", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:45 GMT", - "content-length" : "868", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-ms-request-charge" : "4", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", - "retry-after" : "0", - "StatusCode" : "201", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "d68d4fec-0d68-4d87-bb87-44e3200af560", - "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195846Z:d68d4fec-0d68-4d87-bb87-44e3200af560", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-request-id" : "0c8dd70b-7635-49cf-bf47-33b86ef40d4d", - "Body" : "{\"properties\":{\"roleDefinitionId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"principalId\":\"93c27d83-f79b-4cb2-8dd4-4aa716542e74\",\"scope\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"createdOn\":\"2018-06-25T19:58:43.1732809Z\",\"updatedOn\":\"2018-06-25T19:58:43.1732809Z\",\"createdBy\":null,\"updatedBy\":\"00000000-0000-0000-0000-000000000000\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a/providers/Microsoft.Authorization/roleAssignments/8a6fc5ba-7601-4071-954a-adbce7cae7ae\",\"type\":\"Microsoft.Authorization/roleAssignments\",\"name\":\"8a6fc5ba-7601-4071-954a-adbce7cae7ae\"}" - } - }, { - "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:48 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "819", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c035050b-b12c-4c27-ae83-45973bc26a05", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195848Z:c035050b-b12c-4c27-ae83-45973bc26a05", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.220", - "x-ms-request-id" : "c035050b-b12c-4c27-ae83-45973bc26a05", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b\",\"name\":\"vaultff052787b\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vaultff052787b.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:58:48 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "820", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14996", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "c664c3a5-a6c4-42ea-99bd-816c1ad1d38c", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195849Z:c664c3a5-a6c4-42ea-99bd-816c1ad1d38c", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.220", - "x-ms-request-id" : "c664c3a5-a6c4-42ea-99bd-816c1ad1d38c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b\",\"name\":\"vaultff052787b\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vaultff052787b.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" - } - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b?api-version=2018-02-14-preview", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:59:18 GMT", - "server" : "Microsoft-IIS/10.0", - "content-length" : "815", - "expires" : "-1", - "transfer-encoding" : "chunked", - "vary" : "Accept-Encoding", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "14995", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000; includeSubDomains", - "x-ms-correlation-request-id" : "60590e31-79a4-4d91-9f3a-313ca1ba63cb", - "x-content-type-options" : "nosniff", - "x-ms-routing-request-id" : "WESTUS2:20180625T195919Z:60590e31-79a4-4d91-9f3a-313ca1ba63cb", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.220", - "x-ms-request-id" : "60590e31-79a4-4d91-9f3a-313ca1ba63cb", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b\",\"name\":\"vaultff052787b\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vaultff052787b.vault.azure.net\",\"provisioningState\":\"Succeeded\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:59:19 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "0fa52602-294f-43f3-b67b-9b1be9fc3a87", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:59:23 GMT", - "content-length" : "402", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "67d92322-06a9-4c79-ac8b-98c69730f823", - "Body" : "{\"id\":\"https://vaultff052787b.vault.azure.netstorage/sabc0663752a\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"activeKeyName\":\"key1\",\"autoRegenerateKey\":true,\"regenerationPeriod\":\"P30D\",\"attributes\":{\"enabled\":true,\"created\":1529956764,\"updated\":1529956764,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a/sas/acctall?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:59:28 GMT", - "content-length" : "437", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "0e5c6915-c1d1-4758-b748-fc7494b485bb", - "Body" : "{\"id\":\"https://vaultff052787b.vault.azure.netstorage/sabc0663752a/sas/acctall\",\"sid\":\"https://vaultff052787b.vault.azure.netsecrets/sabc0663752a-acctall\",\"templateUri\":\"ss=bfqt&sig=Seeukj2J9YdffimRILCDhU3S8GXMcPkD8fRG8LlWIJA%3D&se=2020-01-01T08%3A00%3A00Z&sv=2015-12-11&srt=sco&sp=racwdlup\",\"sasType\":\"account\",\"validityPeriod\":\"PT2H\",\"attributes\":{\"enabled\":true,\"created\":1529956768,\"updated\":1529956768,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://vaultff052787b.vault.azure.net/secrets/sabc0663752a-acctall/?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:59:29 GMT", - "content-length" : "354", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "fce2b47a-f96b-4e2c-8826-919870e1e6ec", - "Body" : "{\"value\":\"?sv=2015-12-11&ss=bfqt&srt=sco&sp=racwdlup&se=2018-06-25T21:59:30Z&sig=OntGT2YbqwSlM7LJtg%2F%2FZLOb26TDmeZys%2Bzra%2BIeGIM%3D\",\"contentType\":\"application/vnd.ms-sastoken-storage\",\"id\":\"https://vaultff052787b.vault.azure.netsecrets/sabc0663752a-acctall\",\"managed\":true,\"attributes\":{\"enabled\":true,\"exp\":1529963970,\"recoveryLevel\":\"Purgeable\"}}" - } - }, { - "Method" : "GET", - "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a/sas/acctall?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Mon, 25 Jun 2018 19:59:32 GMT", - "content-length" : "437", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westcentralus", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.0.0.852", - "x-ms-request-id" : "db46158a-0ba5-4f35-9f44-26f1abb29069", - "Body" : "{\"id\":\"https://vaultff052787b.vault.azure.netstorage/sabc0663752a/sas/acctall\",\"sid\":\"https://vaultff052787b.vault.azure.netsecrets/sabc0663752a-acctall\",\"templateUri\":\"ss=bfqt&sig=Seeukj2J9YdffimRILCDhU3S8GXMcPkD8fRG8LlWIJA%3D&se=2020-01-01T08%3A00%3A00Z&sv=2015-12-11&srt=sco&sp=racwdlup\",\"sasType\":\"account\",\"validityPeriod\":\"PT2H\",\"attributes\":{\"enabled\":true,\"created\":1529956768,\"updated\":1529956768,\"recoveryLevel\":\"Purgeable\"}}" - } - } ], - "variables" : [ "sabc0663752a", "vaultff052787b" ] +{ + "networkCallRecords" : [ { + "Method" : "GET", + "Uri" : "http://localhost:1234/%5C/providers/Microsoft.Authorization/roleDefinitions?api-version=2015-07-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:20 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "87830", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-ms-request-charge" : "1", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "2e3d66fb-4307-418a-a681-d99dfbc9ccc5", + "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", + "x-ms-ratelimit-remaining-tenant-reads" : "14999", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195820Z:2e3d66fb-4307-418a-a681-d99dfbc9ccc5", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5a9b4103-c2e9-4a60-be83-f6322192428f", + "Body" : "{\"value\":[{\"properties\":{\"roleName\":\"AcrImageSigner\",\"type\":\"BuiltInRole\",\"description\":\"acr image signer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\",\"Microsoft.ContainerRegistry/registries/*/write\"],\"notActions\":[]}],\"createdOn\":\"2018-03-15T23:23:08.4038322Z\",\"updatedOn\":\"2018-03-17T01:25:51.8758677Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6cef56e8-d556-48e5-a04f-b8e64114680f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6cef56e8-d556-48e5-a04f-b8e64114680f\"},{\"properties\":{\"roleName\":\"AcrQuarantineReader\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data reader\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:27:39.9596835Z\",\"updatedOn\":\"2018-03-17T01:26:48.6387319Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cdda3590-29a3-44f6-95f2-9f980659eb04\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cdda3590-29a3-44f6-95f2-9f980659eb04\"},{\"properties\":{\"roleName\":\"AcrQuarantineWriter\",\"type\":\"BuiltInRole\",\"description\":\"acr quarantine data writer\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ContainerRegistry/registries/*/write\",\"Microsoft.ContainerRegistry/registries/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-16T00:26:37.5871820Z\",\"updatedOn\":\"2018-03-17T01:27:36.3941651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c8d4ff99-41c3-41a8-9f60-21dfdad59608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c8d4ff99-41c3-41a8-9f60-21dfdad59608\"},{\"properties\":{\"roleName\":\"API Management Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage API Management services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-01-23T23:12:00.5823195Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/312a565d-c81f-4fd8-895a-4e21e48d571c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"312a565d-c81f-4fd8-895a-4e21e48d571c\"},{\"properties\":{\"roleName\":\"API Management Service Operator Role\",\"type\":\"BuiltInRole\",\"description\":\"Can manage service but not the APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/backup/action\",\"Microsoft.ApiManagement/service/delete\",\"Microsoft.ApiManagement/service/managedeployments/action\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.ApiManagement/service/restore/action\",\"Microsoft.ApiManagement/service/updatecertificate/action\",\"Microsoft.ApiManagement/service/updatehostname/action\",\"Microsoft.ApiManagement/service/write\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:03:42.1194019Z\",\"updatedOn\":\"2016-11-18T23:56:25.4682649Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e022efe7-f5ba-4159-bbe4-b44f577e9b61\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e022efe7-f5ba-4159-bbe4-b44f577e9b61\"},{\"properties\":{\"roleName\":\"API Management Service Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Read-only access to service and APIs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ApiManagement/service/*/read\",\"Microsoft.ApiManagement/service/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.ApiManagement/service/users/keys/read\"]}],\"createdOn\":\"2016-11-09T00:26:45.1540473Z\",\"updatedOn\":\"2017-01-23T23:10:34.8876776Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/71522526-b88f-4d52-b57f-d31fc3546d0d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"71522526-b88f-4d52-b57f-d31fc3546d0d\"},{\"properties\":{\"roleName\":\"Application Insights Component Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage Application Insights components\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/webtests/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-11-29T20:30:34.2313394Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ae349356-3a1b-4a5e-921d-050484c6347e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ae349356-3a1b-4a5e-921d-050484c6347e\"},{\"properties\":{\"roleName\":\"Application Insights Snapshot Debugger\",\"type\":\"BuiltInRole\",\"description\":\"Gives user permission to use Application Insights Snapshot Debugger features\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T21:25:12.3728747Z\",\"updatedOn\":\"2017-04-19T23:34:59.9511581Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/08954f03-6346-4c2e-81c0-ec3a5cfae23b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"08954f03-6346-4c2e-81c0-ec3a5cfae23b\"},{\"properties\":{\"roleName\":\"Automation Job Operator\",\"type\":\"BuiltInRole\",\"description\":\"Create and Manage Jobs using Automation Runbooks.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:52:41.0020018Z\",\"updatedOn\":\"2018-03-06T02:20:41.6886187Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4fe576fe-1146-4730-92eb-48519fa6bf9f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4fe576fe-1146-4730-92eb-48519fa6bf9f\"},{\"properties\":{\"roleName\":\"Automation Operator\",\"type\":\"BuiltInRole\",\"description\":\"Automation Operators are able to start, stop, suspend, and resume jobs\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/hybridRunbookWorkerGroups/read\",\"Microsoft.Automation/automationAccounts/jobs/read\",\"Microsoft.Automation/automationAccounts/jobs/resume/action\",\"Microsoft.Automation/automationAccounts/jobs/stop/action\",\"Microsoft.Automation/automationAccounts/jobs/streams/read\",\"Microsoft.Automation/automationAccounts/jobs/suspend/action\",\"Microsoft.Automation/automationAccounts/jobs/write\",\"Microsoft.Automation/automationAccounts/jobSchedules/read\",\"Microsoft.Automation/automationAccounts/jobSchedules/write\",\"Microsoft.Automation/automationAccounts/linkedWorkspace/read\",\"Microsoft.Automation/automationAccounts/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Automation/automationAccounts/schedules/read\",\"Microsoft.Automation/automationAccounts/schedules/write\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Automation/automationAccounts/jobs/output/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-08-18T01:05:03.3916130Z\",\"updatedOn\":\"2018-05-10T20:12:39.6978200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d3881f73-407a-4167-8283-e981cbba0404\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d3881f73-407a-4167-8283-e981cbba0404\"},{\"properties\":{\"roleName\":\"Automation Runbook Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read Runbook properties - to be able to create Jobs of the runbook.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Automation/automationAccounts/runbooks/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-19T20:47:49.5640674Z\",\"updatedOn\":\"2017-04-25T01:00:45.6444999Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5fb5aef8-1081-4b8e-bb16-9d5d0385bab5\"},{\"properties\":{\"roleName\":\"Azure Stack Registration Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Azure Stack registrations.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.AzureStack/registrations/products/listDetails/action\",\"Microsoft.AzureStack/registrations/products/read\",\"Microsoft.AzureStack/registrations/read\"],\"notActions\":[]}],\"createdOn\":\"2017-11-13T23:42:06.2161827Z\",\"updatedOn\":\"2017-11-13T23:54:02.4007080Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6f12a6df-dd06-4f3e-bcb1-ce8be600526a\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6f12a6df-dd06-4f3e-bcb1-ce8be600526a\"},{\"properties\":{\"roleName\":\"Backup Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup service,but can't create vaults and give access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/*\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/*\",\"Microsoft.RecoveryServices/Vaults/certificates/*\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/*\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/Vaults/usages/*\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupSecurityPIN/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:12:15.7321344Z\",\"updatedOn\":\"2017-07-07T06:22:36.4530284Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e467623-bb1f-42f4-a55d-6e525e11384b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e467623-bb1f-42f4-a55d-6e525e11384b\"},{\"properties\":{\"roleName\":\"Backup Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage backup services, except removal of backup, vault creation and giving access to others\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/backup/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/provisionInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/revokeInstantItemRecovery/action\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/*\",\"Microsoft.RecoveryServices/Vaults/backupJobs/cancel/action\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/*\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/*\",\"Microsoft.RecoveryServices/Vaults/backupProtectableItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/write\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/refreshContainers/action\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/write\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:21:11.8947640Z\",\"updatedOn\":\"2018-06-16T05:25:05.7455061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/00c29273-979b-4161-815c-10b084fb9324\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"00c29273-979b-4161-815c-10b084fb9324\"},{\"properties\":{\"roleName\":\"Backup Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view backup services, but can't make changes\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/operationsStatus/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupJobs/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/action\",\"Microsoft.RecoveryServices/Vaults/backupManagementMetaData/read\",\"Microsoft.RecoveryServices/Vaults/backupOperationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupProtectionContainers/read\",\"Microsoft.RecoveryServices/Vaults/backupUsageSummaries/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/backupconfig/vaultconfig/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/Vaults/backupJobsExport/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\"],\"notActions\":[]}],\"createdOn\":\"2017-01-03T13:18:41.3893065Z\",\"updatedOn\":\"2017-09-13T10:33:25.5814653Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a795c7a0-d4a2-40c1-ae25-d81f01202912\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a795c7a0-d4a2-40c1-ae25-d81f01202912\"},{\"properties\":{\"roleName\":\"Billing Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read billing data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Billing/*/read\",\"Microsoft.Consumption/*/read\",\"Microsoft.Commerce/*/read\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T02:13:38.9054151Z\",\"updatedOn\":\"2017-09-19T17:36:32.7624564Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fa23ad8b-c56e-40d8-ac0c-ce449e1d2c64\"},{\"properties\":{\"roleName\":\"BizTalk Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage BizTalk services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BizTalkServices/BizTalk/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:55.8430061Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5e3c6656-6cfa-4708-81fe-0de47ac73342\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5e3c6656-6cfa-4708-81fe-0de47ac73342\"},{\"properties\":{\"roleName\":\"CDN Endpoint Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:52.6231539Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/426e0c7f-0c7e-4658-b36f-ff54d6c29b45\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"426e0c7f-0c7e-4658-b36f-ff54d6c29b45\"},{\"properties\":{\"roleName\":\"CDN Endpoint Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/endpoints/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.1585846Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/871e35f6-b5c1-49cc-a043-bde969a0f2cd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"871e35f6-b5c1-49cc-a043-bde969a0f2cd\"},{\"properties\":{\"roleName\":\"CDN Profile Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can manage CDN profiles and their endpoints, but can’t grant access to other users.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:53.7051278Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ec156ff8-a8d1-4d15-830c-5b80698ca432\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ec156ff8-a8d1-4d15-830c-5b80698ca432\"},{\"properties\":{\"roleName\":\"CDN Profile Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can view CDN profiles and their endpoints, but can’t make changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cdn/edgenodes/read\",\"Microsoft.Cdn/operationresults/*\",\"Microsoft.Cdn/profiles/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-01-23T02:48:46.4996252Z\",\"updatedOn\":\"2016-05-31T23:13:54.2283001Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8f96442b-4075-438f-813d-ad51ab4019af\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8f96442b-4075-438f-813d-ad51ab4019af\"},{\"properties\":{\"roleName\":\"Classic Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicNetwork/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.3934954Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b34d265f-36f7-4a0d-a4d4-e158ca92e90f\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b34d265f-36f7-4a0d-a4d4-e158ca92e90f\"},{\"properties\":{\"roleName\":\"Classic Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:56.9379206Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/86e8f5dc-a6e9-4c67-9d15-de283e8eac25\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"86e8f5dc-a6e9-4c67-9d15-de283e8eac25\"},{\"properties\":{\"roleName\":\"Classic Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Classic Storage Account Key Operators are allowed to list and regenerate keys on Classic Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ClassicStorage/storageAccounts/listkeys/action\",\"Microsoft.ClassicStorage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:22:52.1461100Z\",\"updatedOn\":\"2017-04-13T20:54:03.0505986Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/985d6b00-f706-48f5-a6fe-d0ca12fb668d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"985d6b00-f706-48f5-a6fe-d0ca12fb668d\"},{\"properties\":{\"roleName\":\"Classic Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage classic virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/domainNames/*\",\"Microsoft.ClassicCompute/virtualMachines/*\",\"Microsoft.ClassicNetwork/networkSecurityGroups/join/action\",\"Microsoft.ClassicNetwork/reservedIps/link/action\",\"Microsoft.ClassicNetwork/reservedIps/read\",\"Microsoft.ClassicNetwork/virtualNetworks/join/action\",\"Microsoft.ClassicNetwork/virtualNetworks/read\",\"Microsoft.ClassicStorage/storageAccounts/disks/read\",\"Microsoft.ClassicStorage/storageAccounts/images/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:57.4788684Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/d73bb868-a0df-4d4d-bd69-98a00b01fccb\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"d73bb868-a0df-4d4d-bd69-98a00b01fccb\"},{\"properties\":{\"roleName\":\"ClearDB MySQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage ClearDB MySQL databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"successbricks.cleardb/databases/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:58.1393839Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9106cda0-8a86-4e81-b686-29a22c54effe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9106cda0-8a86-4e81-b686-29a22c54effe\"},{\"properties\":{\"roleName\":\"Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything except access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[\"Microsoft.Authorization/*/Delete\",\"Microsoft.Authorization/*/Write\",\"Microsoft.Authorization/elevateAccess/Action\",\"Microsoft.Blueprint/blueprintAssignments/write\",\"Microsoft.Blueprint/blueprintAssignments/delete\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-05-30T19:22:32.4538167Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b24988ac-6180-42a0-ab88-20f7382dd24c\"},{\"properties\":{\"roleName\":\"Cosmos DB Account Reader Role\",\"type\":\"BuiltInRole\",\"description\":\"Can read Azure Cosmos DB Accounts data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDB/*/read\",\"Microsoft.DocumentDB/databaseAccounts/readonlykeys/action\",\"Microsoft.Insights/MetricDefinitions/read\",\"Microsoft.Insights/Metrics/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-10-30T17:53:54.6005577Z\",\"updatedOn\":\"2018-02-21T01:36:59.6186231Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fbdf93bf-df7d-467e-a4d2-9458aa1360c8\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fbdf93bf-df7d-467e-a4d2-9458aa1360c8\"},{\"properties\":{\"roleName\":\"Data Factory Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage data factories, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DataFactory/dataFactories/*\",\"Microsoft.DataFactory/factories/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-04-06T22:49:28.1118955Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/673868aa-7521-48a0-acc6-0f60742d39f5\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"673868aa-7521-48a0-acc6-0f60742d39f5\"},{\"properties\":{\"roleName\":\"Data Lake Analytics Developer\",\"type\":\"BuiltInRole\",\"description\":\"Lets you submit, monitor, and manage your own jobs but not create or delete Data Lake Analytics accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.BigAnalytics/accounts/*\",\"Microsoft.DataLakeAnalytics/accounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.BigAnalytics/accounts/Delete\",\"Microsoft.BigAnalytics/accounts/TakeOwnership/action\",\"Microsoft.BigAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/TakeOwnership/action\",\"Microsoft.DataLakeAnalytics/accounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/dataLakeStoreAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Write\",\"Microsoft.DataLakeAnalytics/accounts/storageAccounts/Delete\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Write\",\"Microsoft.DataLakeAnalytics/accounts/firewallRules/Delete\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Write\",\"Microsoft.DataLakeAnalytics/accounts/computePolicies/Delete\"]}],\"createdOn\":\"2015-10-20T00:33:29.3115234Z\",\"updatedOn\":\"2017-08-18T00:00:17.0411642Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/47b7735b-770e-4598-a7da-8b91488b4c88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"47b7735b-770e-4598-a7da-8b91488b4c88\"},{\"properties\":{\"roleName\":\"Data Purger\",\"type\":\"BuiltInRole\",\"description\":\"Can purge analytics data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/components/*/read\",\"Microsoft.Insights/components/purge/action\",\"Microsoft.OperationalInsights/workspaces/*/read\",\"Microsoft.OperationalInsights/workspaces/purge/action\"],\"notActions\":[]}],\"createdOn\":\"2018-04-30T22:39:49.6167700Z\",\"updatedOn\":\"2018-04-30T22:44:15.1171162Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/150f5e0c-0603-4f03-8c7f-cf70034c4e90\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"150f5e0c-0603-4f03-8c7f-cf70034c4e90\"},{\"properties\":{\"roleName\":\"DevTest Labs User\",\"type\":\"BuiltInRole\",\"description\":\"Lets you connect, start, restart, and shutdown virtual machines in your Azure DevTest Labs.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/read\",\"Microsoft.Compute/virtualMachines/*/read\",\"Microsoft.Compute/virtualMachines/deallocate/action\",\"Microsoft.Compute/virtualMachines/read\",\"Microsoft.Compute/virtualMachines/restart/action\",\"Microsoft.Compute/virtualMachines/start/action\",\"Microsoft.DevTestLab/*/read\",\"Microsoft.DevTestLab/labs/createEnvironment/action\",\"Microsoft.DevTestLab/labs/claimAnyVm/action\",\"Microsoft.DevTestLab/labs/formulas/delete\",\"Microsoft.DevTestLab/labs/formulas/read\",\"Microsoft.DevTestLab/labs/formulas/write\",\"Microsoft.DevTestLab/labs/policySets/evaluatePolicies/action\",\"Microsoft.DevTestLab/labs/virtualMachines/claim/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/networkInterfaces/*/read\",\"Microsoft.Network/networkInterfaces/join/action\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Network/networkInterfaces/write\",\"Microsoft.Network/publicIPAddresses/*/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/deployments/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\"],\"notActions\":[\"Microsoft.Compute/virtualMachines/vmSizes/read\"]}],\"createdOn\":\"2015-06-08T21:52:45.0657582Z\",\"updatedOn\":\"2017-02-02T02:38:38.2961026Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/76283e04-6283-4c54-8f91-bcf1374a3c64\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"76283e04-6283-4c54-8f91-bcf1374a3c64\"},{\"properties\":{\"roleName\":\"DNS Zone Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DNS zones and record sets in Azure DNS, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/dnsZones/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:40.3710365Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/befefa01-2a29-4197-83a8-272ff33ce314\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"befefa01-2a29-4197-83a8-272ff33ce314\"},{\"properties\":{\"roleName\":\"DocumentDB Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage DocumentDB accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.DocumentDb/databaseAccounts/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.2132374Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5bd9cd88-fe45-4216-938b-f97437e15450\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5bd9cd88-fe45-4216-938b-f97437e15450\"},{\"properties\":{\"roleName\":\"Intelligent Systems Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Intelligent Systems accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.IntelligentSystems/accounts/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:59.7946586Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/03a6d094-3444-4b3d-88af-7477090a9e5e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"03a6d094-3444-4b3d-88af-7477090a9e5e\"},{\"properties\":{\"roleName\":\"Key Vault Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage key vaults, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.KeyVault/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.KeyVault/locations/deletedVaults/purge/action\",\"Microsoft.KeyVault/hsmPools/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2017-12-14T02:01:18.4641200Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f25e0fa2-a7c8-4377-a976-54943a77a395\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f25e0fa2-a7c8-4377-a976-54943a77a395\"},{\"properties\":{\"roleName\":\"Lab Creator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create, manage, delete your managed labs under your Azure Lab Accounts.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.LabServices/labAccounts/*/read\",\"Microsoft.LabServices/labAccounts/createLab/action\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2018-01-18T23:38:58.1036141Z\",\"updatedOn\":\"2018-03-08T19:53:30.3032044Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"b97fb8bc-a8b2-4522-a38b-dd33c7e65ead\"},{\"properties\":{\"roleName\":\"Log Analytics Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Contributor can read all monitoring data and edit monitoring settings. Editing monitoring settings includes adding the VM extension to VMs; reading storage account keys to be able to configure collection of logs from Azure Storage; creating and configuring Automation accounts; adding solutions; and configuring Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Automation/automationAccounts/*\",\"Microsoft.ClassicCompute/virtualMachines/extensions/*\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.Compute/virtualMachines/extensions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.OperationalInsights/*\",\"Microsoft.OperationsManagement/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourcegroups/deployments/*\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-04-25T21:51:45.3174711Z\",\"updatedOn\":\"2018-01-30T18:08:26.6376126Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/92aaf0da-9dab-42b6-94a3-d43ce8d16293\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"92aaf0da-9dab-42b6-94a3-d43ce8d16293\"},{\"properties\":{\"roleName\":\"Log Analytics Reader\",\"type\":\"BuiltInRole\",\"description\":\"Log Analytics Reader can view and search all monitoring data as well as and view monitoring settings, including viewing the configuration of Azure diagnostics on all Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/analytics/query/action\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.OperationalInsights/workspaces/sharedKeys/read\"]}],\"createdOn\":\"2017-05-02T00:20:28.1449012Z\",\"updatedOn\":\"2018-01-30T18:08:26.0438523Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/73c42c96-874c-492b-b04d-ab87d138a893\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"73c42c96-874c-492b-b04d-ab87d138a893\"},{\"properties\":{\"roleName\":\"Logic App Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage logic app, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicStorage/storageAccounts/listKeys/action\",\"Microsoft.ClassicStorage/storageAccounts/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Insights/logdefinitions/*\",\"Microsoft.Insights/metricDefinitions/*\",\"Microsoft.Logic/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*\",\"Microsoft.Web/connections/*\",\"Microsoft.Web/customApis/*\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/functions/listSecrets/action\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:11:44.8580600Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/87a39d53-fc1b-424a-814c-f7e04687dc9e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"87a39d53-fc1b-424a-814c-f7e04687dc9e\"},{\"properties\":{\"roleName\":\"Logic App Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you read, enable and disable logic app.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*/read\",\"Microsoft.Insights/diagnosticSettings/*/read\",\"Microsoft.Insights/metricDefinitions/*/read\",\"Microsoft.Logic/*/read\",\"Microsoft.Logic/workflows/disable/action\",\"Microsoft.Logic/workflows/enable/action\",\"Microsoft.Logic/workflows/validate/action\",\"Microsoft.Resources/deployments/operations/read\",\"Microsoft.Resources/subscriptions/operationresults/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/connectionGateways/*/read\",\"Microsoft.Web/connections/*/read\",\"Microsoft.Web/customApis/*/read\",\"Microsoft.Web/serverFarms/read\"],\"notActions\":[]}],\"createdOn\":\"2016-04-28T21:33:30.4656007Z\",\"updatedOn\":\"2018-01-10T23:14:26.9539724Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"515c2055-d9d4-4321-b1b9-bd0c9a0f79fe\"},{\"properties\":{\"roleName\":\"Managed Identity Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Create, Read, Update, and Delete User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/write\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/delete\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:53:42.8804692Z\",\"updatedOn\":\"2017-12-14T22:17:02.2740594Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e40ec5ca-96e0-45a2-b4ff-59039f2c2b59\"},{\"properties\":{\"roleName\":\"Managed Identity Operator\",\"type\":\"BuiltInRole\",\"description\":\"Read and Assign User Assigned Identity\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.ManagedIdentity/userAssignedIdentities/*/read\",\"Microsoft.ManagedIdentity/userAssignedIdentities/*/assign/action\",\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-12-14T19:52:04.3924594Z\",\"updatedOn\":\"2017-12-14T22:16:00.1483256Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/f1a07417-d97a-45cb-824c-7a7467783830\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"f1a07417-d97a-45cb-824c-7a7467783830\"},{\"properties\":{\"roleName\":\"Management Group Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Contributor Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/delete\",\"Microsoft.Management/managementGroups/read\",\"Microsoft.Management/managementGroups/subscriptions/delete\",\"Microsoft.Management/managementGroups/subscriptions/write\",\"Microsoft.Management/managementGroups/write\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:28:29.0523964Z\",\"updatedOn\":\"2018-06-22T00:29:40.3047486Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d58bcaf-24a5-4b20-bdb6-eed9f69fbe4c\"},{\"properties\":{\"roleName\":\"Management Group Reader\",\"type\":\"BuiltInRole\",\"description\":\"Management Group Reader Role\",\"assignableScopes\":[\"/providers/Microsoft.Management\"],\"permissions\":[{\"actions\":[\"Microsoft.Management/managementGroups/read\"],\"notActions\":[]}],\"createdOn\":\"2018-06-22T00:31:03.4295347Z\",\"updatedOn\":\"2018-06-22T00:32:11.5701900Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ac63b705-f282-497d-ac71-919bf39d939d\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ac63b705-f282-497d-ac71-919bf39d939d\"},{\"properties\":{\"roleName\":\"Monitoring Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data and update monitoring settings.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.AlertsManagement/alerts/*\",\"Microsoft.AlertsManagement/alertsSummary/*\",\"Microsoft.Insights/AlertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.Insights/DiagnosticSettings/*\",\"Microsoft.Insights/eventtypes/*\",\"Microsoft.Insights/LogDefinitions/*\",\"Microsoft.Insights/MetricDefinitions/*\",\"Microsoft.Insights/Metrics/*\",\"Microsoft.Insights/Register/Action\",\"Microsoft.Insights/webtests/*\",\"Microsoft.Insights/actiongroups/*\",\"Microsoft.Insights/metricalerts/*\",\"Microsoft.Insights/scheduledqueryrules/*\",\"Microsoft.OperationalInsights/workspaces/intelligencepacks/*\",\"Microsoft.OperationalInsights/workspaces/savedSearches/*\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.OperationalInsights/workspaces/sharedKeys/action\",\"Microsoft.OperationalInsights/workspaces/storageinsightconfigs/*\",\"Microsoft.Support/*\",\"Microsoft.WorkloadMonitor/workloads/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:21:08.4345976Z\",\"updatedOn\":\"2018-04-02T19:04:30.9448972Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/749f88d5-cbae-40b8-bcfc-e573ddc772fa\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"749f88d5-cbae-40b8-bcfc-e573ddc772fa\"},{\"properties\":{\"roleName\":\"Monitoring Reader\",\"type\":\"BuiltInRole\",\"description\":\"Can read all monitoring data.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.OperationalInsights/workspaces/search/action\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2016-09-21T19:19:52.4939376Z\",\"updatedOn\":\"2018-01-30T18:08:27.2626250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/43d0d8ad-25c7-4714-9337-8ba259a9fe05\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"43d0d8ad-25c7-4714-9337-8ba259a9fe05\"},{\"properties\":{\"roleName\":\"Network Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage networks, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2016-05-31T23:14:00.3326359Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/4d97b98b-1d4f-4787-a291-c67834d212e7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"4d97b98b-1d4f-4787-a291-c67834d212e7\"},{\"properties\":{\"roleName\":\"New Relic APM Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage New Relic Application Performance Management accounts and applications, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"NewRelic.APM/accounts/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:07.7538043Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/5d28c62d-5b37-4476-8438-e587778df237\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"5d28c62d-5b37-4476-8438-e587778df237\"},{\"properties\":{\"roleName\":\"Owner\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage everything, including access to resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:00.9179619Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/8e3af657-a8ff-443c-a75c-2fe8c4bcb635\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"8e3af657-a8ff-443c-a75c-2fe8c4bcb635\"},{\"properties\":{\"roleName\":\"PowerApps Administrator\",\"type\":\"BuiltInRole\",\"description\":\"The user has access to perform administrative actions on all PowerApps resources within the tenant.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/actions/admin/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:13:41.9912926Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/53be45b2-ad40-43ab-bc1f-2c962ac99ded\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"53be45b2-ad40-43ab-bc1f-2c962ac99ded\"},{\"properties\":{\"roleName\":\"PowerAppsReaderWithReshare\",\"type\":\"BuiltInRole\",\"description\":\"PowerAppsReadersWithReshare can use the resource and re-share it with other users, but cannot edit the resource or re-share it with edit permissions.\",\"assignableScopes\":[\"/providers/Microsoft.PowerApps\"],\"permissions\":[{\"actions\":[\"Microsoft.PowerApps/*/permissions/write\",\"Microsoft.PowerApps/*/read\"],\"notActions\":[\"Microsoft.PowerApps/*/delete\",\"Microsoft.PowerApps/*/write\"]}],\"createdOn\":\"2016-03-15T00:55:03.0666416Z\",\"updatedOn\":\"2016-05-31T23:14:09.6924345Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6877c72c-edd3-4048-9b4b-cf8e514477b0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6877c72c-edd3-4048-9b4b-cf8e514477b0\"},{\"properties\":{\"roleName\":\"Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything, but not make any changes.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:25.4031403Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/acdd72a7-3385-48ef-bd42-f606fba81ae7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"acdd72a7-3385-48ef-bd42-f606fba81ae7\"},{\"properties\":{\"roleName\":\"Reader and Data Access\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view everything but will not let you delete or create a storage account or contained resource. It will also allow read/write access to all data contained in a storage account via access to storage account keys.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\"],\"notActions\":[]}],\"createdOn\":\"2018-03-27T23:20:46.1498906Z\",\"updatedOn\":\"2018-03-28T17:50:03.9656854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/c12c1c16-33a1-487b-954d-41c89c60f349\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"c12c1c16-33a1-487b-954d-41c89c60f349\"},{\"properties\":{\"roleName\":\"Redis Cache Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Redis caches, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Cache/redis/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:01.9877071Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e0f68234-74aa-48ed-b826-c38b57376e17\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e0f68234-74aa-48ed-b826-c38b57376e17\"},{\"properties\":{\"roleName\":\"Resource Policy Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"(Preview) Backfilled users from EA, with rights to create/modify resource policy, create support ticket and read resources/hierarchy.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/policyassignments/*\",\"Microsoft.Authorization/policydefinitions/*\",\"Microsoft.Authorization/policysetdefinitions/*\",\"Microsoft.PolicyInsights/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-08-25T19:08:01.3861639Z\",\"updatedOn\":\"2018-01-30T18:08:27.8272264Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/36243c78-bf99-498c-9df9-86d9f8d28608\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"36243c78-bf99-498c-9df9-86d9f8d28608\"},{\"properties\":{\"roleName\":\"Scheduler Job Collections Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Scheduler job collections, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Scheduler/jobcollections/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:02.5343995Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/188a0f2f-5c9e-469b-ae67-2aa5ce574b94\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"188a0f2f-5c9e-469b-ae67-2aa5ce574b94\"},{\"properties\":{\"roleName\":\"Search Service Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Search services, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Search/searchServices/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:03.0463472Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/7ca78c08-252a-4471-8644-bb5ff32d4ba0\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"7ca78c08-252a-4471-8644-bb5ff32d4ba0\"},{\"properties\":{\"roleName\":\"Security Admin\",\"type\":\"BuiltInRole\",\"description\":\"Security Admin Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Authorization/policyAssignments/*\",\"Microsoft.Authorization/policyDefinitions/*\",\"Microsoft.Authorization/policySetDefinitions/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\",\"Microsoft.Security/locations/alerts/dismiss/action\",\"Microsoft.Security/locations/alerts/activate/action\",\"Microsoft.Security/locations/tasks/dismiss/action\",\"Microsoft.Security/locations/tasks/activate/action\",\"Microsoft.Security/policies/write\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:51:23.0917487Z\",\"updatedOn\":\"2018-03-08T18:19:50.7393029Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb1c8493-542b-48eb-b624-b4c8fea62acd\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb1c8493-542b-48eb-b624-b4c8fea62acd\"},{\"properties\":{\"roleName\":\"Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage security components, security policies and virtual machines\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.ClassicCompute/*/read\",\"Microsoft.ClassicCompute/virtualMachines/*/write\",\"Microsoft.ClassicNetwork/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-22T17:45:15.8986455Z\",\"updatedOn\":\"2018-03-08T18:18:48.6183620Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/e3d13bf0-dd5a-482e-ba6b-9b8433878d10\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"e3d13bf0-dd5a-482e-ba6b-9b8433878d10\"},{\"properties\":{\"roleName\":\"Security Reader\",\"type\":\"BuiltInRole\",\"description\":\"Security Reader Role\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Insights/alertRules/*\",\"Microsoft.Resources/deployments/*\",\"Microsoft.operationalInsights/workspaces/*/read\",\"Microsoft.Authorization/*/read\",\"Microsoft.Support/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Security/*/read\"],\"notActions\":[]}],\"createdOn\":\"2017-05-03T07:48:49.0516559Z\",\"updatedOn\":\"2017-05-03T18:42:54.9787380Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/39bc4728-0917-49c7-9d2c-d95423bc2eb4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"39bc4728-0917-49c7-9d2c-d95423bc2eb4\"},{\"properties\":{\"roleName\":\"Site Recovery Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Site Recovery service except vault creation and role assignment\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/certificates/write\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/*\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/*\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/*\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/*\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/*\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/*\",\"Microsoft.RecoveryServices/Vaults/storageConfig/*\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:46:17.4592776Z\",\"updatedOn\":\"2017-06-29T05:31:19.7240473Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6670b86e-a3f7-4917-ac9b-5d6ab1be4567\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6670b86e-a3f7-4917-ac9b-5d6ab1be4567\"},{\"properties\":{\"roleName\":\"Site Recovery Operator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you failover and failback but not perform other Site Recovery management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/locations/allocateStamp/action\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/checkConsistency/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/reassociateGateway/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/renewcertificate/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/applyRecoveryPoint/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/repairReplication/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/unplannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/updateMobilityService/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/refreshProvider/action\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/*\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/failoverCommit/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/plannedFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/reProtect/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailover/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/testFailoverCleanup/action\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/unplannedFailover/action\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/*\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:47:50.1341148Z\",\"updatedOn\":\"2017-06-29T05:42:27.1715639Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/494ae006-db33-4328-bf46-533a6560a3ca\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"494ae006-db33-4328-bf46-533a6560a3ca\"},{\"properties\":{\"roleName\":\"Site Recovery Reader\",\"type\":\"BuiltInRole\",\"description\":\"Lets you view Site Recovery status but not perform other management operations\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.RecoveryServices/locations/allocatedStamp/read\",\"Microsoft.RecoveryServices/Vaults/extendedInformation/read\",\"Microsoft.RecoveryServices/Vaults/monitoringAlerts/read\",\"Microsoft.RecoveryServices/Vaults/monitoringConfigurations/notificationConfiguration/read\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/refreshContainers/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/operationResults/read\",\"Microsoft.RecoveryServices/Vaults/registeredIdentities/read\",\"Microsoft.RecoveryServices/vaults/replicationAlertSettings/read\",\"Microsoft.RecoveryServices/vaults/replicationEvents/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationNetworks/replicationNetworkMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectableItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectedItems/recoveryPoints/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationRecoveryServicesProviders/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationStorageClassifications/replicationStorageClassificationMappings/read\",\"Microsoft.RecoveryServices/vaults/replicationFabrics/replicationvCenters/read\",\"Microsoft.RecoveryServices/vaults/replicationJobs/read\",\"Microsoft.RecoveryServices/vaults/replicationPolicies/read\",\"Microsoft.RecoveryServices/vaults/replicationRecoveryPlans/read\",\"Microsoft.RecoveryServices/Vaults/storageConfig/read\",\"Microsoft.RecoveryServices/Vaults/tokenInfo/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/vaultTokens/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-05-19T13:35:40.0093634Z\",\"updatedOn\":\"2017-05-26T19:54:51.3933250Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/dbaa88c4-0c30-4179-9fb3-46319faa6149\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"dbaa88c4-0c30-4179-9fb3-46319faa6149\"},{\"properties\":{\"roleName\":\"SQL DB Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL databases, but not access to them. Also, you can't manage their security-related policies or their parent SQL servers.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/databases/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.1575716Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9b7fa17d-e63e-47b0-bb0a-15c516ac86ec\"},{\"properties\":{\"roleName\":\"SQL Security Manager\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the security-related policies of SQL servers and databases, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/read\",\"Microsoft.Sql/servers/databases/schemas/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/read\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/schemas/tables/read\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/firewallRules/*\",\"Microsoft.Sql/servers/read\",\"Microsoft.Sql/servers/securityAlertPolicies/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:40.2200727Z\",\"createdBy\":null,\"updatedBy\":\"yaiyun\"},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/056cd41c-7e88-42e1-933e-88ba6a50c9c3\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"056cd41c-7e88-42e1-933e-88ba6a50c9c3\"},{\"properties\":{\"roleName\":\"SQL Server Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage SQL servers and databases, but not access to them, and not their security -related policies.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Sql/locations/*/read\",\"Microsoft.Sql/servers/*\",\"Microsoft.Support/*\"],\"notActions\":[\"Microsoft.Sql/servers/auditingPolicies/*\",\"Microsoft.Sql/servers/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditingPolicies/*\",\"Microsoft.Sql/servers/databases/auditingSettings/*\",\"Microsoft.Sql/servers/databases/auditRecords/read\",\"Microsoft.Sql/servers/databases/connectionPolicies/*\",\"Microsoft.Sql/servers/databases/dataMaskingPolicies/*\",\"Microsoft.Sql/servers/databases/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/databases/schemas/tables/columns/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/securityAlertPolicies/*\",\"Microsoft.Sql/servers/databases/securityMetrics/*\",\"Microsoft.Sql/servers/databases/sensitivityLabels/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessments/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentScans/*\",\"Microsoft.Sql/servers/databases/vulnerabilityAssessmentSettings/*\",\"Microsoft.Sql/servers/extendedAuditingSettings/*\",\"Microsoft.Sql/servers/securityAlertPolicies/*\"]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-02-15T19:48:41.8450730Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437\"},{\"properties\":{\"roleName\":\"Storage Account Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage storage accounts, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/diagnosticSettings/*\",\"Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/action\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-08-21T07:43:20.3060994Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/17d1049b-9a84-46fb-8f53-869881c3d3ab\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"17d1049b-9a84-46fb-8f53-869881c3d3ab\"},{\"properties\":{\"roleName\":\"Storage Account Key Operator Service Role\",\"type\":\"BuiltInRole\",\"description\":\"Storage Account Key Operators are allowed to list and regenerate keys on Storage Accounts\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/listkeys/action\",\"Microsoft.Storage/storageAccounts/regeneratekey/action\"],\"notActions\":[]}],\"createdOn\":\"2017-04-13T18:26:11.5770570Z\",\"updatedOn\":\"2017-04-13T20:57:14.5990198Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"81a9662b-bebf-436f-a333-f67b29880f12\"},{\"properties\":{\"roleName\":\"Storage Blob Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write and delete access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:11:00.4629296Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"ba92f5b4-2d11-453d-a403-e96b0029c9fe\"},{\"properties\":{\"roleName\":\"Storage Blob Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage blob containers and data\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:15:19.5080840Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2a2b9908-6ea1-4ae2-8e65-a410df84e7d1\"},{\"properties\":{\"roleName\":\"Storage Queue Data Contributor (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read, write, and delete access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:16:40.1371662Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/974c5e8b-45b9-4653-ba55-5f855dd0fb88\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"974c5e8b-45b9-4653-ba55-5f855dd0fb88\"},{\"properties\":{\"roleName\":\"Storage Queue Data Reader (Preview)\",\"type\":\"BuiltInRole\",\"description\":\"Allows for read access to Azure Storage queues and queue messages\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Storage/storageAccounts/queueServices/queues/read\"],\"notActions\":[]}],\"createdOn\":\"2017-12-21T00:01:24.7972312Z\",\"updatedOn\":\"2018-04-02T17:19:30.5001463Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/19e7f393-937e-4f77-808e-94535e297925\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"19e7f393-937e-4f77-808e-94535e297925\"},{\"properties\":{\"roleName\":\"Support Request Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you create and manage Support requests\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2017-06-22T22:25:37.8053068Z\",\"updatedOn\":\"2017-06-23T01:06:24.2399631Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"cfd33db0-3dd1-45e3-aa9d-cdbdf3b6f24e\"},{\"properties\":{\"roleName\":\"Traffic Manager Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage Traffic Manager profiles, but does not let you control who has access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/trafficManagerProfiles/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-10-15T23:33:25.9730842Z\",\"updatedOn\":\"2016-05-31T23:13:44.1458854Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"a4b10055-b0c7-44c2-b00f-c7b5b3550cf7\"},{\"properties\":{\"roleName\":\"User Access Administrator\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage user access to Azure resources.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"*/read\",\"Microsoft.Authorization/*\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2018-01-30T18:08:24.4656640Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"18d7d88d-d35e-4fb5-a5c3-7773c20a72d9\"},{\"properties\":{\"roleName\":\"Virtual Machine Administrator Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as administrator\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:17:57.0514548Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/1c0163c0-47e6-4577-8991-ea5c82e286e4\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"1c0163c0-47e6-4577-8991-ea5c82e286e4\"},{\"properties\":{\"roleName\":\"Virtual Machine Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage virtual machines, but not access to them, and not the virtual network or storage account they’re connected to.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Compute/availabilitySets/*\",\"Microsoft.Compute/locations/*\",\"Microsoft.Compute/virtualMachines/*\",\"Microsoft.Compute/virtualMachineScaleSets/*\",\"Microsoft.DevTestLab/schedules/*\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Network/applicationGateways/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/backendAddressPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatPools/join/action\",\"Microsoft.Network/loadBalancers/inboundNatRules/join/action\",\"Microsoft.Network/loadBalancers/probes/join/action\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/locations/*\",\"Microsoft.Network/networkInterfaces/*\",\"Microsoft.Network/networkSecurityGroups/join/action\",\"Microsoft.Network/networkSecurityGroups/read\",\"Microsoft.Network/publicIPAddresses/join/action\",\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/virtualNetworks/subnets/join/action\",\"Microsoft.RecoveryServices/locations/*\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write\",\"Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/read\",\"Microsoft.RecoveryServices/Vaults/backupPolicies/write\",\"Microsoft.RecoveryServices/Vaults/read\",\"Microsoft.RecoveryServices/Vaults/usages/read\",\"Microsoft.RecoveryServices/Vaults/write\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Storage/storageAccounts/listKeys/action\",\"Microsoft.Storage/storageAccounts/read\",\"Microsoft.Support/*\"],\"notActions\":[]}],\"createdOn\":\"2015-06-02T00:18:27.3542698Z\",\"updatedOn\":\"2017-11-14T03:00:30.1736393Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"9980e02c-c2be-4d73-94e8-173b1dc7cf3c\"},{\"properties\":{\"roleName\":\"Virtual Machine User Login\",\"type\":\"BuiltInRole\",\"description\":\"View Virtual Machines in the portal and login as a regular user.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Network/publicIPAddresses/read\",\"Microsoft.Network/virtualNetworks/read\",\"Microsoft.Network/loadBalancers/read\",\"Microsoft.Network/networkInterfaces/read\",\"Microsoft.Compute/virtualMachines/*/read\"],\"notActions\":[]}],\"createdOn\":\"2018-02-09T18:36:13.3315744Z\",\"updatedOn\":\"2018-05-09T22:18:52.2780979Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/fb879df8-f326-4884-b1cf-06f3ad86be52\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"fb879df8-f326-4884-b1cf-06f3ad86be52\"},{\"properties\":{\"roleName\":\"Web Plan Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage the web plans for websites, but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/serverFarms/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:05.9401651Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"2cc479cb-7b4d-49a8-b449-8c00fd0f0a4b\"},{\"properties\":{\"roleName\":\"Website Contributor\",\"type\":\"BuiltInRole\",\"description\":\"Lets you manage websites (not web plans), but not access to them.\",\"assignableScopes\":[\"/\"],\"permissions\":[{\"actions\":[\"Microsoft.Authorization/*/read\",\"Microsoft.Insights/alertRules/*\",\"Microsoft.Insights/components/*\",\"Microsoft.ResourceHealth/availabilityStatuses/read\",\"Microsoft.Resources/deployments/*\",\"Microsoft.Resources/subscriptions/resourceGroups/read\",\"Microsoft.Support/*\",\"Microsoft.Web/certificates/*\",\"Microsoft.Web/listSitesAssignedToHostName/read\",\"Microsoft.Web/serverFarms/join/action\",\"Microsoft.Web/serverFarms/read\",\"Microsoft.Web/sites/*\"],\"notActions\":[]}],\"createdOn\":\"0001-01-01T08:00:00.0000000Z\",\"updatedOn\":\"2016-05-31T23:14:06.5272742Z\",\"createdBy\":null,\"updatedBy\":null},\"id\":\"/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772\",\"type\":\"Microsoft.Authorization/roleDefinitions\",\"name\":\"de139f84-1756-47ae-9be6-808fbbe84772\"}]}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a?api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:24 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "e5de8f47-33bc-472b-a11d-7a8964817561", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195824Z:e5de8f47-33bc-472b-a11d-7a8964817561", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "e73eb155-6b04-4c13-a038-fb14f536dc7f", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:24 GMT", + "content-length" : "0", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14999", + "StatusCode" : "202", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "68b2d90c-a954-494c-9d32-0bfdbee0e8bc", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195825Z:68b2d90c-a954-494c-9d32-0bfdbee0e8bc", + "content-type" : "text/plain; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "1240f427-9d11-463a-a85f-490db6502844", + "Body" : "" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/e73eb155-6b04-4c13-a038-fb14f536dc7f?monitor=true&api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:41 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "907", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14998", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c78d072c-6b8d-4bf5-8177-a9e692ecbe3a", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195842Z:c78d072c-6b8d-4bf5-8177-a9e692ecbe3a", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "567cf13f-dbec-4f2c-bfaf-c4ff1ffac9be", + "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"name\":\"sabc0663752a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:58:23.9216529Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:58:23.8747773Z\",\"primaryEndpoints\":{\"blob\":\"https://sabc0663752a.blob.core.windows.net/\",\"queue\":\"https://sabc0663752a.queue.core.windows.net/\",\"table\":\"https://sabc0663752a.table.core.windows.net/\",\"file\":\"https://sabc0663752a.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a?api-version=2016-01-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (StorageManagementClient, 2016-01-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:41 GMT", + "server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", + "content-length" : "907", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14997", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "8cb1cbb4-b925-4e0c-b8a3-e885b6318900", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195842Z:8cb1cbb4-b925-4e0c-b8a3-e885b6318900", + "content-type" : "application/json", + "cache-control" : "no-cache", + "x-ms-request-id" : "9cefcf44-5a0e-4af1-ab37-15c9418ee90e", + "Body" : "{\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"name\":\"sabc0663752a\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"encryption\":{\"services\":{\"blob\":{\"enabled\":true,\"lastEnabledTime\":\"2018-06-25T19:58:23.9216529Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2018-06-25T19:58:23.8747773Z\",\"primaryEndpoints\":{\"blob\":\"https://sabc0663752a.blob.core.windows.net/\",\"queue\":\"https://sabc0663752a.queue.core.windows.net/\",\"table\":\"https://sabc0663752a.table.core.windows.net/\",\"file\":\"https://sabc0663752a.file.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a/providers/Microsoft.Authorization/roleAssignments/8a6fc5ba-7601-4071-954a-adbce7cae7ae?api-version=2015-07-01", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.3.0 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (AuthorizationManagementClient, 2015-07-01)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:45 GMT", + "content-length" : "868", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-ms-request-charge" : "4", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "d68d4fec-0d68-4d87-bb87-44e3200af560", + "set-cookie" : "x-ms-gateway-slice=productionb; path=/; secure; HttpOnly", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195846Z:d68d4fec-0d68-4d87-bb87-44e3200af560", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0c8dd70b-7635-49cf-bf47-33b86ef40d4d", + "Body" : "{\"properties\":{\"roleDefinitionId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/81a9662b-bebf-436f-a333-f67b29880f12\",\"principalId\":\"93c27d83-f79b-4cb2-8dd4-4aa716542e74\",\"scope\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"createdOn\":\"2018-06-25T19:58:43.1732809Z\",\"updatedOn\":\"2018-06-25T19:58:43.1732809Z\",\"createdBy\":null,\"updatedBy\":\"00000000-0000-0000-0000-000000000000\"},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a/providers/Microsoft.Authorization/roleAssignments/8a6fc5ba-7601-4071-954a-adbce7cae7ae\",\"type\":\"Microsoft.Authorization/roleAssignments\",\"name\":\"8a6fc5ba-7601-4071-954a-adbce7cae7ae\"}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:48 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "819", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c035050b-b12c-4c27-ae83-45973bc26a05", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195848Z:c035050b-b12c-4c27-ae83-45973bc26a05", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.220", + "x-ms-request-id" : "c035050b-b12c-4c27-ae83-45973bc26a05", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b\",\"name\":\"vaultff052787b\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vaultff052787b.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:58:48 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "820", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14996", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "c664c3a5-a6c4-42ea-99bd-816c1ad1d38c", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195849Z:c664c3a5-a6c4-42ea-99bd-816c1ad1d38c", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.220", + "x-ms-request-id" : "c664c3a5-a6c4-42ea-99bd-816c1ad1d38c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b\",\"name\":\"vaultff052787b\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vaultff052787b.vault.azure.net\",\"provisioningState\":\"RegisteringDns\"}}" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b?api-version=2018-02-14-preview", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/1.11.1 OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultManagementClient, 2018-02-14-preview)" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:59:18 GMT", + "server" : "Microsoft-IIS/10.0", + "content-length" : "815", + "expires" : "-1", + "transfer-encoding" : "chunked", + "vary" : "Accept-Encoding", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "14995", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-ms-correlation-request-id" : "60590e31-79a4-4d91-9f3a-313ca1ba63cb", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "WESTUS2:20180625T195919Z:60590e31-79a4-4d91-9f3a-313ca1ba63cb", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.220", + "x-ms-request-id" : "60590e31-79a4-4d91-9f3a-313ca1ba63cb", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.KeyVault/vaults/vaultff052787b\",\"name\":\"vaultff052787b\",\"type\":\"Microsoft.KeyVault/vaults\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"sku\":{\"family\":\"A\",\"name\":\"standard\"},\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"accessPolicies\":[{\"tenantId\":\"00000000-0000-0000-0000-000000000000\",\"objectId\":\"00000000-0000-0000-0000-000000000000\",\"permissions\":{\"secrets\":[\"list\",\"restore\",\"set\",\"recover\",\"purge\",\"delete\",\"backup\",\"get\"],\"storage\":[\"recover\",\"regeneratekey\",\"get\",\"deletesas\",\"list\",\"purge\",\"set\",\"update\",\"getsas\",\"listsas\",\"delete\",\"backup\",\"setsas\",\"restore\"]}}],\"enabledForDeployment\":false,\"vaultUri\":\"https://vaultff052787b.vault.azure.net\",\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:59:19 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "0fa52602-294f-43f3-b67b-9b1be9fc3a87", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:59:23 GMT", + "content-length" : "402", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "67d92322-06a9-4c79-ac8b-98c69730f823", + "Body" : "{\"id\":\"https://vaultff052787b.vault.azure.netstorage/sabc0663752a\",\"resourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-0/providers/Microsoft.Storage/storageAccounts/sabc0663752a\",\"activeKeyName\":\"key1\",\"autoRegenerateKey\":true,\"regenerationPeriod\":\"P30D\",\"attributes\":{\"enabled\":true,\"created\":1529956764,\"updated\":1529956764,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a/sas/acctall?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:59:28 GMT", + "content-length" : "437", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "0e5c6915-c1d1-4758-b748-fc7494b485bb", + "Body" : "{\"id\":\"https://vaultff052787b.vault.azure.netstorage/sabc0663752a/sas/acctall\",\"sid\":\"https://vaultff052787b.vault.azure.netsecrets/sabc0663752a-acctall\",\"templateUri\":\"ss=bfqt&sig=Seeukj2J9YdffimRILCDhU3S8GXMcPkD8fRG8LlWIJA%3D&se=2020-01-01T08%3A00%3A00Z&sv=2015-12-11&srt=sco&sp=racwdlup\",\"sasType\":\"account\",\"validityPeriod\":\"PT2H\",\"attributes\":{\"enabled\":true,\"created\":1529956768,\"updated\":1529956768,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://vaultff052787b.vault.azure.net/secrets/sabc0663752a-acctall/?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:59:29 GMT", + "content-length" : "354", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "fce2b47a-f96b-4e2c-8826-919870e1e6ec", + "Body" : "{\"value\":\"?sv=2015-12-11&ss=bfqt&srt=sco&sp=racwdlup&se=2018-06-25T21:59:30Z&sig=OntGT2YbqwSlM7LJtg%2F%2FZLOb26TDmeZys%2Bzra%2BIeGIM%3D\",\"contentType\":\"application/vnd.ms-sastoken-storage\",\"id\":\"https://vaultff052787b.vault.azure.netsecrets/sabc0663752a-acctall\",\"managed\":true,\"attributes\":{\"enabled\":true,\"exp\":1529963970,\"recoveryLevel\":\"Purgeable\"}}" + } + }, { + "Method" : "GET", + "Uri" : "https://vaultff052787b.vault.azure.net/storage/sabc0663752a/sas/acctall?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Mon, 25 Jun 2018 19:59:32 GMT", + "content-length" : "437", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westcentralus", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.0.0.852", + "x-ms-request-id" : "db46158a-0ba5-4f35-9f44-26f1abb29069", + "Body" : "{\"id\":\"https://vaultff052787b.vault.azure.netstorage/sabc0663752a/sas/acctall\",\"sid\":\"https://vaultff052787b.vault.azure.netsecrets/sabc0663752a-acctall\",\"templateUri\":\"ss=bfqt&sig=Seeukj2J9YdffimRILCDhU3S8GXMcPkD8fRG8LlWIJA%3D&se=2020-01-01T08%3A00%3A00Z&sv=2015-12-11&srt=sco&sp=racwdlup\",\"sasType\":\"account\",\"validityPeriod\":\"PT2H\",\"attributes\":{\"enabled\":true,\"created\":1529956768,\"updated\":1529956768,\"recoveryLevel\":\"Purgeable\"}}" + } + } ], + "variables" : [ "sabc0663752a", "vaultff052787b" ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForKeyOperationsTest.json index daacb2522cf8c..fc8325cd798ba 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForKeyOperationsTest.json @@ -1,112 +1,112 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:38 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "667153e0-a27c-41c0-9935-9da1c560834b", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:38 GMT", - "content-length" : "674", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "9ed167f4-bdc0-4585-bb81-019893a4b601", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/4c41fed716864f59b4e2a9cf16fca7a5\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"vj6Hx876E-K1eEuL3NXBrAZu-26ZoEEou1as-rR_hlqtHR8_udnRZl2eTj0FjQSoN5aykPiq-VaG-8aTmCzGFCjsjJrtbfJ0u4sQbl0jYFyhPMjuwGmM5fwMVgqQaT98it8bxBnZP_9DdYU4-Hpr1wfkoCjYUF-sy0hKkE6Xrr7D4F0H-BhUemZ-UzERiC2BjHYLzNhk0Hezd01H6Q2JzrX7zNEHku9eWvj8WYNSLvpgIzzD7rkf01zW5jBTinpY8ZvPtA25zCu3ByiE-CpnWHgAf345mmzq_Iajnwg4wqUzaByPQDjKPmoI9YMtdEDziMS4HrOPWULDqiLcmiumtw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":947535698,\"exp\":2525458898,\"created\":1547151699,\"updated\":1547151699,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-2.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:39 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "68cbd53f-cd7c-4464-b497-b7a02a73eeaf", - "Body" : "" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-2.vault.azure.net/keys/javaKey/create?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:21:39 GMT", - "content-length" : "646", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "29c8d811-a60e-4f93-834c-d4a2409614ba", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-2.vault.azure.net/keys/javaKey/92af3d1864bb410d9df33b7d49b517af\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1rNlMrZbDl_stSHOc4VTtES2qNPo09H8WhRqI9YvKGek0ifApliKSYkyqddEiMrN42gsG2A7scd5IZ6Fkc0ykzxGmZCAJL7uriTcb6Yvpa8Cv8Yc6Bvq5UP1CiafaOCtKCjpVIkHy1r96qSMZsKfZSRIENDQbpeFYlRN-Wew2_ikKoSdBOmLnUSg-pYRsCYA8PXNNxSTxDGNlphpjpgPy7Zz9Arm_GkSDp6ms7C2dnpT8RT1TSvwxb_E1ljpHzB9bzdMpreJBJP70zYgWQtmOZN9xLOA1ghT9cERGYwnMwCmgupQ9ZFtrpUNYVodPzJ4G_8AF0hkCn9BLlFdm4Bq3Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151699,\"updated\":1547151699,\"recoveryLevel\":\"Purgeable\"}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:38 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "667153e0-a27c-41c0-9935-9da1c560834b", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:38 GMT", + "content-length" : "674", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "9ed167f4-bdc0-4585-bb81-019893a4b601", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/4c41fed716864f59b4e2a9cf16fca7a5\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\"],\"n\":\"vj6Hx876E-K1eEuL3NXBrAZu-26ZoEEou1as-rR_hlqtHR8_udnRZl2eTj0FjQSoN5aykPiq-VaG-8aTmCzGFCjsjJrtbfJ0u4sQbl0jYFyhPMjuwGmM5fwMVgqQaT98it8bxBnZP_9DdYU4-Hpr1wfkoCjYUF-sy0hKkE6Xrr7D4F0H-BhUemZ-UzERiC2BjHYLzNhk0Hezd01H6Q2JzrX7zNEHku9eWvj8WYNSLvpgIzzD7rkf01zW5jBTinpY8ZvPtA25zCu3ByiE-CpnWHgAf345mmzq_Iajnwg4wqUzaByPQDjKPmoI9YMtdEDziMS4HrOPWULDqiLcmiumtw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":947535698,\"exp\":2525458898,\"created\":1547151699,\"updated\":1547151699,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-2.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:39 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "68cbd53f-cd7c-4464-b497-b7a02a73eeaf", + "Body" : "" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-2.vault.azure.net/keys/javaKey/create?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:21:39 GMT", + "content-length" : "646", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "29c8d811-a60e-4f93-834c-d4a2409614ba", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-2.vault.azure.net/keys/javaKey/92af3d1864bb410d9df33b7d49b517af\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1rNlMrZbDl_stSHOc4VTtES2qNPo09H8WhRqI9YvKGek0ifApliKSYkyqddEiMrN42gsG2A7scd5IZ6Fkc0ykzxGmZCAJL7uriTcb6Yvpa8Cv8Yc6Bvq5UP1CiafaOCtKCjpVIkHy1r96qSMZsKfZSRIENDQbpeFYlRN-Wew2_ikKoSdBOmLnUSg-pYRsCYA8PXNNxSTxDGNlphpjpgPy7Zz9Arm_GkSDp6ms7C2dnpT8RT1TSvwxb_E1ljpHzB9bzdMpreJBJP70zYgWQtmOZN9xLOA1ghT9cERGYwnMwCmgupQ9ZFtrpUNYVodPzJ4G_8AF0hkCn9BLlFdm4Bq3Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547151699,\"updated\":1547151699,\"recoveryLevel\":\"Purgeable\"}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForSecretOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForSecretOperationsTest.json index deb7eb491d66f..de6380a6de50d 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForSecretOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/transparentAuthenticationForSecretOperationsTest.json @@ -1,112 +1,112 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 22:21:56 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "41f83f9f-22e3-4e65-94d0-556ef7b14e74", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 22:21:57 GMT", - "content-length" : "355", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "be229a7c-01ee-4e29-a9ae-41a20265d6f7", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp/f4f5bb2d8fa246e3aa9322d9fdedd414\",\"attributes\":{\"enabled\":true,\"nbf\":947542916,\"exp\":2525466116,\"created\":1547158917,\"updated\":1547158917,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-2.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 22:21:57 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "396ffdcd-cc05-4489-a973-eaf780608f17", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-2.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 22:21:57 GMT", - "content-length" : "261", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "c9595b18-d7a3-407c-bd06-e4439d3f62a0", - "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-2.vault.azure.net/secrets/javaSecretTemp/e4440077f0fd40fa92a9b0c7526fb169\",\"attributes\":{\"enabled\":true,\"created\":1547158917,\"updated\":1547158917,\"recoveryLevel\":\"Purgeable\"}}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 22:21:56 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "41f83f9f-22e3-4e65-94d0-556ef7b14e74", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 22:21:57 GMT", + "content-length" : "355", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "be229a7c-01ee-4e29-a9ae-41a20265d6f7", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"contentType\":\"contentType\",\"id\":\"https://azure-keyvault-3.vault.azure.net/secrets/javaSecretTemp/f4f5bb2d8fa246e3aa9322d9fdedd414\",\"attributes\":{\"enabled\":true,\"nbf\":947542916,\"exp\":2525466116,\"created\":1547158917,\"updated\":1547158917,\"recoveryLevel\":\"Recoverable+Purgeable\"},\"tags\":{\"foo\":\"baz\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-2.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 22:21:57 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "396ffdcd-cc05-4489-a973-eaf780608f17", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-2.vault.azure.net/secrets/javaSecretTemp?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 22:21:57 GMT", + "content-length" : "261", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "c9595b18-d7a3-407c-bd06-e4439d3f62a0", + "Body" : "{\"value\":\"Chocolate is hidden in the toothpaste cabinet\",\"id\":\"https://azure-keyvault-2.vault.azure.net/secrets/javaSecretTemp/e4440077f0fd40fa92a9b0c7526fb169\",\"attributes\":{\"enabled\":true,\"created\":1547158917,\"updated\":1547158917,\"recoveryLevel\":\"Purgeable\"}}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/wrapUnwrapOperationsForKeyOperationsTest.json b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/wrapUnwrapOperationsForKeyOperationsTest.json index 8e4e7273144ac..5ef9810f388db 100644 --- a/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/wrapUnwrapOperationsForKeyOperationsTest.json +++ b/keyvault/data-plane/azure-keyvault/target/test-classes/session-records/wrapUnwrapOperationsForKeyOperationsTest.json @@ -1,166 +1,166 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:53 GMT", - "content-length" : "0", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", - "retry-after" : "0", - "StatusCode" : "401", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "ce6d0bac-3d31-4ee0-be4d-0a2513967a63", - "Body" : "" - } - }, { - "Method" : "PUT", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:54 GMT", - "content-length" : "658", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b863f052-f645-411b-bfcc-ba8d699d3739", - "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152254,\"updated\":1547152254,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//wrapkey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:54 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "790f3ae3-3a41-4399-b7c5-fc5143742d0d", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"N2xdpudZVn9jTmsvA-O6Zusr8p58JwmPuKQixEmhubB0D7AIA1w2boPakwAPheNpnWQFbFHR11dtqdM5Iv8fKWH9xL35ia1W6APEhFxfG_JZoPzpQVxz9GB-ioK7kxqlGs7HTu-Rz_ezAYHE-njotboXuJyzMifUJLcp9t82epFAfMzBzmW1sj4BzfalxsjLAl7EIxF51KLOHsmj9L1MkrfQb-IL_MPmAG2f0YDt9MYK8IM1b0nw41xVuD_KCSb_I-axMmi8g1FX31RsDPCu99CkETMb_0MfpBOXntdc0lMx-i2-A0DyU4UFhPvBJtPRIowhbx-gjd2_zAwr7GdR-g\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//unwrapkey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:54 GMT", - "content-length" : "241", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b328daf4-468e-4b79-a862-1602f888517f", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423/wrapkey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:54 GMT", - "content-length" : "449", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "482b7e58-056d-49d0-8a39-209446a9ce4c", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"AtDbogK-Huhqhy2xkNna6gG6jy_wPulW65riWoiPzEHI_xSG702-aIZ2wYUDxq5_3kv24LzKMCr5CVqgnq6aO6DroQa1AM6r7nIkVYkJ2m9Qi1XjbThEBYKBUtSMpiKfk3N-1v4JcyERkMHvy8kG3lgKICG7XVqVvRR_9iLMPa9Yf_LU8w5y1G1wCBXVAb7ugEDaTQ--tZsCZjLoqnGs23BdYpWCNklWbyw7wD_m-nZ6obxAFeDHvAC6sYOaan5Fz8Mt4_90YEsbg7UyMM2m0dmnHefrFFwFvX8uDTLT83zTUsovuC71vBQSr17TASfb5ukWmq8JHRrnuTGOjaOljQ\"}" - } - }, { - "Method" : "POST", - "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423/unwrapkey?api-version=7.0", - "Headers" : { - "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", - "Content-Type" : "application/json; charset=utf-8" - }, - "Response" : { - "date" : "Thu, 10 Jan 2019 20:30:55 GMT", - "content-length" : "241", - "server" : "Microsoft-IIS/10.0", - "expires" : "-1", - "x-aspnet-version" : "4.0.30319", - "retry-after" : "0", - "StatusCode" : "200", - "pragma" : "no-cache", - "strict-transport-security" : "max-age=31536000;includeSubDomains", - "x-content-type-options" : "nosniff", - "x-powered-by" : "ASP.NET", - "content-type" : "application/json; charset=utf-8", - "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region" : "westus2", - "cache-control" : "no-cache", - "x-ms-keyvault-service-version" : "1.1.0.859", - "x-ms-request-id" : "b2e41753-a125-4135-9eee-076caca061ef", - "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" - } - } ], - "variables" : [ ] +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:53 GMT", + "content-length" : "0", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"", + "retry-after" : "0", + "StatusCode" : "401", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "ce6d0bac-3d31-4ee0-be4d-0a2513967a63", + "Body" : "" + } + }, { + "Method" : "PUT", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:54 GMT", + "content-length" : "658", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b863f052-f645-411b-bfcc-ba8d699d3739", + "Body" : "{\"key\":{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"1_6ZtP288hEkKML-L6nFyZh1PD1rmAgwbbwjEvTSDK_008BYWhjp_6ULy9BhWtRIytNkPkm9gzaBTrCpp-vyDXPGa836Htp-w8u5JmxoUZchJh576m3m-8ZYWTmZSAp5SpruyKAmLSxPJHEWPXQntnmuTMjb9HBT9Ltrwc0ZDk-jsMLYunDJrNmrRUxQgb0zQ_Tl5fJjj8j-0KVx2RXtbfWFvf5fRdBYyP3m0aUpoopQPwtXszD2LcSKMJ_TnmnvMWr8MOA5aRlBaGdBk7zBgRafvDPam3Q2AvFA9mfcAVncpfZ3JFm73VARw6MofXtRqOHtZ7y4oNbY95xXwU2r6w\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1547152254,\"updated\":1547152254,\"recoveryLevel\":\"Recoverable+Purgeable\"}}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//wrapkey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:54 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "790f3ae3-3a41-4399-b7c5-fc5143742d0d", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"N2xdpudZVn9jTmsvA-O6Zusr8p58JwmPuKQixEmhubB0D7AIA1w2boPakwAPheNpnWQFbFHR11dtqdM5Iv8fKWH9xL35ia1W6APEhFxfG_JZoPzpQVxz9GB-ioK7kxqlGs7HTu-Rz_ezAYHE-njotboXuJyzMifUJLcp9t82epFAfMzBzmW1sj4BzfalxsjLAl7EIxF51KLOHsmj9L1MkrfQb-IL_MPmAG2f0YDt9MYK8IM1b0nw41xVuD_KCSb_I-axMmi8g1FX31RsDPCu99CkETMb_0MfpBOXntdc0lMx-i2-A0DyU4UFhPvBJtPRIowhbx-gjd2_zAwr7GdR-g\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey//unwrapkey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:54 GMT", + "content-length" : "241", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b328daf4-468e-4b79-a862-1602f888517f", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423/wrapkey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:54 GMT", + "content-length" : "449", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "482b7e58-056d-49d0-8a39-209446a9ce4c", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"AtDbogK-Huhqhy2xkNna6gG6jy_wPulW65riWoiPzEHI_xSG702-aIZ2wYUDxq5_3kv24LzKMCr5CVqgnq6aO6DroQa1AM6r7nIkVYkJ2m9Qi1XjbThEBYKBUtSMpiKfk3N-1v4JcyERkMHvy8kG3lgKICG7XVqVvRR_9iLMPa9Yf_LU8w5y1G1wCBXVAb7ugEDaTQ--tZsCZjLoqnGs23BdYpWCNklWbyw7wD_m-nZ6obxAFeDHvAC6sYOaan5Fz8Mt4_90YEsbg7UyMM2m0dmnHefrFFwFvX8uDTLT83zTUsovuC71vBQSr17TASfb5ukWmq8JHRrnuTGOjaOljQ\"}" + } + }, { + "Method" : "POST", + "Uri" : "https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423/unwrapkey?api-version=7.0", + "Headers" : { + "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:9e17e79495730aacb146cd2196f12d68b3ba7dc2cad3e3f710ef4ea0fdba6280 Java:11.0.1 (KeyVaultClientBase, 7.0)", + "Content-Type" : "application/json; charset=utf-8" + }, + "Response" : { + "date" : "Thu, 10 Jan 2019 20:30:55 GMT", + "content-length" : "241", + "server" : "Microsoft-IIS/10.0", + "expires" : "-1", + "x-aspnet-version" : "4.0.30319", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "strict-transport-security" : "max-age=31536000;includeSubDomains", + "x-content-type-options" : "nosniff", + "x-powered-by" : "ASP.NET", + "content-type" : "application/json; charset=utf-8", + "x-ms-keyvault-network-info" : "addr=167.220.24.139;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region" : "westus2", + "cache-control" : "no-cache", + "x-ms-keyvault-service-version" : "1.1.0.859", + "x-ms-request-id" : "b2e41753-a125-4135-9eee-076caca061ef", + "Body" : "{\"kid\":\"https://azure-keyvault-3.vault.azure.net/keys/javaKey/b9e9e3a797d04d8285ddc294ef038423\",\"value\":\"G9GT23aoJ9lUS5WtxwlS9igODCiTObv_Z7U9HhTbk99t_24WdBcngS2ycvtJ7_VQ6ESEKt1QdoI8UMRwh2UOMalPrw1leEgbwgpOtCPjmzCk2fhuxCHyinA3x0iGnD2jyYaXiw\"}" + } + } ], + "variables" : [ ] } \ No newline at end of file diff --git a/kusto/resource-manager/v2018_09_07_preview/pom.xml b/kusto/resource-manager/v2018_09_07_preview/pom.xml index 458d04129e441..00f958e2c8744 100644 --- a/kusto/resource-manager/v2018_09_07_preview/pom.xml +++ b/kusto/resource-manager/v2018_09_07_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.kusto.v2018_09_07_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-kusto - 1.0.0-beta - jar - Microsoft Azure SDK for Kusto Management - This package contains Microsoft Kusto Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.kusto.v2018_09_07_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-kusto + 1.0.0-beta + jar + Microsoft Azure SDK for Kusto Management + This package contains Microsoft Kusto Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/labservices/resource-manager/v2018_10_15/pom.xml b/labservices/resource-manager/v2018_10_15/pom.xml index e7e837ae09cd6..3705f489a6f78 100644 --- a/labservices/resource-manager/v2018_10_15/pom.xml +++ b/labservices/resource-manager/v2018_10_15/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.labservices.v2018_10_15 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-labservices - 1.0.0-beta - jar - Microsoft Azure SDK for LabServices Management - This package contains Microsoft LabServices Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.labservices.v2018_10_15 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-labservices + 1.0.0-beta + jar + Microsoft Azure SDK for LabServices Management + This package contains Microsoft LabServices Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/logic/resource-manager/v2016_06_01/pom.xml b/logic/resource-manager/v2016_06_01/pom.xml index 6ec9910dca4e8..ec2398e10aff0 100644 --- a/logic/resource-manager/v2016_06_01/pom.xml +++ b/logic/resource-manager/v2016_06_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.logic.v2016_06_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-logic - 1.0.0-beta - jar - Microsoft Azure SDK for Logic Management - This package contains Microsoft Logic Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.logic.v2016_06_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-logic + 1.0.0-beta + jar + Microsoft Azure SDK for Logic Management + This package contains Microsoft Logic Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/mediaservices/resource-manager/v2015_10_01/pom.xml b/mediaservices/resource-manager/v2015_10_01/pom.xml index f17face0f2766..1fd3a380d5b5e 100644 --- a/mediaservices/resource-manager/v2015_10_01/pom.xml +++ b/mediaservices/resource-manager/v2015_10_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.mediaservices.v2015_10_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-media - 1.0.0-beta - jar - Microsoft Azure SDK for Media Management - This package contains Microsoft Media Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.mediaservices.v2015_10_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-media + 1.0.0-beta + jar + Microsoft Azure SDK for Media Management + This package contains Microsoft Media Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/network/resource-manager/v2017_10_01/pom.xml b/network/resource-manager/v2017_10_01/pom.xml index e31f1bf3cb066..524597607819f 100644 --- a/network/resource-manager/v2017_10_01/pom.xml +++ b/network/resource-manager/v2017_10_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.network.v2017_10_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-network - 1.0.0-beta - jar - Microsoft Azure SDK for Network Management - This package contains Microsoft Network Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.network.v2017_10_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-network + 1.0.0-beta + jar + Microsoft Azure SDK for Network Management + This package contains Microsoft Network Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/privatedns/resource-manager/v2018_09_01/pom.xml b/privatedns/resource-manager/v2018_09_01/pom.xml index 04416606fe026..f1d5cb1f889ba 100644 --- a/privatedns/resource-manager/v2018_09_01/pom.xml +++ b/privatedns/resource-manager/v2018_09_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.privatedns.v2018_09_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-privatedns - 1.0.0-beta - jar - Microsoft Azure SDK for Private DNS Management - This package contains Microsoft Private DNS Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.privatedns.v2018_09_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-privatedns + 1.0.0-beta + jar + Microsoft Azure SDK for Private DNS Management + This package contains Microsoft Private DNS Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/sql/resource-manager/v2014_04_01/pom.xml b/sql/resource-manager/v2014_04_01/pom.xml index 57c678140ea96..2e5725258d977 100644 --- a/sql/resource-manager/v2014_04_01/pom.xml +++ b/sql/resource-manager/v2014_04_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.sql.v2014_04_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-sql - 1.0.0-beta - jar - Microsoft Azure SDK for Sql Management - This package contains Microsoft Sql Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.sql.v2014_04_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-sql + 1.0.0-beta + jar + Microsoft Azure SDK for Sql Management + This package contains Microsoft Sql Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/sql/resource-manager/v2017_10_01_preview/pom.xml b/sql/resource-manager/v2017_10_01_preview/pom.xml index e383ff4edc3fb..9fdda84f95eba 100644 --- a/sql/resource-manager/v2017_10_01_preview/pom.xml +++ b/sql/resource-manager/v2017_10_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.sql.v2017_10_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-sql - 1.0.0-beta - jar - Microsoft Azure SDK for Sql Management - This package contains Microsoft Sql Management SDK. - https://github.com/Azure/azure-sdk-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.sql.v2017_10_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-sql + 1.0.0-beta + jar + Microsoft Azure SDK for Sql Management + This package contains Microsoft Sql Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/storage/resource-manager/v2016_01_01/pom.xml b/storage/resource-manager/v2016_01_01/pom.xml index 63be507088159..046e2874fc06b 100644 --- a/storage/resource-manager/v2016_01_01/pom.xml +++ b/storage/resource-manager/v2016_01_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.storage.v2016_01_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-storage - 1.0.0-beta - jar - Microsoft Azure SDK for Storage Management - This package contains Microsoft Storage Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.storage.v2016_01_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-storage + 1.0.0-beta + jar + Microsoft Azure SDK for Storage Management + This package contains Microsoft Storage Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/storage/resource-manager/v2017_10_01/pom.xml b/storage/resource-manager/v2017_10_01/pom.xml index f5ea94ad81997..873beda01c6f1 100644 --- a/storage/resource-manager/v2017_10_01/pom.xml +++ b/storage/resource-manager/v2017_10_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.storage.v2017_10_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-storage - 1.0.0-beta - jar - Microsoft Azure SDK for Storage Management - This package contains Microsoft Storage Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.storage.v2017_10_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-storage + 1.0.0-beta + jar + Microsoft Azure SDK for Storage Management + This package contains Microsoft Storage Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/storage/resource-manager/v2018_02_01/pom.xml b/storage/resource-manager/v2018_02_01/pom.xml index bc6ee60dc6ed4..880c3c2893038 100644 --- a/storage/resource-manager/v2018_02_01/pom.xml +++ b/storage/resource-manager/v2018_02_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.storage.v2018_02_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-storage - 1.0.0-beta - jar - Microsoft Azure SDK for Storage Management - This package contains Microsoft Storage Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.storage.v2018_02_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-storage + 1.0.0-beta + jar + Microsoft Azure SDK for Storage Management + This package contains Microsoft Storage Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/storage/resource-manager/v2018_03_01_preview/pom.xml b/storage/resource-manager/v2018_03_01_preview/pom.xml index 9b237fbf1ddfd..076435476d25f 100644 --- a/storage/resource-manager/v2018_03_01_preview/pom.xml +++ b/storage/resource-manager/v2018_03_01_preview/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.storage.v2018_03_01_preview - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-storage - 1.0.0-beta - jar - Microsoft Azure SDK for Storage Management - This package contains Microsoft Storage Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.storage.v2018_03_01_preview + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-storage + 1.0.0-beta + jar + Microsoft Azure SDK for Storage Management + This package contains Microsoft Storage Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/storage/resource-manager/v2018_07_01/pom.xml b/storage/resource-manager/v2018_07_01/pom.xml index 8bc6872c31548..64e8d44085b0f 100644 --- a/storage/resource-manager/v2018_07_01/pom.xml +++ b/storage/resource-manager/v2018_07_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.storage.v2018_07_01 - - com.microsoft.azure - azure-arm-parent - 1.0.0 - ../../../pom.xml - - azure-mgmt-storage - 1.0.0-beta - jar - Microsoft Azure SDK for Storage Management - This package contains Microsoft Storage Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.storage.v2018_07_01 + + com.microsoft.azure + azure-arm-parent + 1.0.0 + ../../../pom.xml + + azure-mgmt-storage + 1.0.0-beta + jar + Microsoft Azure SDK for Storage Management + This package contains Microsoft Storage Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+